---
title: "XML · WitCloud Docs"
description: "Import the items of an XML feed or file, available under a URL, into Google BigQuery with WitCloud - one row per item, refreshed on a schedule."
canonical_url: "https://witcloud.ai/docs/integrations/xml"
meta:
  "og:description": "Import the items of an XML feed or file, available under a URL, into Google BigQuery with WitCloud - one row per item, refreshed on a schedule."
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "XML · WitCloud Docs"
---

> Index of every page on this site: [llms.txt](https://witcloud.ai/llms.txt)

# Integration of XML with BigQuery

Import the items of an XML feed or file, available under a URL, into Google BigQuery with WitCloud - one row per item, refreshed on a schedule.

Updated 8 Oct 2026

## Introduction

This module reads an XML feed or file that is available under a web address and stores its items in **Google Cloud BigQuery**. Use it for product feeds and other XML sources that have no dedicated connector, so you can analyze them next to the rest of your data in WitCloud.

Every repeating element of the file (for example every `<item>` or `<product>`) becomes one row, and the whole element is saved as JSON in a single column. The columns are not fixed - what is inside the JSON depends on your file.

## Configuration guide

Follow the steps below to connect XML with BigQuery. Once the setup is complete, the content of your file will be transferred to your BigQuery project.

The file must be reachable from the internet under a URL. If it is protected with a username and password (basic authentication), you can enter them in the advanced settings.

### Module setup

Go to **Integrations** in the menu and click **Add integration**.

![Integrations list with the Add integration button](https://api.witcloud.ai/api/docs/assets/c8b72213ef23354505be3b578545e618.png)

Select **Xml** from the list of available integrations.

![Integration catalog filtered to Xml](https://api.witcloud.ai/api/docs/assets/c4a13b5acfd0f6221d802c9159944f78.png)

Enter the **Collect name**, e.g. "XML Feed PL".

![Collect name field filled in with the example name XML Feed PL](https://api.witcloud.ai/api/docs/assets/fd4e1d8cfb512c6a0e70fed61d044147.png)

Enter the **Url** of your XML file.

![Url field filled in with the example address https://demo-feed.example/products.xml](https://api.witcloud.ai/api/docs/assets/6836de6d2f51b553f1baef8dfc5e0bf5.png)

### Advanced settings

Click **Show advanced settings** to open the optional settings.

By default, WitCloud looks for the repeating elements `item`, `entry`, `product` and `offer`. If your file uses a different element name for its items, switch on **Custom repeating field** and enter the name in the **Custom field**. Only that element is then read.

![Advanced settings with Custom repeating field switched on and the example element name offer-row entered](https://api.witcloud.ai/api/docs/assets/2eab78ec569ca05af5383ab5ed65d3b8.png)

If the server hosting your file blocks unknown visitors (for example with Cloudflare), switch on **Static IP**. All requests then come from the address 34.118.32.227, which you can add to the allow list of your server.

![Static IP switched on, showing the fixed address 34.118.32.227](https://api.witcloud.ai/api/docs/assets/ab02711ef63efbb12e152168232f85c9.png)

If your file is protected with a username and password (basic authentication), switch on **Password protected** and enter the **Username** and the **Password**.

![Password protected switched on with the Username and Password fields filled with example values](https://api.witcloud.ai/api/docs/assets/f0a64b94eec4a620153a96e0df50b695.png)

### Validate and create

Click **Validate** to check that the file can be read. The check succeeds when the file can be downloaded and contains at least one repeating element within 5 seconds. Otherwise you see an error and should check the URL, the repeating field and the password.

Click **Create** to complete the configuration. WitCloud runs the same check before it saves the integration, so a file that cannot be read is not added. A data synchronization schedule will be created automatically - see [Auto workflows](https://witcloud.ai/docs/workflow#auto-workflows).

![Completed XML settings with the Validate and Create buttons at the bottom](https://api.witcloud.ai/api/docs/assets/76daedc7a00beb9d9ea8176ce82ebbb7.png)

**Done!** Your XML data will now be synchronized with BigQuery.

### Data synchronization

Each run downloads the whole file again and replaces the data of the day with its current content - it does not add rows to earlier runs. A run that takes longer than 30 minutes is stopped.

### Edit the integration

Open the integration from the **Integrations** list to change its settings (the same fields as above, saved with **Save**) and to use **Validate** again. The second panel shows the status of the data collection and the logs of the runs.

## Data schema

The table has one column. The structure inside the JSON depends on your file: nested elements and attributes of an item stay inside it.

<details>

<summary>

Columns of <code>xml_data</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| xml | NULLABLE | JSON |

</details>

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://witcloud.ai/#website","@type":"WebSite","description":"WitCloud is a marketing and e-commerce analytics platform: connect your data, ask AI and track KPIs in one place.","inLanguage":"en-US","name":"WitCloud","url":"https://witcloud.ai/","publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/xml#webpage","@type":"WebPage","dateModified":"2026-10-08T07:44:40.045Z","description":"Import the items of an XML feed or file, available under a URL, into Google BigQuery with WitCloud - one row per item, refreshed on a schedule.","name":"XML · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/xml","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/xml#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/xml"]}],"primaryImageOfPage":{"@id":"https://witcloud.ai/#logo"}},{"@id":"https://witcloud.ai/#identity","@type":"Organization","name":"WitCloud","url":"https://witcloud.ai","logo":{"@id":"https://witcloud.ai/#logo"},"sameAs":[]},{"@id":"https://witcloud.ai/docs/integrations/xml#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"XML","item":"https://witcloud.ai/docs/integrations/xml","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/xml#article","dateModified":"2026-10-08T07:44:40.045Z","description":"Import the items of an XML feed or file, available under a URL, into Google BigQuery with WitCloud - one row per item, refreshed on a schedule.","headline":"XML","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/xml#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/xml#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/xml#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/xml#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/xml#/schema/person/1","@type":"Person","name":"WitCloud"},{"@id":"https://witcloud.ai/#logo","@type":"ImageObject","caption":"WitCloud","contentUrl":"https://witcloud.ai/logo.svg","inLanguage":"en-US","url":"https://witcloud.ai/logo.svg"},{"@id":"https://witcloud.ai/docs/integrations/xml#/schema/image/1","@type":"ImageObject","contentUrl":"https://witcloud.ai/og-default.png","inLanguage":"en-US","url":"https://witcloud.ai/og-default.png"}]}
```

## Sitemap

See the full [sitemap](https://witcloud.ai/sitemap.md) for all pages.
