The flow of my bot should be:
- if a new lead is added in the crm, sent a post req to bot's webhook with all necessary data to send a whatsapp template message with 2 buttons
- store important data in workflow variables and user variables
- send message successfully
- waiting for user choice
- if the user press the button on whatsapp's message an API call will be execute to store the choice into the crm, OR if the user start to ask something, the bot reply from KB.
at the last point I'm stuck because I lose all the variables. Somehow the variables desappear...
I think that is because I created two different triggers that create two different conversations, so the previous variables are not accessible....
I'm sure that I'm missing something, but I have no idea what
Can someone try to help me? thank you very much!