Botpress integration to make.com
# 🤝help
r
Mine may be too simplistic, but this works. const makeApiUrl = 'https://hook.us1.make.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' const payload = { fname: user.fname, lname: user.lname, email: user.email, phone: user.phone, interests: '' } await axios.post(makeApiUrl, payload)
c
thanks, so this would send information to the webhook?
r
Yes, it does.
c
thanks man i am really greatful thanks much
s
Hi Fritz, just tried this one and it doesn't seem to work for me, no information is arriving in Make. Can I shoot you a DM ?
h
Hi Criss, I think there might be a problem with your scenario. Your scenario is turned off and is not automatically accepting requests. This is what happens when you get execution errors. The code written above is working. I often use it to send requests to Back-End as well Check your webhook through some API Client (Postman, Insomnia, or web client https://reqbin.com/).
s
thanks for getting back to me, I am running the Webhook but no data seems to pass trough even though the webhook worked on the link you sent me

https://cdn.discordapp.com/attachments/1133766006460907560/1134095410563141672/image.png

h
Can you show me your Code in Botpress?
s
Sure, here you go

https://cdn.discordapp.com/attachments/1133766006460907560/1134418592084021319/Screenshot_2023-07-28_at_11.34.02.png

did this help you perhaps?