Your first workflow, but using an AI Agent node to request and store structured data from the user.
1
Drag an AI Agent node
From the All our AI Agents can end the interaction with a structured format that saves the information in memory. More details in the variables guide.
start node, drag a connection and choose the AI Agent node. In the instruction field paste:ai-agent.txt
2
Save the response
In the lower section of the node configuration, type
userData in the Save response as field. This will store the output JSON in memory under that key.3
Connect a text node
From the AI node’s output, connect a This text uses the
text node with the following content:texto.txt
userData memory variable to personalize the response with the data provided by the agent.4
Test it
In the upper-right corner, click Test. Interact with the flow from the tester or via WhatsApp to verify that the AI Agent requests the data and that the text node displays the stored information.
Make sure the AI Agent node saves the response as
userData so the text node can access the data.