Log legal entries from new spreadsheet rows automatically
Each new row added to your Excel intake table becomes a legal entry record in a Zapier Table, so compliance staff work from one source of truth.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/log-legal-entries-from-new-spreadsheet-rows-automatically/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Legal · Compliance management
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/log-legal-entries-from-new-spreadsheet-rows-automatically
Set it up with the CLI
- Add it. Copies the folder into
zaps/log-legal-entries-from-new-spreadsheet-rows-automatically/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/log-legal-entries-from-new-spreadsheet-rows-automatically - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy log-legal-entries-from-new-spreadsheet-rows-automatically - Check it. Its recent runs, with status and errors.
npx zap-pack logs log-legal-entries-from-new-spreadsheet-rows-automatically
zaps/log-legal-entries-from-new-spreadsheet-rows-automatically/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 4 to fill in
- connections/excel.tsThe
excelaccount it uses - connections/zapier-tables.tsThe
zapier-tablesaccount it uses - triggers/new-table-row.tsWhat starts it:
excelnew_table_row - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a new row is added to a table in a Microsoft Excel workbook (
excel,new_table_row, New Row in Table). - Filter: the run continues only if the row has a title and a submission ID. Otherwise it stops and writes nothing.
- Zapier Tables creates one record in the legal entries table: the row's title goes to Title, its submission ID to Submission ID, its notes to Notes, and its priority to Priority.
Ask the user
Each REPLACE_… value in config.ts is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
WORKBOOK_ID |
The Excel workbook that holds the intake table; also set the trigger's Workbook field to it |
WORKSHEET_ID |
The worksheet inside that workbook; also set the trigger's Worksheet field to it |
EXCEL_TABLE_ID |
The table on that worksheet that new rows come from; also set the trigger's Table field to it |
LEGAL_ENTRIES_TABLE_ID |
The Zapier Table that receives one legal entry per row |
Also review the defaults with them: TITLE_COLUMN, SUBMISSION_ID_COLUMN, NOTES_COLUMN and PRIORITY_COLUMN are the header names the row is read by. Check them against the sheet's header row.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/log-legal-entries-from-new-spreadsheet-rows-automatically, replace each REPLACE_… value as this file says, then run npx zap-pack deploy log-legal-entries-from-new-spreadsheet-rows-automatically, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
excel(the trigger needs it) to the user's Microsoft Excel connection for the account that owns the tracker, andzapier-tablesto the user's Zapier Tables connection for the account that owns the legal entries table. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/new-table-row.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections and sample the trigger before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run this sample as a draft test (run_workflow_draft in Zapier MCP) before publishing:
{
"Title": "[install-test] Vendor NDA renewal",
"Submission ID": "INTAKE-0001",
"Notes": "Renewal due next quarter",
"Priority": "High"
}
Check that one new record appears in the legal entries table with the same title, submission ID, notes and priority. Then send a row with no title and check that nothing is created. If run-status tools aren't available, check the result in Zapier Tables directly. Ask the user to delete the test record; the agent doesn't delete test data. Then publish, confirm the trigger is active, and confirm it is on the new table.
Notes
- Each row creates a new record. The Zap doesn't check for an earlier record with the same submission ID, so a row added twice creates two records.
- The Excel trigger needs the user's own Microsoft Excel connection; without it the trigger can't be set up.
- To escalate high-priority rows, add a notification step for rows with priority set to High, to notify senior counsel. Routing those rows elsewhere is not built here.
- To batch lower-priority intake, collect rows and write them into the tracker hourly instead of one at a time.