Hello dev team,
Iām facing a blocking issue, and Iāve been stuck on it for two days now.
Context:
⢠A webhook trigger is fired whenever my autoresponder (Brevo) registers a new contact (this part works perfectly).
⢠After retrieving the contact details, especially the phone number, I initiate a WhatsApp conversation (this also works). However, after the āWhatsApp Start Conversation Card,ā the bot somehow restarts at the Start node, then moves to the next node and stops.
From the logs, I noticed that my variables in the User scope were empty at that moment. Additionally, the event.payload did not contain a conversationId or userId (unlike the webchat trigger, which I assume generates them automatically).
I figured I might need to generate a ConversationId and UserId myself.
If thatās the case, my questions are:
1. How can I generate them using the SDK ?
2. How can I use them to ensure the current conversation is properly associated with them?
I found a previous discussion on this topic, but itās still not very clear to meāsorry for that.