Webhhok / Trigger
# 🤝help
s
is it possible to create several webhook links for 1 chatbot? Because on my chatbot I send 5 different pieces of information that can't be sent at the same time, and when I use 5 triggers they bug each other. Do you have a solution? Some code?
Help @crooked-van-25152 @bumpy-butcher-41910
w
Hey there , I’m not really sure but you can try to have 5 webhook se trigger and set filters on it
That way you can choose which webhook trigger will receive what
s
I have the possibility to have only one webhook per chatbot. So every time I call the lein wehbook it goes off but I have 5 and the simple filters of event.payload.body.entreprise does not work too much data to recover
Do you want another possibility? @wooden-beard-40210
w
Hum ok
And what about putting an execute code card after your only webhook trigger and put the filters there with some JavaScript ?
s
no but I have 5 triggers, no only webhook trigger
I use make to link with other platforms and then it is sent via HTTP. Except that there is only one link and I have 5 totally different requests https://cdn.discordapp.com/attachments/1246241352799228066/1247285131492855888/image.png?ex=665f784c&is=665e26cc&hm=5b7eab7272217408e2aced24fb23f43f42457f683f03e0ce289581dc468fc58b&
w
Yes but the ones that pose a problem are webhook right ? Or maybe I miss something
Why your http module in make you can send completely different payloads to your webhook
s
yes this is the webhook, simply I would have several webhook links to communicate with the chatbot there would be no problem except that I have only 1 webhook link
How ?
w
in make you can customize the data you send
or you can create 5 http modules, with the same webhook link , this is not a problem
s
I found the solution of the blow, thank you @wooden-beard-40210
w
Nice !
could you share your solution ? I'm interested !
b
I am also interested!
2 Views