Skip to main content

Adding a variable without using a go-to

Comments

2 comments

  • Official comment
    Joachim Jonkers

    Hi Ivan,

    Could you review this tutorial? I think it might resolve your use case. https://docs.chatlayer.ai/tips-and-best-practices/not-understood-bot-dialog/go-to-previous-bot-dialog

  • Yanick van Altena

    I second this, the previous dialogstate is not always the most logical choice. For example, when asking a user's address there are multiple parts of the address to figure out. It could be better to send the user to the beginning of the address flow than to the previous part. The previous dialogstate would send them back to something like their housenumber, while they want to change their streetname.

    But this is also effective for different reasons.

    • Being able to add or update variables within a bot message without a go to makes it much easier to set things up for later go to's. 
    • It opens the way for more dynamic content through variables.
    • It allows adding custom variables for better data storage outside of Chatlayer.
    1

Please sign in to leave a comment.