Help

Re: Button Field Issues With Scripting and Open URL

1740 0
cancel
Showing results for 
Search instead for 
Did you mean: 
vinipux
5 - Automation Enthusiast
5 - Automation Enthusiast

All I'm trying to do is pass on a webhook to make upon clicking a button on an embedded view on my website.

Here's what I tried;

1) Button: Open URL - passed on the webhook to make without issue. BUT it opens a new tab, which I'm trying to avoid.

2) Button: Script - ran a script and passed on the webhook without issue. BUT the script button does not work on an embed view on a website. 

Could someone help with a solution?

2 Replies 2

If you want users to be able to call the Make webhook from an embedded shared view, you are limited o the open URL button. However, you can have Make return a pretty looking webpage instead of the blank "accepted" if you like. The user will still have to deal with the new tab, but if you give them something pretty to look at, they may be more forgiving. Use the "Webhook response" module, and code the html for the page you want displayed.

vinipux
5 - Automation Enthusiast
5 - Automation Enthusiast

Thank you, that's definitely a solution but I need to supress that new tab from opening or close as soon as it opens. Would I be able to force the close of that tab with a webhook response?