---
title: "Feed · WitCloud Docs"
description: "Generate an XML file, such as a product feed for Google Merchant Center, from a BigQuery table with a template you write, and refresh it on a schedule."
canonical_url: "https://witcloud.ai/docs/integrations/feed"
meta:
  "og:description": "Generate an XML file, such as a product feed for Google Merchant Center, from a BigQuery table with a template you write, and refresh it on a schedule."
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "Feed · WitCloud Docs"
---

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

# XML feed from BigQuery

Generate an XML file, such as a product feed for Google Merchant Center, from a BigQuery table with a template you write, and refresh it on a schedule.

Updated 8 Oct 2026

## Introduction

The **Feed** integration turns the rows of a BigQuery table into an XML file. You write the template of the file once; every run of the feed writes each row of the table as one item. Use it for product feeds (Google Merchant Center, Facebook Catalog and other marketing platforms) or any other system that reads XML - from the data of your ecommerce integrations or from a table you prepared yourself.

The file is saved in your project's storage bucket and is public, so the platform that reads the feed can download it from its link.

## Configuration guide

Creating a feed needs an active billing account (or a trial) on the project.

### Module setup

Go to **Integrations** and click **Add integration**.

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

Find **Feed** (in the **Data Export** category) and click it.

![Integration catalog filtered to Feed](https://api.witcloud.ai/api/docs/assets/0370f8b99d1ae8184f734b92034fba77.png)

Enter the **Solution name**, e.g. `Product feed`. The name also names the XML file.

![Solution name field filled in with the example name Product feed](https://api.witcloud.ai/api/docs/assets/38ca93d17976acba6ac0b60ac547b587.png)

### Source table

Select the **Google Cloud Project** where the table is stored. **Custom Project Id** at the end of the list lets you type the ID of a project that is not on the list.

![Google Cloud Project drop-down open with two example projects](https://api.witcloud.ai/api/docs/assets/1d14940b92e43d9c54a0d3a3bd391e77.png)

Pick the **BigQuery Dataset** that contains the table.

![BigQuery Dataset drop-down open with two example datasets](https://api.witcloud.ai/api/docs/assets/7cf9427cb5c9eca9134bfe5bdcb73cba.png)

Choose the **BigQuery Table** to build the feed from.

![BigQuery Table drop-down open with two example tables](https://api.witcloud.ai/api/docs/assets/c8672c5b2dcc09597be786778cf8a215.png)

If the table is partitioned by day, each run takes only the partition of the date the run processes. Otherwise it takes the whole table.

### XML template

In the **XML template** field, write the structure of the file. Once a table is selected, **Available fields** on the right lists its columns.

![XML template field with an example product feed template and the Available fields of the example table on the right](https://api.witcloud.ai/api/docs/assets/32c5bbf242f2dfd4ff5b807caab67417.png)

The template has three parts:

- the text before `{{#rows}}` - written once, at the start of the file;
- the text between `{{#rows}}` and `{{/rows}}` - written once for every row of the table;
- the text after `{{/rows}}` - written once, at the end of the file.

Between `{{#rows}}` and `{{/rows}}`, put a column name in double braces to insert its value, e.g. `{{title}}`. For a column with nested fields, use a dot: `{{product.id}}`. Values are escaped for XML (`&` becomes `&amp;`); use triple braces, `{{{description}}}`, to insert a value as it is.

```xml
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0"><channel>
{{#rows}}
  <item>
    <g:id>{{id}}</g:id>
    <g:title>{{title}}</g:title>
    <g:link>{{link}}</g:link>
    <g:price>{{price}}</g:price>
    <g:availability>{{availability}}</g:availability>
  </item>
{{/rows}}
</channel></rss>
```

Click **Create**.

### Execution and scheduling

A feed does not run by itself: add it as a task to a workflow, run the workflow and give it a schedule to keep the file up to date - see [Create a workflow](https://witcloud.ai/docs/workflow#create-a-workflow). The file appears after the first successful run.

### Where to find the file

Every run replaces the file. It is saved in your project's storage bucket, in a folder that starts with `feed-`, as `<solution name>.xml` (the name in lower case, with spaces replaced by hyphens - `product-feed.xml`). Open the bucket with **Open bucket** on the **Dashboard**; the file's details in Google Cloud Storage show its public link, which you give to the platform that reads the feed.

![Dashboard with the Open bucket button](https://api.witcloud.ai/api/docs/assets/57607220e5d66054b389d48607b8e5a9.png)

Renaming the feed changes the file name, and so its link. Update the link on the platform that reads the feed after a rename.

```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/feed#webpage","@type":"WebPage","dateModified":"2026-10-08T07:43:32.153Z","description":"Generate an XML file, such as a product feed for Google Merchant Center, from a BigQuery table with a template you write, and refresh it on a schedule.","name":"Feed · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/feed","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/feed#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/feed"]}],"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/feed#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"Feed","item":"https://witcloud.ai/docs/integrations/feed","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/feed#article","dateModified":"2026-10-08T07:43:32.153Z","description":"Generate an XML file, such as a product feed for Google Merchant Center, from a BigQuery table with a template you write, and refresh it on a schedule.","headline":"Feed","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/feed#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/feed#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/feed#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/feed#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/feed#/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/feed#/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.
