{"id":38859,"date":"2024-08-12T16:58:02","date_gmt":"2024-08-12T11:28:02","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=38859"},"modified":"2024-08-12T18:07:34","modified_gmt":"2024-08-12T12:37:34","slug":"use-parallel-branching-and-batching-to-accelerate-performance-in-power-automate-flow","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2024\/08\/use-parallel-branching-and-batching-to-accelerate-performance-in-power-automate-flow\/","title":{"rendered":"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow"},"content":{"rendered":"<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38860 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"2800\" height=\"1600\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow.png 2800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-300x171.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-1024x585.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-768x439.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-1536x878.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-2048x1170.png 2048w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-660x377.png 660w\" sizes=\"(max-width: 2800px) 100vw, 2800px\" \/><\/p>\n<p style=\"text-align: justify;\">During a recent project, we faced a challenging requirement from a client: they needed to upload an Excel sheet containing multiple Opportunity product records and have these added to CRM using Power Automate Flow. Initially, the process of transferring a large volume of records from Excel to CRM was time-consuming and adversely affected system performance.<\/p>\n<p style=\"text-align: justify;\">To mitigate this issue, we implemented a solution to divide the Excel data into several batches and process them concurrently. This optimization significantly reduced processing time and improved overall system efficiency.<\/p>\n<p style=\"text-align: justify;\">The Excel file we are working with includes columns for Product Number, Product Name, and Quantity, outlined below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-38883 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-1-e1723456767144.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"899\" height=\"584\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-1-e1723456767144.png 899w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-1-e1723456767144-300x195.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-1-e1723456767144-768x499.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-1-e1723456767144-660x429.png 660w\" sizes=\"(max-width: 899px) 100vw, 899px\" \/><\/p>\n<h2 style=\"text-align: justify;\"><strong>Step-by-Step Guide: Creating an Optimized Power Automate Flow in CRM<\/strong><\/h2>\n<ol style=\"text-align: justify;\">\n<li style=\"text-align: left;\">First, we created a File Type field on the Opportunity entity which takes the Excel file having Opportunity Product records. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-2.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone wp-image-38884 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-2.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow \" width=\"1904\" height=\"889\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-2.png 1904w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-2-300x140.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-2-1024x478.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-2-768x359.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-2-1536x717.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-2-660x308.png 660w\" sizes=\"(max-width: 1904px) 100vw, 1904px\" \/><\/a><\/li>\n<li style=\"text-align: left;\">We developed a Power Automate flow which triggers modification of the File type field. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-3.png\"><img decoding=\"async\" class=\"alignnone wp-image-38885 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-3.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow \" width=\"1486\" height=\"663\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-3.png 1486w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-3-300x134.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-3-1024x457.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-3-768x343.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-3-660x294.png 660w\" sizes=\"(max-width: 1486px) 100vw, 1486px\" \/><\/a><\/li>\n<li style=\"text-align: left;\">In the next step, we added a &#8220;Download a file or an image&#8221; step and selected the File Type field, which provides the necessary file content. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-4.png\"><img decoding=\"async\" class=\"alignnone wp-image-38886 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-4.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow \" width=\"845\" height=\"515\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-4.png 845w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-4-300x183.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-4-768x468.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-4-660x402.png 660w\" sizes=\"(max-width: 845px) 100vw, 845px\" \/><\/a><\/li>\n<li style=\"text-align: left;\">Then we created a compose action to convert the file content into the string using the expressions <strong>string(body(&#8216;Download_a_file_or_an_image&#8217;))<\/strong> <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-5.png\"><img decoding=\"async\" class=\"alignnone wp-image-38887 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-5.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow \" width=\"1581\" height=\"433\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-5.png 1581w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-5-300x82.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-5-1024x280.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-5-768x210.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-5-1536x421.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-5-660x181.png 660w\" sizes=\"(max-width: 1581px) 100vw, 1581px\" \/><\/a><\/li>\n<\/ol>\n<p style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 This will give output as string of excel data. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-6.png\"><img decoding=\"async\" class=\"alignnone wp-image-38888 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-6.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow \" width=\"1575\" height=\"787\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-6.png 1575w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-6-300x150.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-6-1024x512.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-6-768x384.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-6-1536x768.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-6-660x330.png 660w\" sizes=\"(max-width: 1575px) 100vw, 1575px\" \/><\/a><\/p>\n<ol style=\"text-align: justify;\" start=\"5\">\n<li style=\"text-align: left;\">Next, we created a compose Action with a line break to do this, simply press <strong>ENTER<\/strong>. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-7.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone wp-image-38889 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-7.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow \" width=\"1529\" height=\"388\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-7.png 1529w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-7-300x76.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-7-1024x260.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-7-768x195.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-7-660x167.png 660w\" sizes=\"(max-width: 1529px) 100vw, 1529px\" \/><\/a><\/li>\n<\/ol>\n<ol style=\"text-align: left;\" start=\"6\">\n<li>Next, we created a compose action to split each row of Excel by line break. For that, we used the expression <strong>split(outputs(&#8216;Compose_CSV_content&#8217;),outputs(&#8216;Compose_-_Line_Break&#8217;))<\/strong> <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-8.png\"><img decoding=\"async\" class=\"alignnone wp-image-38890 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-8.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow \" width=\"1558\" height=\"396\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-8.png 1558w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-8-300x76.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-8-1024x260.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-8-768x195.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-8-1536x390.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-8-660x168.png 660w\" sizes=\"(max-width: 1558px) 100vw, 1558px\" \/><\/a><\/li>\n<\/ol>\n<p style=\"text-align: left; padding-left: 40px;\">This will give us the array of rows. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-9.png\"><img decoding=\"async\" class=\"alignnone wp-image-38891 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-9.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow \" width=\"1375\" height=\"650\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-9.png 1375w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-9-300x142.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-9-1024x484.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-9-768x363.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-9-660x312.png 660w\" sizes=\"(max-width: 1375px) 100vw, 1375px\" \/><\/a><\/p>\n<ol style=\"text-align: justify;\" start=\"7\">\n<li style=\"text-align: left;\">Then we created compose Action in which we took out all the columns&#8217; headings using the expression <strong>split(first(outputs(&#8216;Compose_-_Split_Rows&#8217;)),&#8217;,&#8217;)<\/strong> <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-10.png\"><img decoding=\"async\" class=\"alignnone wp-image-38892 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-10.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1500\" height=\"372\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-10.png 1500w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-10-300x74.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-10-1024x254.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-10-768x190.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-10-660x164.png 660w\" sizes=\"(max-width: 1500px) 100vw, 1500px\" \/><\/a><\/li>\n<\/ol>\n<p style=\"padding-left: 40px;\">Below is the output from the above step: <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-11.png\"><img decoding=\"async\" class=\"alignnone wp-image-38893 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-11.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1415\" height=\"639\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-11.png 1415w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-11-300x135.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-11-1024x462.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-11-768x347.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-11-660x298.png 660w\" sizes=\"(max-width: 1415px) 100vw, 1415px\" \/><\/a><\/p>\n<ol style=\"text-align: justify;\" start=\"8\">\n<li>Now we created a Select action to create an array of objects containing each record of Excel data.<\/li>\n<\/ol>\n<p style=\"text-align: justify; padding-left: 40px;\"><strong>skip(outputs(&#8216;Compose_-_Split_Rows&#8217;),1):<\/strong> This expression skips the first row, which contains column headings.<br \/>\n<strong>outputs(&#8216;Compose_-_Column_Names&#8217;)?[0]:<\/strong> This retrieves the column heading at index 0; in our case, &#8220;<strong>Product Number<\/strong>&#8221; is at index 0.<br \/>\n<strong>outputs(&#8216;Compose_-_Column_Names&#8217;)?[1]:<\/strong> This retrieves the second column heading; in our case, &#8220;<strong>Product Name<\/strong>&#8220;.<br \/>\n<strong>trim(outputs(&#8216;Compose_-_Column_Names&#8217;)?[2]:<\/strong> This trims any extra spaces from the last column heading, which is &#8220;Quantity&#8221; in our case.<\/p>\n<p style=\"text-align: justify; padding-left: 40px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-12.png\"><img decoding=\"async\" class=\"alignnone wp-image-38894 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-12.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1465\" height=\"421\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-12.png 1465w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-12-300x86.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-12-1024x294.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-12-768x221.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-12-660x190.png 660w\" sizes=\"(max-width: 1465px) 100vw, 1465px\" \/><\/a><br \/>\n<strong>split(item(),&#8217;,&#8217;)?[0]:<\/strong> Retrieves the value of the first column.<br \/>\n<strong>split(item(),&#8217;,&#8217;)?[1]:<\/strong> Retrieves the value of the second column.<br \/>\n<strong>if(empty(split(item(),&#8217;,&#8217;)?[2]),null,trim(split(item(),&#8217;,&#8217;)?[2])):<\/strong> Checks if the value in the last column is blank; if so, it sets it to null; if not, it trims any extra spaces.<\/p>\n<p style=\"text-align: justify; padding-left: 40px;\">This step provides us with an array of objects, where each object represents a row value.<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-13.png\"><img decoding=\"async\" class=\"alignnone wp-image-38895 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-13.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1752\" height=\"887\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-13.png 1752w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-13-300x152.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-13-1024x518.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-13-768x389.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-13-1536x778.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-13-660x334.png 660w\" sizes=\"(max-width: 1752px) 100vw, 1752px\" \/><\/a><\/p>\n<ol style=\"text-align: justify;\" start=\"9\">\n<li style=\"text-align: left;\">Then we created a compose action to make batches of the array using the expression <strong>div(float(length(body(&#8216;Select&#8217;))),<span style=\"color: #ff0000;\">5<\/span>)<\/strong><\/li>\n<\/ol>\n<p style=\"padding-left: 40px; text-align: left;\">In this case, 5 batches are created, but you can adjust the number according to your needs. The expression calculates the batch size as a floating number based on the length of the array. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-14.png\"><img decoding=\"async\" class=\"alignnone wp-image-38896 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-14.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1437\" height=\"371\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-14.png 1437w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-14-300x77.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-14-1024x264.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-14-768x198.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-14-660x170.png 660w\" sizes=\"(max-width: 1437px) 100vw, 1437px\" \/><\/a><\/p>\n<ol style=\"text-align: justify;\" start=\"10\">\n<li style=\"text-align: left;\">Then we created a compose action to make the batch size an integer and round it down using the expression <strong>int(sub(outputs(&#8216;Batch_Size_in_float&#8217;), mod(outputs(&#8216;Batch_Size_in_float&#8217;),1))) <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-15.png\"><img decoding=\"async\" class=\"alignnone wp-image-38897 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-15.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1238\" height=\"446\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-15.png 1238w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-15-300x108.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-15-1024x369.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-15-768x277.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-15-660x238.png 660w\" sizes=\"(max-width: 1238px) 100vw, 1238px\" \/><\/a><\/strong><\/li>\n<\/ol>\n<p style=\"text-align: left; padding-left: 40px;\">This expression converts the batch size from a floating-point number to an integer by rounding down. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-16.png\"><img decoding=\"async\" class=\"alignnone wp-image-38898 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-16.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1382\" height=\"676\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-16.png 1382w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-16-300x147.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-16-1024x501.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-16-768x376.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-16-660x323.png 660w\" sizes=\"(max-width: 1382px) 100vw, 1382px\" \/><\/a><\/p>\n<ol style=\"text-align: left;\" start=\"11\">\n<li>Then we added a parallel branch and added a Compose action in each branch with one batch. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-17.png\"><img decoding=\"async\" class=\"alignnone wp-image-38899 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-17.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1751\" height=\"200\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-17.png 1751w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-17-300x34.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-17-1024x117.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-17-768x88.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-17-1536x175.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-17-660x75.png 660w\" sizes=\"(max-width: 1751px) 100vw, 1751px\" \/><\/a><\/li>\n<\/ol>\n<p style=\"text-align: left; padding-left: 40px;\">Every branch includes an equally divided array of objects using the expressions:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul style=\"text-align: left;\">\n<li>For 1st batch expression: <strong>take(body(&#8216;Select&#8217;),outputs(&#8216;Batch_Size_in_integer&#8217;))<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\">This expression takes the 1st batch.<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"text-align: left;\">For 2nd batch expression: <strong>take(skip(body(&#8216;Select&#8217;),mul(outputs(&#8216;Batch_Size_in_integer&#8217;),<span style=\"color: #ff0000;\">1<\/span>)),outputs(&#8216;Batch_Size_in_integer&#8217;))<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\">This expression skips the 1st batch and takes the 2nd batch.<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"text-align: left;\">For 3rd batch expression: <strong>take(skip(body(&#8216;Select&#8217;),mul(outputs(&#8216;Batch_Size_in_integer&#8217;),<span style=\"color: #ff0000;\">2<\/span>)),outputs(&#8216;Batch_Size_in_integer&#8217;))<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\">This expression takes the 3rd batch.<\/p>\n<p style=\"padding-left: 40px;\">So as per your requirement, you just need to increase the number highlighted in red in the expression to obtain subsequent batches. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-18.png\"><img decoding=\"async\" class=\"alignnone wp-image-38900 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-18.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1432\" height=\"339\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-18.png 1432w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-18-300x71.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-18-1024x242.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-18-768x182.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-18-660x156.png 660w\" sizes=\"(max-width: 1432px) 100vw, 1432px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">The output of each branch will be as follows:<a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-19.png\"><img decoding=\"async\" class=\"alignnone wp-image-38901 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-19.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1643\" height=\"628\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-19.png 1643w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-19-300x115.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-19-1024x391.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-19-768x294.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-19-1536x587.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-19-660x252.png 660w\" sizes=\"(max-width: 1643px) 100vw, 1643px\" \/><\/a><\/p>\n<ol style=\"text-align: justify;\" start=\"12\">\n<li>In the next step, we added an Apply to Each action in each branch which takes the output of the Compose action containing a single batch using expressions like <strong>outputs(&#8216;1st_batch&#8217;)<\/strong> for the 1st batch.<\/li>\n<li>In each Apply to Each action, we added a List Rows action which fetches the Product record and applies a filter on the <strong>Product Name<\/strong> and <strong>Product Number <\/strong>fields<\/li>\n<\/ol>\n<p style=\"text-align: justify; padding-left: 40px;\">For accessing column values:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul style=\"text-align: justify;\">\n<li>For Product Name: <strong>items(&#8216;iterating_1st_batch&#8217;)?[&#8216;Product Name&#8217;]<\/strong><\/li>\n<li>For Product Number: <strong>items(&#8216;iterating_1st_batch&#8217;)?[&#8216;Product Number&#8217;]<\/strong><\/li>\n<li>For Quantity: <strong>items(&#8216;iterating_1st_batch&#8217;)?[&#8216;Quantity&#8217;]<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px; text-align: left;\">These expressions allow you to retrieve specific column values from the iterated batch of data within each Apply to Each action. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-20.png\"><img decoding=\"async\" class=\"alignnone wp-image-38902 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-20.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1016\" height=\"681\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-20.png 1016w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-20-300x201.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-20-768x515.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-20-660x442.png 660w\" sizes=\"(max-width: 1016px) 100vw, 1016px\" \/><\/a><\/p>\n<ol style=\"text-align: justify;\" start=\"14\">\n<li>Next, we created an Apply to Each action on the Product List and added an &#8220;Add a row&#8221; action to create an Opportunity Order Product record, setting all the required fields to create an Opportunity Order Product record.<\/li>\n<\/ol>\n<p style=\"padding-left: 40px; text-align: left;\">This step involves iterating through the Product List and creating Opportunity Order Product records based on the filtered Product Name and Product Number, ensuring all necessary fields are properly configured for each record creation. <a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-21.png\"><img decoding=\"async\" class=\"alignnone wp-image-38903 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-21.png\" alt=\"Use Parallel Branching and Batching to Accelerate Performance in Power Automate Flow\" width=\"1351\" height=\"591\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-21.png 1351w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-21-300x131.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-21-1024x448.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-21-768x336.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Use-Parallel-Branching-and-Batching-to-Accelerate-Performance-in-Power-Automate-Flow-21-660x289.png 660w\" sizes=\"(max-width: 1351px) 100vw, 1351px\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\"><strong>Conclusion<\/strong>:<\/h2>\n<p style=\"text-align: justify;\">Implementing this batching functionality can effectively reduce the execution time of Power Automate Flow, thereby significantly enhancing performance.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/map-my-relationships-dynamics-365-crm\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone wp-image-34538 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/Map-My-Relationship.gif\" alt=\"Map My Relationship\" width=\"800\" height=\"200\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>During a recent project, we faced a challenging requirement from a client: they needed to upload an Excel sheet containing multiple Opportunity product records and have these added to CRM using Power Automate Flow. Initially, the process of transferring a large volume of records from Excel to CRM was time-consuming and adversely affected system performance.\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2024\/08\/use-parallel-branching-and-batching-to-accelerate-performance-in-power-automate-flow\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1985,2917],"tags":[],"class_list":["post-38859","post","type-post","status-publish","format-standard","hentry","category-power-automate","category-power-automate-flow"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/38859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=38859"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/38859\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=38859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=38859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=38859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}