๐ฌ Analyze and chat with XML files using GPT and LangChain
โก 1,077 views ยท ๐ฌ Document Extraction & Analysis
Description
This workflow allows interactive conversation with the content of an XML file using OpenAI and LangChain. It fetches an XML feed from a specified URL, parses the XML, and enables an AI agent to respond to user queries based on the XMLโs structure and data.
What It Does:
- Triggered via webhook or manual execution.
- Sets and fetches an external XML feed URL.
- Parses the XML into a readable format.
- Connects OpenAI GPT via LangChain for intelligent chat.
- AI agent answers questions like extracting nodes, attributes, or structure from the XML.
๐ Nodes Used
HTTP Request, Execute Workflow Trigger, AI Agent, OpenAI Chat Model, Call n8n Workflow Tool, Chat Trigger
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File