Skip to main content
Question

How can I prevent a Webhook opening a new tab?

  • May 3, 2024
  • 4 replies
  • 129 views

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!

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
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • May 3, 2024

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.


  • Author
  • New
  • May 3, 2024

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?


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • May 3, 2024

@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.


  • Author
  • New
  • May 3, 2024

@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