Showing results for 
Search instead for 
Did you mean: 
New Member

Parse Array to Google Sheets Rows with Flow


I have gotten stuck on a flow and need some assistance. What I would like my flow to do is:

  1. Watch my inbox for an email from a specific vendor (so far so good)
  2. Download the .pdf attachment (the invoice) to Dropbox (so far so good)
  3. Send the invoice to an AI Builder model to extract the clients (a comma separated list on the invoice, not ideal) and the price I pay per clients (so far so good)
  4. Parse the client list to a Google Sheet with columns for: Client, Price and PowerApps ID (necessitated by Flow)

Here is what my Flow currently looks like:






The function in the Compose step is:



The output I receive from the flow is the entire array of clients pasted into cell A2 of the Google Sheet. For example:



What I am trying to get is something like this:



I've been searching the board for several hours and can't seem to find a solution that works. Any assistance would be greatly appreciated.

Power Apps
Power Apps

Hi @ChrisHervochon,


Thanks for posting this question.


The split function creates a list with the clients in it, you will need to iterate the list to insert them one by one in your Google sheet by using an Apply to each action like this:



I hope this helps!

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (5,979)