How to Connect Product Feeds to FlowHunt Using XML Files

How to Connect Product Feeds to FlowHunt Using XML Files

integration XML FlowHunt product feed

Introduction

Integrating XML product feeds into FlowHunt enables your AI agents to automatically access product information and answer customer questions about inventory, pricing, specifications, and availability. This guide shows you two simple methods to connect your product catalog to FlowHunt flows.

What Are XML Product Feeds?

XML product feeds are structured data files containing product information such as names, descriptions, prices, SKUs, categories, and availability. By connecting these feeds to FlowHunt, your AI agents can instantly search through thousands of products and provide accurate, real-time information to customers.

Prerequisites

Before starting, ensure you have:

  • An XML product feed file or URL
  • Access to FlowHunt’s Documents tab and Flow Editor
  • A FlowHunt flow where you want to add product search

Method 1: Upload XML File to Documents

This method is ideal when you have an XML file to upload directly into FlowHunt.

Step 1: Navigate to Documents

Go to the Documents tab in FlowHunt and click Add Document.

FlowHunt Documents tab with Add Document button

Step 2: Upload Your XML File

Create or choose a category, then drag and drop your XML file into the upload box.

XML file upload interface with drag and drop area

Step 3: Add XML Document Search Tool

Go to the Flow Editor, open your flow, and drag the XML Document Search tool onto your canvas. Connect it to your AI agent.

Step 4: Configure XML Document ID

Click on the XML Document Search component, go to Advanced Settings, and select your uploaded XML file from the XML Document ID dropdown.

XML Document Search advanced settings showing XML Document ID dropdown

Method 2: Connect via URL

This method works when your XML feed is hosted online and accessible via URL.

Step 1: Add XML Document Search Tool

In the Flow Editor, drag the XML Document Search tool onto your flow canvas.

Step 2: Enter XML File URL

Click the component, scroll to Advanced Settings, and paste your XML feed URL into the XML File URL field.

XML File URL field in advanced settings

Step 3: Connect to AI Agent

Connect the XML Document Search tool to your AI agent component to enable product queries.

Choosing Your Method

Upload Method (Method 1):

  • Product feed doesn’t change frequently
  • XML feed isn’t publicly accessible
  • You want full control over which version is used

URL Method (Method 2):

  • Product catalog updates automatically
  • You want real-time access to current data
  • Your platform provides a public XML feed URL

Testing Your Integration

After setup, test your flow by asking product-related questions:

  • “What’s the price of SKU 12345?”
  • “Show me products in the electronics category”
  • “Is product XYZ available?”

Verify that your AI agent retrieves accurate information from the XML feed.

Best Practices

  • Keep feeds updated: Re-upload files when your catalog changes, or ensure your URL stays accessible
  • Validate XML structure: Ensure your feed contains all necessary product fields
  • Test after changes: Run tests whenever you update your feed or modify your flow
  • Use clear data: Include customer-friendly descriptions in your XML feed

By following these steps, you can successfully integrate XML product feeds into FlowHunt and empower your AI agents with comprehensive product knowledge.

Frequently asked questions

What file format is required for product feed integration in FlowHunt?

FlowHunt supports XML file format for product feed integration. You can upload XML files directly through the Documents tab or connect to XML feeds via URL.

Can I use a URL-based XML feed instead of uploading a file?

Yes, if your XML product feed is accessible via URL, you can integrate it directly by adding the XML Document Search tool to your flow and entering the URL in the XML File URL field in the advanced settings.

How do I connect an uploaded XML file to my AI agent?

After uploading your XML file to the Documents tab, add the XML Document Search tool to your flow editor, attach it to your AI agent, and select the uploaded document from the XML Document ID dropdown in the component's advanced settings.

Which method should I use: file upload or URL?

Use file upload if your catalog changes infrequently or isn't publicly accessible. Use URL method if your product feed updates automatically and you want FlowHunt to always access the most current information.