Skip to main content
Best answer

Possible to change account depending on webhook data?

  • October 30, 2020
  • 4 replies
  • 108 views

Hello all,

I would like to know if it is possible to change the account parameter depending on the data contained in a catched webhook.
I’m explaining myself: I would like to be able to add an event to a specific google calendar account depending on the data I’m catching in my webhook.

Here is the sketch: 

As you can see I am first catching a hook and then I would like to dynamically change the “Choose Account” section depending on the webhook data… 

Is there a solution to my problem? 

Thank you all! 

Best answer by Troy Tessalone

NO, you cannot dynamically change a Zap app step Account.

YES, you can create separate Zaps and add a Filter step to ensure the desired Zap app step account is used.

 

Since you’re using a Webhook app as the trigger you’ll need to either adjust the setup of the app that’s sending the webhook to fire multiple webhooks.

Article: https://zapier.com/help/create/code-webhooks/trigger-zaps-from-webhooks#trigger-multiple-zaps-with-webhooks

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
  • Zapier Expert
  • 30959 replies
  • Answer
  • October 30, 2020

NO, you cannot dynamically change a Zap app step Account.

YES, you can create separate Zaps and add a Filter step to ensure the desired Zap app step account is used.

 

Since you’re using a Webhook app as the trigger you’ll need to either adjust the setup of the app that’s sending the webhook to fire multiple webhooks.

Article: https://zapier.com/help/create/code-webhooks/trigger-zaps-from-webhooks#trigger-multiple-zaps-with-webhooks


  • Author
  • Beginner
  • 2 replies
  • October 30, 2020
Troy Tessalone wrote:

NO, you cannot dynamically change a Zap app step Account.

YES, you can create separate Zaps and add a Filter step to ensure the desired Zap app step account is used.

 

Since you’re using a Webhook app as the trigger you’ll need to either adjust the setup of the app that’s sending the webhook to fire multiple webhooks.

Article: https://zapier.com/help/create/code-webhooks/trigger-zaps-from-webhooks#trigger-multiple-zaps-with-webhooks

Hi Troy thank you for your answer!


Since I have more than 70 accounts to handle and it tends to increase, it seems that this solution is not the good one… If I understand your answer I’ll have to create 70 different zap? Each one containing the good account.

Thank you


Troy Tessalone
Forum|alt.badge.img+14

[ADVANCED] You can look into leveraging the GCal API: https://developers.google.com/calendar/v3/reference


  • Author
  • Beginner
  • 2 replies
  • October 30, 2020

For those interested this may be great to read this:

Unfortunately, it's not possible to dynamically update the G Cal account that's connected to a Zap. That's hardcoded - you can only select one option. But, you can copy the Zap as many times as you want to connect other accounts, then use a Filter step so each Zap only continues along specific parameters: https://zapier.com/help/create/customize/add-conditions-to-zaps-with-filters