Skip to main content
Best answer

What lookup value should be used when searching for existing rows in Google Sheets?


Im making a service where you need a licencse key. I have put all of them in a column called “Keys”. Every time someone fills out the google form it should email them a key. But when I setup the Lookup Spreadsheet row i dont know what to put for lookup value?

 

PS: Im new to Zapier lol

Best answer by Troy TessaloneBest answer by Troy Tessalone

Hi @JCooks 

Try this…

Add another column to the GSheet with a head titled “Assigned”.

For all the unassigned Keys, set their “Assigned” column value to ‘NO’.

For all the assigned Keys, set their “Assigned” column value to ‘YES’.

In the Zap, set the GSheets Lookup Row lookup value to NO.

Then add another action step in the Zap for GSheets Update Row, that will update the Row found in the GSheets Lookup Row step to update the value from ‘NO’ to ‘YES’.

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.

2 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30941 replies
  • Answer
  • May 15, 2021

Hi @JCooks 

Try this…

Add another column to the GSheet with a head titled “Assigned”.

For all the unassigned Keys, set their “Assigned” column value to ‘NO’.

For all the assigned Keys, set their “Assigned” column value to ‘YES’.

In the Zap, set the GSheets Lookup Row lookup value to NO.

Then add another action step in the Zap for GSheets Update Row, that will update the Row found in the GSheets Lookup Row step to update the value from ‘NO’ to ‘YES’.


Paolo
Forum|alt.badge.img+5
  • Zapier Staff
  • 98 replies
  • July 7, 2021

Hi @JCooks , were you able to implement the suggested new column for the licencse key Zap? Let us know if that worked for you!


Also, the following Community posts may help with this as well:

https://community.zapier.com/featured-articles-65/sending-unique-coupon-codes-to-your-customers-7358https://community.zapier.com/general-questions-3/send-new-members-a-coupon-code-9598https://community.zapier.com/general-questions-3/send-unique-discount-code-from-list-3561

Have a look and if you do have questions, don’t hesitate to reply back!