---
name: sheet-enrichment-pipeline
description: "Enriches a list in a Slate Sheet row by row: cleans and de-duplicates the list, designs a few AI and research columns that each answer one question from a cited source, binds each to a published workflow, pilots 5 to 10 rows, checks format, fill rate and accuracy against the sources, states the cost, and only then runs the rest, retrying failed rows only. Use when someone asks to enrich a list, research every company, URL or keyword in a sheet, add AI columns, classify or score rows, find one fact per row, or run a workflow over a CSV. Requires Slate (slatehq.com): Sheets and Workflows."
license: MIT
compatibility: "Needs Slate Sheets and Workflows, in the Slate app or through the Slate MCP server. Without Slate, the same pilot-first method works in a spreadsheet with a script or an enrichment tool that has web access and AI columns."
metadata:
  title: "Sheet enrichment pipeline"
  category: "Marketing operations and automation"
  requires: "slate"
  data-needed: "Slate"
  slate-tools: "list_grids, create_sheet, import_csv_to_sheet, get_sheet, edit_sheet_rows, manage_sheet_columns, execute_sheet, get_sheet_execution_state, get_sheet_rows, save_workflow, publish_workflow (Slate MCP); Sheets and Workflows in the Slate app"
  slate-signup: "https://app.slatehq.ai/register"
  homepage: "https://slatehq.com/skills/sheet-enrichment-pipeline"
  author: "Slate"
  version: "1.0.0"
---

# Sheet enrichment pipeline

Takes a list (domains, URLs, keywords, competitors, prompts) and adds the columns the team needs to decide something: does each site have a pricing page, what category is each keyword, which competitor does each page mention. Each new column answers one question in a fixed format and records where the answer came from. It cleans the list before spending anything, proves the columns on a small pilot, shows the cost of the full run, and runs the rest only after a yes. The result is a sheet the team can sort and trust, not 2,000 rows of confident guesses.

> **Requires Slate.** This skill runs on Sheets and Workflows from [Slate](https://slatehq.com), the AI marketing platform. Use it inside Slate, or connect the Slate MCP server to Claude, ChatGPT, Cursor or any MCP client.
> - New to Slate? Start a free trial at https://app.slatehq.ai/register. Already a user? Log in at https://app.slatehq.ai/login.
> - MCP server: `https://api.slatehq.ai/slate-mcp-server/mcp` (sign in with your Slate account). Setup: https://slatehq.com/slate-mcp

## When to use

- "Enrich this list", "research each of these companies", "add a column that says whether each site has a free trial", "classify these 800 keywords by intent", "tag each page by topic", "score these accounts against our ICP", "find the blog URL for every domain", "run this workflow on every row".
- Any list where each row needs the same lookup or judgement, and the answers should land next to the row.
- Not for people's emails or phone numbers: use `lead-enrichment`.
- Not for a rule over cells you already have ("mark rows where traffic is under 1,000"): that's a plain bulk edit, no AI column.
- Not for designing a complex per-row workflow from scratch: use `workflow-builder`, then come back to bind it.
- Not for turning rows into published pages: use `programmatic-seo` or `bulk-content-publishing`.

## What you need

Required:
- **The list**: a CSV, pasted rows or an existing Slate Sheet.
- **The key column** each lookup starts from: domain, URL, keyword or name.
- **The questions**: one line per new column, and the decision each one feeds.

Ask for, or assume and state:
- **Format per column**: yes/no, one category from a fixed list, a number, a URL, or short text with a word limit. Default: the narrowest format that answers the question.
- **Sources** to use or avoid, plus country and language for any SEO data.
- **Columns people own** (notes, owner, status): never overwritten.
- **Budget**: a credit or row cap. Default: stop and ask before any run over 500 rows.

## Data and tools

- **In Slate:** Sheets holds the list as data columns plus AI columns. An AI column runs a published workflow once per row and writes the result into that row. The workflow behind each column can search Google, scrape a page, read a sitemap, ask AI engines, pull Semrush or Ahrefs domain and keyword data, audit a page or read the Brand Kit, then answer with an AI step. Runs ask for approval and use credits.
- **With the Slate MCP server:** load the list with `import_csv_to_sheet` (`gridId`, `csvContent`, `sheetName`), or `create_sheet` (`name`, `columns` with `name` and `data_type`) then `edit_sheet_rows` (`mode: "add"`, cells keyed by column ID as a string, about 100 to 150 rows per call); find existing sheets with `list_grids`. `get_sheet` gives column IDs. Build and publish each column's workflow with `save_workflow` and `publish_workflow`. Add the AI column with `manage_sheet_columns` (`action: "add"`, a column with `kind: "workflow"` and a `config_json` holding the `workflow_id` and input bindings; copy the exact shape from `get_sheet` on a sheet that already has a workflow column). Run with `execute_sheet` (`action: "run"`, `scope: "column"`, `columnId`, `selectionMode` of `first_rows` with `rowLimit` for the pilot, then `remaining_rows`, then `failed_rows`; `scope: "row"` for one chosen row). Watch progress with `get_sheet_execution_state` and read results with `get_sheet_rows` (`columnIds`; `rowId` plus `columnId` for one full cell).
- **Without Slate:** a spreadsheet plus a script or an enrichment tool with web access and AI columns. Keep the same order: clean, pilot, check, then bulk, with a source for every answer.

## Procedure

1. **Write the column plan.** For each new column: the question, the format, the allowed values, the source, and the decision it feeds. Drop any column that feeds no decision. Keep to about five new columns per pass and ten columns in all.
2. **Clean the list before spending anything.** Normalise the key (rules in `references/column-design.md`), remove duplicates on the normalised key, drop blank and invalid rows, and report the counts: rows in, duplicates removed, invalid removed, rows to enrich.
3. **Build the sheet**: identifier columns first, then the source data, then the AI columns, then the human-owned columns. Load every row before any run, and check the row count matches the cleaned count exactly.
4. **Design one workflow per AI column.** One job per workflow: gather evidence, then answer from that evidence only, in the fixed format, with an explicit not-found value (`NOT_FOUND`) that is different from an error, and the source URL it used. Use the prompt pattern in `references/column-design.md`. A smaller, cheaper model is enough for classification and extraction. Publish the workflow so the column runs a fixed version the team can see.
5. **Bind every required workflow input** to a column or a fixed value. An unbound input leaves rows blocked; it is not a reason to rerun.
6. **Pilot 5 to 10 rows**, fewer for workflows with many paid steps. Include varied rows: a large brand, a small one, and an odd case (a redirecting domain, a keyword with no results).
7. **Check the pilot** with the rubric in the reference: format-valid rate, fill rate, a spot check of five answers against their sources, not-found versus error, and credits per row. Any invented fact in the spot check is a stop: fix the evidence step or the prompt and re-pilot the same rows.
8. **State the arithmetic and ask.** Rows left times credits per row from the pilot, plus how long it will take (rows run in sequence, so hundreds of rows can take a long while). Run the rest only on an explicit yes.
9. **Run the remaining rows.** Check progress at a calm interval. A running state is progress, not failure; never re-run or re-bind a column while it's still running. When column B reads column A, finish A first.
10. **Retry failed rows only**, once, after fixing the cause. Blocked rows mean a binding or an empty input cell; a run that stalls for lack of credits needs the user.
11. **Check the full run**: fill rate per column, the spread of categories (one value on 90% of rows usually means a biased prompt), ten random rows spot-checked, and outliers.
12. **Deliver** in the output format below.

## Decision rules

- **Compute, don't run.** A value you can derive from cells you already have (merge two columns, flag rows over a threshold, split a JSON answer into columns) is a bulk edit, not an AI column. It's instant and free.
- **Never overwrite what people wrote.** New values go in new columns. Re-runs fill empty and failed cells only, unless the user asks for a refresh.
- **Not found is an answer; an error is not.** Keep them apart so failures don't hide among empty results.
- **No source, no fact.** A factual answer without a source URL is marked unverified, or rejected if the column is used for decisions.
- **Stop early.** If more than one row in five fails in the first batch of the full run, cancel the run and diagnose before spending more.

## Output

```markdown
## Enrichment: <list name>, <n> rows, <date>
Sheet: <link>. Key column: <name>. Sources: <list>.

### Cleaning
Rows in <n> · duplicates removed <n> · invalid removed <n> · enriched <n>

### Columns
| Column | Question | Format | Source | Workflow (published version) |

### Pilot (<n> rows)
| Column | Format-valid | Filled | Spot check | Credits per row | Verdict |

### Full run
Succeeded <n> · not found <n> · failed <n> (reasons) · blocked <n> (reasons)

### What the data says
- <2 to 3 findings with counts, e.g. "<n> of <n> domains have no pricing page">

### Gaps and next steps
- <columns or rows needing a person; how to run new rows later>
```

## Quality checks

- The row count in the sheet matches the cleaned source count.
- Every AI column has a fixed format, a not-found value and a source.
- The pilot ran, was checked against sources, and its numbers are in the report.
- The full run started only after the user approved the stated cost.
- No human-owned column was changed.
- Failed and blocked rows are counted with reasons, not folded into "done".
- Findings quote counts from the sheet, not impressions.

## Common mistakes

- **Running everything first.** A bad prompt across 2,000 rows costs 2,000 runs. Pilot, check, then bulk.
- **Skipping de-duplication.** `www.example.com`, `example.com/` and `https://example.com` are one company and three charges.
- **Open questions in a column.** "Tell me about this company" gives paragraphs nobody can sort. Ask one question with a fixed answer format.
- **Answers from memory.** Without an evidence step the AI step guesses, and guesses look like facts. Make it answer from the scraped page or search results, and cite the URL.
- **Re-running the whole column to fix ten rows.** Retry failed rows only.
- **An AI column for a formula.** Classifying by a number you already have needs a rule, not a model.

## Related skills

- `workflow-builder`: build or fix the workflow behind an AI column.
- `lead-enrichment`: add company and contact data to a lead list.
- `lead-scoring-model`: turn enriched columns into a fit score sales agrees with.
- `programmatic-seo`: generate pages from the rows once the data is clean.
- `bulk-content-publishing`: publish a batch of pages from a sheet.
- `scheduled-routines`: re-run the enrichment on new rows every week.
