# Sheet row enricher

A new sheet row naming a company gets its blank cells filled (site, size, what it does, HQ), each with a source. Filled cells stay as is.

Requires googlesheets, through Composio. Requires web search, through Exa. Requires web fetch.

## Install

No one has run this against real googlesheets accounts through Composio yet. Its eval cases use stand-ins.

```sh
npx @parcha/agentrun template install github:Parcha-ai/agentrun-templates/templates/sheet-row-enricher@9ed9ff98e3130d3dce065743e8c60bb13e84f646 --trust
```

Or open `<your AgentRun address>/#/templates/install?src=github%3AParcha-ai%2Fagentrun-templates%2Ftemplates%2Fsheet-row-enricher%409ed9ff98e3130d3dce065743e8c60bb13e84f646`. Pinned to commit 9ed9ff98e3130d3dce065743e8c60bb13e84f646.

### Install with your agent

Copy this prompt into your coding agent:

```text
Help me install the Sheet row enricher template on my existing AgentRun.

Pinned template source: github:Parcha-ai/agentrun-templates/templates/sheet-row-enricher@9ed9ff98e3130d3dce065743e8c60bb13e84f646
Read the template and its instructions: https://github.com/Parcha-ai/agentrun-templates/tree/9ed9ff98e3130d3dce065743e8c60bb13e84f646/templates/sheet-row-enricher

Ask for my AgentRun address or local installation directory if you do not already know it. Confirm which instance to use before making changes.
Read https://agentrun.ai/SKILL.md and inspect the installed version's template install help. Use the installation workflow that version supports.
Review this template's setup, instructions and requested tools with me, then install the pinned version on that instance with the settings and permissions I approve. Do not start a second instance or redeploy my existing one.
If this version cannot install templates, explain what is missing and the supported next step. Verify the result and tell me how to run the installed agent.
```

## What it does

When a new row naming a company lands in a Google Sheet you pick, it looks the company up on the public web and fills the row's blank cells for the columns you list (website, size, what it does, HQ), with the source of each in a sources column. It never overwrites a cell that has a value and never touches another row. A cell it can't source stays blank, and the run says why.

- Skill `row-enricher`: Fill the blank cells of one new Google Sheets row with facts about the company it names (website, size, what it does, HQ, or the columns the owner lists), each from a web source linked in a sources column. Never overwrites a filled cell, never touches another row, leaves a cell blank when no source states it. Use for each row the new-rows trigger hands over, or for "enrich row 12".

## What starts it

- A googlesheets event through Composio: new rows. At most 2 at once.
- By hand, any time: from the console, the API or the CLI.

## Inputs

Each run takes a plain message (`content`).

### Setup, filled in once at install

| Name | Type | Required | What it is |
| --- | --- | --- | --- |
| `spreadsheet_id` | string | yes | The spreadsheet it watches and fills, by id: the long part of its URL between /d/ and /edit. |
| `sheet_name` | string | no | The tab inside the spreadsheet, as named at the bottom: Sheet1 unless you set it. Default: `Sheet1`. |
| `company_column` | string | no | The header of the column holding the company's name (or its website): company unless you set it. Default: `company`. |
| `fill_columns` | list of string | no | The headers of the columns it fills, as written in row 1: website, size, what it does and hq unless you set them. It understands a header by its meaning (site, employees, description, headquarters) Default: `website, size, what it does, hq`. |
| `sources_column` | string | no | The header of the column where it writes the source link of each value it fills: sources unless you set it. Default: `sources`. |

## What it needs

- Harness: pi, claude-agent, codex
- Model: balanced tier, medium effort
- Tools: read, web_search, web_fetch
- Composio googlesheets tools: GOOGLESHEETS_BATCH_GET, GOOGLESHEETS_VALUES_GET, GOOGLESHEETS_UPDATE_VALUES_BATCH. Reads the header and the new row of the one spreadsheet you set, and writes that row's blank cells, as plain text. It can't read or change another spreadsheet, and can't add or delete rows or sheets.
- Computer: no computer (file tools only)
- Keys: A model key
- Learning: on

## Sample output

No sample output ships with this template yet.

## Tested

Passes 7 of 7 eval cases on pi, 7 of 7 on Claude Code and 7 of 7 on Codex. On the live web, 1 of 1 on pi, 1 of 1 on Claude Code and 1 of 1 on Codex.

8 eval cases: cant-source, fills-blanks, injection-in-page, live-company, no-company, row-changed, row-replaced, search-failed.

## Source

- Package: https://github.com/Parcha-ai/agentrun-templates/tree/9ed9ff98e3130d3dce065743e8c60bb13e84f646/templates/sheet-row-enricher
- Publisher: Parcha-ai
- Author: Parcha Labs
- Version: 0.1.0
- License: Apache-2.0
- Category: Sales
- Page: https://marketplace.agentrun.ai/templates/sheet-row-enricher/
