Help

Re: Trigger a Bubble Endpoint with a script

808 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Nicolas_d_Apri1
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello

Just to share. I use this code to trigger an endpoint in my Bubble app :
image

let config = input.config();
await fetch(config.webhook_url + "?param1=" + config.param1, {method: 'POST'});

image

Make sure you enabe the quesystring option and the endpoint is exposed as a public API Workflow :
image

2 Replies 2
Phil1
5 - Automation Enthusiast
5 - Automation Enthusiast

cool! thanks for sharing

Alex_Donega
5 - Automation Enthusiast
5 - Automation Enthusiast

@Nicolas_d_Apri1 

currently I use database airtable for my application made in Bubble.

Nicolas, what's your app's website? and what integration do you do in bubble and airtable?