Could you please tell me how to refine the little workflow?

Hello everyone. I am not a programmer, and just started to learn the n8n platform. I have a question. I have created an AI consultant who communicates with clients in TG. I would like to add one more option. If a customer wants to order a product, the AI agent will offer to enter his data (name address and phone number) and then this data will go to Airtable. I tried to build this scheme using chatGPT, but GPT is not really coping with this task. hint how I can finalize this workflow. It would be cool if you could explain what I need to do.
Thanks.


1 Like

Hi @Alex6,

Can you explain what the agent is doing, vs what is should be doing? Also, copy the workflow, and paste it into a code block here so we can check your nodes.

Best,

Robert

This is an AI assistant integrated with a product database, so it knows the full range of available items. It works through Telegram. I want the assistant to also collect order information (name, phone number, and address) from customers who want to make a purchase and automatically send this data to Airtable.

1 Like

Hi @Alex6,

I like to use an if statemetn and information extractor to extract the json at the end. Here’s a workflow.

I needed to translate to english so I could work on it, but you can translate back.

Best,

Robert

1 Like

Hi @rbreen Thank you very much, I checked your workflow, it works. I apologize for the translation problems inside workflow. Thanks again!!!

1 Like

@Alex6

Glad it worked for you! If you can, please mark the answer as the solution so others can benifit from it.

Thank you. You were very kind to share.

1 Like

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