Question

How can I prevent a Webhook opening a new tab?


I’m sending a Direct Message to a coworker via Slack with 4 different Zapier Webhooks, I then perform 4 different actions based on which webhook they click and the payload the transfer. However, when the coworker clicks the webhook URL, a new tab is open with a success JSON. How do I prevent this action? Or maybe customize the message?

 

Thank you!


4 replies

Userlevel 7
Badge +14

Hi @SantiagoV 

A link needs to go somewhere when clicked, which is why a browser tab opens.

There is no ability to control that behavior for a Zapier webhook URL.

Hi @SantiagoV 

A link needs to go somewhere when clicked, which is why a browser tab opens.

There is no ability to control that behavior for a Zapier webhook URL.

Can the new tab display a custom alert? Like a JS alert() or something like that?

Userlevel 7
Badge +14

@SantiagoV 

Currently, there is no ability to control the redirect of a webhook URL.

You would have to give the user to a link to a custom page that has JavaScript to fire the desired webhook url.

@SantiagoV

Currently, there is no ability to control the redirect of a webhook URL.

You would have to give the user to a link to a custom page that has JavaScript to fire the desired webhook url.

I understand
Thank you very much

Reply