Skip to main content
Best answer

How do I dynamically map the record ID and add Google Sheets updated row using custom value?


Good day, nice if you can help me.
1. I have a zap that I use to create a new record in a database when there is a new line in a Google Sheet.
2. If successful, this database returns a recordID.
3. Now I want to add that recordID to my Google Sheet.
4. How do I do that? I see in Zapier that the ID is returned and can be seen in History/Output of a zapier run. But how do I pick up that RecordID?

Thanks in advance for your help.

Best, Jan-Pieter

Best answer by christina.d

Hi there, @Jan-Pieter! Thanks for reaching out and welcome to the Community! 🎉

I wanted to add onto Troy’s recommendation since he’s right, you’ll need to add a Google Sheets “Update Row” action. That said, you should be able to dynamically map the recordID from the previous step using custom values!

Here’s a guide on how to set this up:

I hope this helps! Keep us posted if you have any questions!

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @Jan-Pieter 

Good question.

Try adding this Zap step: GSheet - Update Row


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • 2653 replies
  • Answer
  • June 16, 2022

Hi there, @Jan-Pieter! Thanks for reaching out and welcome to the Community! 🎉

I wanted to add onto Troy’s recommendation since he’s right, you’ll need to add a Google Sheets “Update Row” action. That said, you should be able to dynamically map the recordID from the previous step using custom values!

Here’s a guide on how to set this up:

I hope this helps! Keep us posted if you have any questions!


  • Author
  • Beginner
  • 1 reply
  • June 16, 2022

Thanks @Troy Tessalone and @christina.d, you both helped me do this. The trick is explained in a link in the article Cristina shared Round Robin setup. With this step you can retrieve and use the recordid from the previous step. 

 

In the next step (Step 5) you can update your google sheet by using the RowID of the google sheet in step 1.

I would not have made it out of here without your help. Super thanks.

 


jesse
Forum|alt.badge.img+9
  • Architect
  • 1348 replies
  • June 16, 2022

We’re so glad this helped, @Jan-Pieter! And thanks for coming back here to share the last bit of setup you did to get this working. 😊