Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

Library / Chatbots & Messaging Bots

Chatbots & Messaging Bots

Chat with an XML Feed Using OpenAI

When a chat message arrives or another workflow calls it, this fetches an XML feed, converts it to readable data and lets OpenAI answer questions about it.

What it does

## Chat with XML - 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.

The steps

  1. Execute Workflow Trigger
  2. OpenAI Chat Model
  3. Chat Trigger
  4. AI Agent
  5. HTTP Request
  6. XML
  7. Get XML
  8. Prepare output
  9. Set XML URL

Similar automations