How do I set context and followup event in one intent?
I am trying to jump to a random question with followup event, and at the same time store the question number in the context. But dialogflow only jumps to the event without storing the question number. Is there a way to do followup event and store a context in one intent? app.intent('Quiz - random', (conv) => { let rand = Math.floor(Math.random() * quiz_len) + 1; conv.data.current_qns = rand; conv.followup(`quiz-question${rand}`); }); Not really. The point of using conv.followup() is to make it as if the new Intent is the one that was actually triggered by the user. Remember - Intents represent