Trying to build a chat workflow that gathers specific information

Please forive me all, I am very new to n8n and still trying to grasp the process.

I am trying to build a workflow where, via conversataional chat, the AI will gather 4 key pieces of information from me… Industry, JobRole, Location and NumberOfLeads.

I want to cater for a scenario where a user might provide all the information at once or if they don’t I want the AI, via conversation, to gather all the key data points. Once they have all been gathered, I want the AI

I am trying to build a workflow in the cloud hosted version of n8n.
In this case, when I would like to correspond with the AI Chat until I have the 4 key pieces of information. Once I have it, I would like the workflow to continue along the true path.

The problem is when I run this workflow, I just end up with an endless loop.

You have added ai agent node with the false result of switch node that means, your workflow will work only when the ‘switch’ node’s result is false.

You have to add another ai agent node with ‘switch’ node when the ‘switch’ node will return ‘true’ result.

Thanks Pomegai, that is correct… in this case when the user does not provide all the correct information, some of the input fields have null in them or are empty. As a result, when it gets to the if statement, IF any of the fields are null, go back to the agent. If they are all true, I will create a workflow that runs off the true branch… but right now, nothing I am doing is working.