https://discord.gg/botpress logo
Webhook Trigger
# 🤝help
m
Hello! Basically I want to sent a payload to my webhook in botpress, every time a new event is recieved the bot starts the flow. I cant seem to set it up correctly, I recieve the information but i can only make it work when I use the test funcionality
l
In Botpress, every user interaction is mapped to a userId and conversationId if the bot needs to talk back to you as a user, you need to pass the conversationId to the bot when the conversation is started by the webhook and not by you. Note you cannot randomly create a conversationId, it will be generated by Botpress, you need to store it mapped for each user To achieve the desired result, you must pass the conversationId along with the payload and attach it to the event.conversationID upon receipt.
m
From where I can get those variables?
all ready solved
thanks man