Mar 15, 2023 10:37 AM
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?
Mar 15, 2023 12:58 PM
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.
Mar 20, 2023 08:06 AM
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?