Help with redirecting the user.
# 🤝help
b
Context - A node has a multiple choice option where each choice will redirect the user to a different node. Task - I want to redirect the user to a particular node if the user sends a text message rather than clicking on an option. How do I do it?
f
Hello Sarthak you could set the node to transition based on the channel. This handled in the event.channel variable. Here is a screen shot of what this transition would look like, assuming you are using twilio for your SMS integration.

https://cdn.discordapp.com/attachments/1138180297846956052/1138201449768173629/image.png

You can find the channel name in the JSON option of the bottom panel

https://cdn.discordapp.com/attachments/1138180297846956052/1138201882679062578/image.png

Sorry I just reread this and feel dumb
You can add an transition that recognizes the event payload type is text
Here is a screen shot of wha that looks like.

https://cdn.discordapp.com/attachments/1138180297846956052/1138209741026361405/image.png

https://cdn.discordapp.com/attachments/1138180297846956052/1138209812501512292/image.png

i would also recommend setting the retries to 0 on the Single Choice Skill so it does not try to re-prompt.

https://cdn.discordapp.com/attachments/1138180297846956052/1138210112251625552/image.png

b
Thank you so much, Sara. It really helped a lot.
f
You are most welcome. Glad I could help.
6 Views