Best answer

How to run zap only once for a new unique Stripe user?

  • 10 March 2023
  • 1 reply
  • 208 views

Userlevel 1

Hi Zapier Community!

Whenever a new user signs up on our website and picks a number of seats in the subscription, it triggers Stripe to create a payment for that number of seats. Not all payments are completed, therefore I want to set an automatic email-reminder to the user that didn’t complete the payment in 24 hours (or when the created payment is set to “Expired” by Stripe).

Is there a script or anything that would use user’s email as a unique identifier and run Zap only once?

Previously I tried running Zap only once based on the Invoice Prefix ending number. Filter would look for “-0001” at the end of the invoice number and the actions would run only once. However, the “Updated Subscription in Stripe” Trigger doesn’t have that line.

Any other ideas would be helpful! :)

icon

Best answer by SamB 13 March 2023, 11:37

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +11

Hey @Ilya Lukach! 👋
 
You could potentially use a spreadsheet app, like Google Sheets for example, to hold a list of the users that have been sent an email reminder. Then you would add a Lookup Spreadsheet Row (Google Sheets) action to the Zap to search the list. That action has the ability to create a new row if no match is found. So it could search for the user’s email address to see if they’ve already been sent the email reminder, and if it doesn’t find them, then add them to the spreadsheet. The Filter action would check that the _zap_search_was_found_status field from the Lookup Spreadsheet Row action is False - as that would indicate that it’s the first time the Zap is sending the email reminder. And then send out the email reminder.

Do you think that approach could work for you?