The flow of my bot goes as such:
- The user will specify the type of documents that they want.
- The bot will retrieve the amount of documents first.
- The bot will then request the user a yes/no answer f they wish a link to the various documents.
- If the user specifies “yes”, the bot will sent the links.
Currently, I am able to save the state of the type of documents requested using setVariable for the session. However, I am not sure how to access the state for my function between 3 and 4.