Best answer

How to create/get Dynaminc Webhook for the zap template?

  • 20 August 2023
  • 13 replies
  • 108 views

Hi,

 

I want our clients to connect to our Zap template where we will post data to the webhook based on the client and follow will be triggered for them. I have following questions:

  1. How can I create different dynamic webhook based on the client when he create zap through our template?
  2. Suppose if there ability to create dynamic webhook is not there and Zapier itself creates the webhook URL then I think I can use the filter option to filter out the flow based on the client but here How we do we come to know what webhook URL is there for which client?
  3. In Point 2, As I said we can filter our the data based on the client, What if client removes the filter and can listen to any data that is coming via webhook?

 

icon

Best answer by Troy Tessalone 20 August 2023, 17:41

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.

13 replies

Userlevel 7
Badge +14

Hi @bhaskardabhi 

Good questions.

To clarify, you are building your own Zap app integrations on the Zapier Developer Platform?

If yes, then this topic should be moved to the Developer Zone section.

Hi @bhaskardabhi 

Good questions.

To clarify, you are building your own Zap app integrations on the Zapier Developer Platform?

If yes, then this topic should be moved to the Developer Zone section.

 

I am not building for our own app as Zap integration but we want to embed Zap / Zap template inside our product so that clients can create a zap through defined parameters so that we can trigger zaps through webhooks for our client. 

 

Let me know if in this case do i need to move the question to Developer zone section?

Userlevel 7
Badge +14

@bhaskardabhi 

Can you post screenshots about the template you are trying to use to give us more context?

Sure

 

  1. We want our clients to connect their Google drive with us so that we can create a google sheet in the client’s Google drive. We want to avoid the hustle to build entire Google authentication on our side and going through the all the verification process which Google may require for getting the Google drive permissions.
  2.  Whenever client will join our platform, We want to display him embedded Zapier template on clicking on it, Zapier will display user with all the prefilled data, client will only have to connect his google account.
  3. Zap will be like following:
    1. Trigger (Webhook): We will be posting S3 link of the CSV file which we want to add to the client’s Google drive. We will send POST request like following (JSON Payload)
      {"file": "{S3 URL of the CSV file}"}
      `
    2. Actions: We will connect this webhook to the Google drive’s `Upload File` action. We will map “file” property in the action so that file can be uploaded to the client’s drive

 

To Do all above, I have following questions:

  1. As per the documentation, whenever someone uses Zap template to create the zap, The zap will be stored in the user’s account and not the creator’s account. In our case, it will stored on Client’s account and not us. So do Client need to have the paid plan of the Zapier as Webhook is Premium feature?
  2. I am not able to find the good documentation about how to pass the data through embed link for the Zap Template. There is one documentation but it is asking for the `{your_app}`. In our case we don’t have any app but just want to embed Zap which has Webhook and Google drive as the part of the Zap. 
  3. As I said in Point 3.1, We will be sending the POST request to the webhook. How do we come to know that what are the clients’ webhook URL so that we can send the request as per the client?
  4. Is there a way that we can send the webhook URL (though that will be Zapier URL only with wildcard to specify the client id)? For example: https://hooks.zapier.com/hooks/catch/5084000/{client_ID}/

 

Let me know if you need more detail on anything mentioned here. 

Userlevel 7
Badge +14

@bhaskardabhi 

 

  1. As per the documentation, whenever someone uses Zap template to create the zap.
    The zap will be stored in the user’s account and not the creator’s account.
    In our case, it will stored on Client’s account and not us.
    So do Client need to have the paid plan of the Zapier as Webhook is Premium feature?
    1. Webhooks app is a Premium app which requires a Zapier paid plan.
      https://community.zapier.com/how-do-i-3/use-premium-apps-in-zaps-26601
  2. I am not able to find the good documentation about how to pass the data through embed link for the Zap Template.
    There is one documentation but it is asking for the `{your_app}`. In our case we don’t have any app but just want to embed Zap which has Webhook and Google drive as the part of the Zap. 
    1. Perhaps you should be used a Shared Zap:
      https://help.zapier.com/hc/en-us/articles/8496292155405-Share-a-copy-of-your-Zap
  3. As I said in Point 3.1, we will be sending the POST request to the webhook.
    How do we come to know that what are the clients’ webhook URL so that we can send the request as per the client?
    1. The client would have to share the Zap’s unique webhook URL with you.
      Each Zap using a Webhook Catch Hook trigger will have a unique webhook URL.
  4. Is there a way that we can send the webhook URL (though that will be Zapier URL only with wildcard to specify the client id)?
    For example: https://hooks.zapier.com/hooks/catch/5084000/{client_ID}/
    1. No.
      There are 2 IDs in a Zap Webhook URL:
      - Account ID
      - Webhook ID
      Together these relate to a Zap ID.

Also here are the screenshots of the Zap that I am trying to create

 

 

 

 

Also I created a Zap which I am able to share via link but not embed 

https://zapier.com/shared/bf19f8426938f41616ff659d6a8c907c688198ae

Userlevel 7
Badge +14

@bhaskardabhi 

To copy your Zap URL, click Copy icon copy icon.

  • To send your Zap URL in an email, click the email icon actionEmail icon
  • To send a direct or channel message, click the Slack icon.
  • Click the three dots icon navMoreHoriz icon to get options to share your Zap to Facebook, Twitter, and LinkedIn or HTML embed.

@bhaskardabhi

 

  1. As per the documentation, whenever someone uses Zap template to create the zap.
    The zap will be stored in the user’s account and not the creator’s account.
    In our case, it will stored on Client’s account and not us.
    So do Client need to have the paid plan of the Zapier as Webhook is Premium feature?
    1. Webhooks app is a Premium app which requires a Zapier paid plan.
      https://community.zapier.com/how-do-i-3/use-premium-apps-in-zaps-26601
  2. I am not able to find the good documentation about how to pass the data through embed link for the Zap Template.
    There is one documentation but it is asking for the `{your_app}`. In our case we don’t have any app but just want to embed Zap which has Webhook and Google drive as the part of the Zap. 
    1. Perhaps you should be used a Shared Zap:
      https://help.zapier.com/hc/en-us/articles/8496292155405-Share-a-copy-of-your-Zap
  3. As I said in Point 3.1, we will be sending the POST request to the webhook.
    How do we come to know that what are the clients’ webhook URL so that we can send the request as per the client?
    1. The client would have to share the Zap’s unique webhook URL with you.
      Each Zap using a Webhook Catch Hook trigger will have a unique webhook URL.
  4. Is there a way that we can send the webhook URL (though that will be Zapier URL only with wildcard to specify the client id)?
    For example: https://hooks.zapier.com/hooks/catch/5084000/{client_ID}/
    1. No.
      There are 2 IDs in a Zap Webhook URL:
      - Account ID
      - Webhook ID
      Together these relate to a Zap ID.

 

Thanks, that clarified a lot. Still I have some doubt:

1.1. So it means our client will have to purchase the Zapier paid plan right as the zap will be in their account correct?​​​​​​

2.1. Yes I created a Shared Zap but the experience is not good as it looks that client has to leave our app and goto some other app. Also suppose if we have to go through the shared Zap then does it provides a option to send a prefilled value for the triggers or actions? Like in case of my shared Zap https://zapier.com/shared/bf19f8426938f41616ff659d6a8c907c688198ae. If I can pass the URL of the RSS Feed (I used RSS feed just to see how shared zap works).

 

Thanks 

@bhaskardabhi

To copy your Zap URL, click Copy icon copy icon.

  • To send your Zap URL in an email, click the email icon actionEmail icon
  • To send a direct or channel message, click the Slack icon.
  • Click the three dots icon navMoreHoriz icon to get options to share your Zap to Facebook, Twitter, and LinkedIn or HTML embed.

 

Its doesn’t have HTML Embed option. Check this

 

 

Userlevel 7
Badge +14

@bhaskardabhi 

Then you’ll have to use one of the available options for sharing.

@bhaskardabhi

 

  1. As per the documentation, whenever someone uses Zap template to create the zap.
    The zap will be stored in the user’s account and not the creator’s account.
    In our case, it will stored on Client’s account and not us.
    So do Client need to have the paid plan of the Zapier as Webhook is Premium feature?
    1. Webhooks app is a Premium app which requires a Zapier paid plan.
      https://community.zapier.com/how-do-i-3/use-premium-apps-in-zaps-26601
  2. I am not able to find the good documentation about how to pass the data through embed link for the Zap Template.
    There is one documentation but it is asking for the `{your_app}`. In our case we don’t have any app but just want to embed Zap which has Webhook and Google drive as the part of the Zap. 
    1. Perhaps you should be used a Shared Zap:
      https://help.zapier.com/hc/en-us/articles/8496292155405-Share-a-copy-of-your-Zap
  3. As I said in Point 3.1, we will be sending the POST request to the webhook.
    How do we come to know that what are the clients’ webhook URL so that we can send the request as per the client?
    1. The client would have to share the Zap’s unique webhook URL with you.
      Each Zap using a Webhook Catch Hook trigger will have a unique webhook URL.
  4. Is there a way that we can send the webhook URL (though that will be Zapier URL only with wildcard to specify the client id)?
    For example: https://hooks.zapier.com/hooks/catch/5084000/{client_ID}/
    1. No.
      There are 2 IDs in a Zap Webhook URL:
      - Account ID
      - Webhook ID
      Together these relate to a Zap ID.

 

Thanks, that clarified a lot. Still I have some doubt:

1.1. So it means our client will have to purchase the Zapier paid plan right as the zap will be in their account correct?​​​​​​

2.1. Yes I created a Shared Zap but the experience is not good as it looks that client has to leave our app and goto some other app. Also suppose if we have to go through the shared Zap then does it provides a option to send a prefilled value for the triggers or actions? Like in case of my shared Zap https://zapier.com/shared/bf19f8426938f41616ff659d6a8c907c688198ae. If I can pass the URL of the RSS Feed (I used RSS feed just to see how shared zap works).

 

Thanks 

 

@Troy Tessalone Kindly let me know your thoughts about this :)

 

Thanks, that clarified a lot. Still I have some doubt:

1.1. So it means our client will have to purchase the Zapier paid plan right as the zap will be in their account correct?​​​​​​

2.1. Yes I created a Shared Zap but the experience is not good as it looks that client has to leave our app and goto some other app. Also suppose if we have to go through the shared Zap then does it provides a option to send a prefilled value for the triggers or actions? Like in case of my shared Zap https://zapier.com/shared/bf19f8426938f41616ff659d6a8c907c688198ae. If I can pass the URL of the RSS Feed (I used RSS feed just to see how shared zap works).

Userlevel 7
Badge +14

@bhaskardabhi 

A Zapier account that has a Zap with a Premium app will need a Zapier paid plan.

So, if you share a Zap with me that uses a Premium app, and that Zap is then created in my Zapier account, then my Zapier account would need to be on a paid plan in order to turn the Zap ON.

 

For example, this is what I see when a copy of the shared Zap is created in my Zapier account.

There Zap steps do not generate as preconfigured.

 

@Troy Tessalone Thanks a lot for the help. Really appreciate it.