Hello, does anyone know how is context switching i...
# đź’»developers
g
Hello, does anyone know how is context switching in botpress? For example, let's say I have a conversation with a bot in a bank domain with 2 flows: * Withdraw money * Get balance Then the conversations could be as follows: [1]Human: Hi, I want to withdraw 100€ from my bank account [2]Bot: Sure! Should you make the withdrawal from your current account or your credit one? [3]Human: How much money do I have in my current account? [4]Bot: In your current account you have 400€. [5]Bot: Should you make the withdrawal from your current account or your credit one? [6]Human: From my current account please. ... So in that example [1] triggers the "withdraw money" flow and the bot starts collecting data. But in [3] the user triggers the "get balance" flow (switches context) and the bot should be able to answer to the new request without losing track of the previous requests which is taken back in [5]. Could something like that be implemented using botpress? if so, how would it be done?