web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Basics - Get Row from ...
Power Automate
Answered

Basics - Get Row from Google Sheet

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I believe I need what "Get a Row" for Excel has but I want it in "Get a Row" for Google Sheets.

 

I have a table of clients in a google sheet.  It has ClientID, ClientEmail and lots of other columns.

In my flow I have ClientID from elsewhere.  I just want to look up the ClientEmail.

 

"Get a Row" for google sheets has:  File, Worksheet, and Row id.   It seems that the Row id is the actual row number of the sheet.  Yet the "Get a Row" step for Excel has the ability to give it a Key Column and Key Value.   Why doesn't the Google Sheets "Get a Row" have those?

 

How else can I get fields (columns) from a google sheet?  If the answer is to pull the whole table in with "Get Rows", please point me to some instructions on how to do that in a way where I can access my ClientEmail using my ClientID.

 

Thanks very much.

Categories:
I have the same question (0)
  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    The Row id field accept the unique identifier of the Google Sheet row, it is a string of code like "ab0d8f70f096482aace272794c61089f,2".

    Screenshot 2020-10-30 164338.jpg

     

    If you want to filter out rows with specified ClientID in ClientEmail column, you could use Get Rows + Filter array to find these rows, for example:Screenshot 2020-10-30 165146.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks @v-litu-msft ,

    This is progress however I don't know how to retrieve the client email.  The Dynamic Content doesn't show the fields in the google sheet table.  Here is my sheets table and my flow and the dynamic content.  Can you help?  Thank you!

     

    Paul_Iowa_0-1604153156913.png

    Paul_Iowa_1-1604153213348.png

    Paul_Iowa_2-1604153308546.png

    Here are the Dynamic contents available from the body of the "Email NewFormat Notice" step

    Paul_Iowa_3-1604153452740.png

    Paul_Iowa_4-1604153495529.png

    Paul_Iowa_5-1604153551907.png

    Paul_Iowa_7-1604153618156.png

     

     

     

     

     

     

  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    You could try to use an expression to extract the Email address:

    item()?['Email_x0020_Address']

     Screenshot 2020-11-02 170301.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Solved!  WELL, MAYBE NOT.  SEE BELOW.  IT STOPPED WORKING.

     

    Thanks for your help @v-litu-msft.  I figured out my problem.  Row 1 in my sheet was hidden and served other purposes.   The "Get Row" and "Get Rows" for google sheets requires the 1st row to be the headers (column names).  Once I corrected that the steps worked as expected and I could nicely see the field (column) names.

     

    Paul_Iowa_0-1604341606097.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This is getting very frustrating.  Sorry folks.  This solution no longer works for me.

    Now when I try to use "Get Rows" or "Get Row" on a google sheet the column names no longer show.  Even if I don't have any hidden rows and the header row is row #1.

     

    Can anyone please explain how I can accomplish the simple simple (seemingly simple) task of pulling a row from a google sheet matching a criteria?    All I am trying to do is get a Client's email from my client profile table when given the client ID.   This shouldn't be so difficult.  Sorry I'm frustrated.   In excel and google sheets this simple function is vlookup().  How do I do that in power automate?

     

    The "Get Rows" and "Get Row" steps do not allow me to filter by columns in my table.  WHY NOT?

     

    Thanks.  

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 411

#3
David_MA Profile Picture

David_MA 337 Super User 2026 Season 1

Last 30 days Overall leaderboard