Hi everyone,
I’m building a workflow where I want to start with a chatbot trigger. The bot should then ask me some follow-up questions (around 4–5). Once those questions are answered, I want to pass the responses to the next node, preferably in a structured format (like JSON), and continue from there. How can I achieve this?
Currently, I’ve set up an AI Agent and instructed it in the system prompt to ask these follow-up questions, which it does in the chatbox. However, I’m not sure how to move to the next node with the structured answers.
I’m also wondering if using loops is a good idea. For example, if I set 4 iterations, but the user doesn’t fully answer the second question, the bot should ask for clarification before moving on. Ideally, the transition should only happen once all questions have been answered completely.
I’d appreciate your suggestions!
Thanks.