Skip to main content
Best answer

Halt Zap if Row is found.


Forum|alt.badge.img

I have a zap that sends an automated text if someone calls but does not leave a message.  Sort of a “Sorry we missed your call ...” message

Sometimes people call/hang-up/call again and I don’t want to be a pest by sending them the automated text each time.  

My thought was to create a google sheet w/ a log of the phone numbers that have been texted, then check that sheet and only continue if the number is not found.

So …
Trigger - Call received
Lookup Spreadsheet Row in Google Sheets
If Row exists - terminate

If Row does not exist
     Send Text
     Add Row to Spreadsheet with phone #

However, this doesn’t seem to work.   If the row doesn’t exist, it terminates.  Any thoughts on how to accomplish this?

Best answer by kenserBest answer by kenser

The problem was it was stopping execution totally if no row was found … so it wouldn’t have gone to the filter step.   

I figured out a work around.   

Trigger - Call received
Lookup Spreadsheet Row in Google Sheets
If Row does not exist - create it and set count (column) to 1
If Row exists - increment count

Filter If Count =1  Send Text
 

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.

3 replies

ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • July 1, 2020

@kenser Try adding a filter step right after the step that searches for a row in the spreadsheet. The filter step should check and let the zap continue running only if the spreadsheet step output doesn’t have a phone number.


Forum|alt.badge.img
  • Author
  • Beginner
  • 4 replies
  • Answer
  • July 1, 2020

The problem was it was stopping execution totally if no row was found … so it wouldn’t have gone to the filter step.   

I figured out a work around.   

Trigger - Call received
Lookup Spreadsheet Row in Google Sheets
If Row does not exist - create it and set count (column) to 1
If Row exists - increment count

Filter If Count =1  Send Text
 


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • 3731 replies
  • July 2, 2020

Thanks for sharing the workaround with us, @kenser!