# Silly qn re a rule to fire a zap

**URL:** <https://community.auth0.com/t/silly-qn-re-a-rule-to-fire-a-zap/88279>\
**Category:** Get Help\
**Tags:** rules, javascript\
**Created:** [August 5, 2022, 8:47pm UTC](https://community.auth0.com/t/silly-qn-re-a-rule-to-fire-a-zap/88279 "2022-08-05T20:47:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![colm](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/colm/32/38952_2.png) [@colm](https://community.auth0.com/u/colm)\
**Post date:** [August 5, 2022, 8:47pm UTC](https://community.auth0.com/t/silly-qn-re-a-rule-to-fire-a-zap/88279/1 "2022-08-05T20:47:00Z")

</div>

I’m implementing this: [Auth0 Actions](https://auth0.com/rules/zapier-new-login)

WIthin it is the below snippet:

request.post({  
url : configuration.ZAP\_HOOK\_URL,  
json: payload\_to\_zap

How exactly should the url look if I replace ZAP\_HOOK\_URL??

If I just drop in the zap webhook URL it throws syntactical errors. Thanks.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 26, 2022, 8:41pm UTC](https://community.auth0.com/t/silly-qn-re-a-rule-to-fire-a-zap/88279/3 "2022-08-26T20:41:20Z")

</div>

Hey @colm,

Apologies for the delayed response, and welcome to the Auth0 Community!

I would expect the Zapier webhook URL to look something like the Custom Webhook URL shown in [this blog post](https://zapier.com/blog/what-are-webhooks/#:~:text=whatever%20you%20want.-,Use%20webhooks%20in%20any%20app%20with%20Zapier,-Many%20apps%20on).  
(i.e. `https://hooks.zapier.com/hooks/catch/...`)

If that doesn’t help, can you please share the error you are seeing? You can also DM me the exact URL/snippet and I can see if there are any obvious issues.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 30, 2022, 11:06pm UTC](https://community.auth0.com/t/silly-qn-re-a-rule-to-fire-a-zap/88279/4 "2022-09-30T23:06:28Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
