How to map chatiput to variables?

HI there ,
Does anyone know about a tutorial or guide on how to map chatinput to variables so i can add the various of questions my chatbot asks the user to the correct table fields in nocodb or airtable.

I tried the new Ai feature to auto map but that did not work as expected and i got a lot of duplicate rows with all the information instead of each piece of the information added to the correct fields.

Ill tell a bit more on how i have set everything up to try to get a better explanation of the problem and i am a new user so i guess i’m doing it wrong.

I have added the instructions in the Ai agent to ask the user a series of questions.

1.Name
2.Age
3.Gender
4.Height
5.Weight

So the question is, are there a way to add each answers to a variable so i can later map the variable _name to Name and so on in the nocodb table?

Or do i need to do this in another way?

How would you handle this if your Ai agent ask the users a series of questions and you would need to get each answer in the correct column in the table?

Could you please provide the scenario JSON into the backticks when clicking the ‘</>’ on the forums to see your current logic?

One way this is done is we would take the entire chat instance from history/memory, if chat has end condition, pipe it to another workflow or have a conditional to check end condition. Then you’d pass the chat history into an AI step to ask it to format it into a specific json structure, and map those to usable values in the workflow.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.