Best answer

How to repeat an action dependant on a variable from the data

  • 1 September 2020
  • 3 replies
  • 171 views

Userlevel 1

Hi,

I am linking WooCommerce with Salesforce

I want to add a number of opportunities to Salesforce dependant on the variable that comes in from the data.

e.g. if the variable = 3, so I want to create 3 opportunities in Salesforce

Looking forward to some help.

Thank you,

 

icon

Best answer by AndrewJDavison_Luhhu 27 October 2020, 12:46

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.

3 replies

Userlevel 7
Badge +14

Option 1: If you know there is a MAX number for that variable then you could setup the Zap to have filter steps to only continue on if the variable value number is greater than the filter. (e.g. IF 1, THEN continue; IF 2, THEN continue, and so on)

Option 2: ADVANCED - Create a looping Zap which involves Webhooks, filters, and custom Code.

Userlevel 1

For option 2, how do I create a looping Zap?

Thank you!

Userlevel 7
Badge +10

Hi @NewChabu 

Not sure if you ever got this resolved. But I wrote a guide to looping zaps you might find useful.