https://discord.gg/botpress logo
Send user to specify block
# 🤝help
c
i'm trying to send a proactivy message, and its worked successful, but i want to know to how to redirect the user for the specify block, i tryed do a connection, but that dont work: (is like the user has starting a new conversation) https://cdn.discordapp.com/attachments/1379242478418526269/1379242478565195877/image.png?ex=683f8727&is=683e35a7&hm=1c8e703c05891f079b6e45d34952ad055ada5730e45c2513402453693cf21d3c&
l
your start conversation card is working because you are sending a template message based on a trigger - this is not a workflow. However, when the user replies, that flow will always come via Main -> Start. It is not working since you are expecting the flow to resume from where you sent the Start Conversation Card, but that wont work
c
so it's not possible to send a message to the user and place it at a specific point in the flow?
l
Technically everything is possible. So you connect the Start to M_0_3...
c
rephrasing my question: if the user is at a different point in the flow and I want to send them a whatsapp template and move them from the flow they're currently in, is that possible?
l
If a user is at a different flow and you send WhatsApp template (via trigger) it will not move them from the flow, unless you have set the users specific conversationId for the trigger
c
are you talking about having a validation at the beginning of the conversation with the bot so that I can move the user? I'm not sure I understand correctly... do you have any docs or tutorials?
l
No, i do not have a tutorial or doc However, to explain - when a conversation is initiated via a trigger, you can make the flow connect anywhere you want, however to continue the conversation, the workflow needs to know the conversationId, so in the payload that you sending via the trigger should have the conversationId and you have to set that conversationId to event.conversationId Let's say your user was in conversation with the bot and it was moving from Start to Standard1 to Standard2 and was about to move to Standard3 when you sent in the trigger. At the trigger you set the conversationId of the same conversation that the user was having. From the trigger if you connect to Standard10, the flow will move to standard10 instead of Standard3 https://cdn.discordapp.com/attachments/1379242478418526269/1379480722376626357/image.png?ex=68406509&is=683f1389&hm=9236a081d6c67d7f4b6553b23a317d486921b7c419745889757ef65d08594b65&
5 Views