# Feed Mixer: Joining Additional Data Sources

Source: https://ducted.app/help/kb/feed-mixer
Category: Data sources

Feed Mixer lets you enrich your records by joining additional columns from an external data source - a live feed URL or an uploaded file (CSV, TSV, XML or JSON) - using a shared ID column.

## When to use Feed Mixer

Use it when your primary project data is missing columns you need in the feed, but those columns exist in a separate file.

**Example**: your indexed product data has title, price, and URL but you need to add GTIN and brand from a supplier CSV. If both datasets share a SKU column, Feed Mixer can join them automatically.

![The Feed Mixer joining a primary catalog with a supplier stock feed on the sku column](https://ducted.app/kb/mixer.png)

## Feed Stack or Feed Mixer?

**Feed Mixer adds columns, Feed Stack adds rows.** The Mixer joins extra columns onto the records you already have, matched on an ID. When the inventory itself is published as several feed URLs - New, Used and Certified, each with different records in the same columns - use [Feed Stack](https://ducted.app/help/kb/feed-stack) instead: it reads those URLs as one inventory. A project can use both: the parts are stacked first, then the Mixer joins its columns onto the whole inventory.

## Setting up Feed Mixer

Feed Mixer is configured on the **Data Sources** tab of your project.

### 1. Set the Primary ID column

This is the column in your project's own data that uniquely identifies each record - typically SKU, product ID, or similar. Ducted will use this to match records against the additional source.

### 2. Add a data source

Click **+ Add Source** and choose:
- **URL Feed** - enter the URL of a CSV, TSV, XML or JSON feed; Ducted loads the columns so you can pick the matching ID column
- **File Upload** - upload a CSV, TSV, XML, JSON, JSONL or XLSX file; columns are detected automatically

Set the **ID column** for the source - the column that matches the primary ID column.

### 3. Fetch & Merge now

Click **Fetch & Merge now** to join the data. Ducted does a LEFT JOIN: every primary record is kept, and matching columns from the source are added. Non-matching records simply have empty values for the mixer columns.

## Using merged columns in feeds

Once merged, the columns from the additional source appear in the Feed Editor column picker alongside the project's own columns. Add them to your mapping like any other column.

Source Data serves the merged records too, so it carries the joined columns next to the project's own.

## When a source column has the same name as a primary column

The **primary data always wins**. On the Data Sources tab, under the Primary ID column, you choose how:

- **Fill empty cells** - the primary value always wins; a source value only fills a cell the primary left empty. Filled cells are not tracked: after a source problem they can keep an old value until the next refresh or re-upload.
- **Skip the column** - the primary wins for the whole column: the source's column is skipped on every row. Ducted tracks exactly which columns each source joined, so Fetch & Merge now and source problems only ever touch the source's own columns.

Projects that used Feed Mixer before this setting existed start on **Fill empty cells**, so nothing changed for them; every other project starts on **Skip the column**. A change is saved at once and applies at the next merge; it is fully exact from the next refresh or re-upload.

## Keeping data fresh

The sources are joined again on every project refresh, re-upload and indexing run. **Fetch & Merge now** re-reads every source on demand: changed values arrive, and a record that left a source loses that source's columns.

A source that cannot be read - a blocked URL, a missing file, an export with no rows - keeps the values from its last successful read, with no expiry, so one failed read never blanks the columns it joined. Each source on the Data Sources tab shows when it was last read and, after a problem, the date its kept values are from.

## Indexed projects

Projects we index for you can join data sources too. The join runs again within a few minutes after every indexing run, and on **Fetch & Merge now**, so the joined columns are as fresh as the inventory. Sold Source Data is the indexer's own list of removed vehicles or products and does not get the joined columns. Scheduled indexing - and with it the scheduled refresh of your joined sources - is part of maintenance; without maintenance an indexed project is a one-time feed and its sources join when you press Fetch & Merge now.

## Refreshing URL data sources on a schedule

An uploaded inventory rarely changes, but a payments or stock URL you join onto it does. On an **upload project**, and on a **URL project you refresh by hand**, the Data Sources tab offers a **refresh schedule for URL sources**: pick a frequency and **Save schedule**, and Ducted joins every source again on that schedule - exactly what Fetch & Merge now does: URL sources fetch fresh data, uploaded source files join again as stored, and a source that cannot be read keeps its last values. The same plan rules apply as for project schedules (Free has no scheduled refresh; each paid plan has a minimum interval), and a refresh starts within the hour after its scheduled time. When the schedule can no longer run - its last URL source was removed, or the project got a schedule of its own - the Data Sources tab says why and offers **Remove schedule**.

When a URL project gets a schedule of its own, the sources' schedule is removed: they then join on every project refresh. Indexed projects never need one - their sources join after every indexing run.

## Alert emails

When a source cannot be read during an **automatic** refresh - a scheduled refresh, the join after an indexing run or the sources' own schedule - Ducted emails you right away, naming the source and whether its previous values were kept. You get at most one such email per project per 24 hours, and none for a fetch, re-upload or Fetch & Merge now you run yourself - you see the result on screen. Switch it off per project under **Settings → Alerts → Data source problems (Feed Mixer)**; like every alert email it also needs the account-level **System alerts** email preference to be on.
