AGENT?GET /zapier/awesome-zaps/score-leads-in-zapier-tables-with-company-data/SKILL.mdand deploy the files next to it
All zaps

Lead Scoring Template

Each new lead in your Zapier Tables table gets a score, a grade, and company data from its email address, so your sales team knows who to call first.

Install it

For your agent
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/score-leads-in-zapier-tables-with-company-data/

Paste into Claude, ChatGPT, Cursor or any agent.

Apps it uses
Zapier TablesLead Score by ZapierFormatter by Zapier
Author
Zapier
Source
zapier/awesome-zaps, folder zaps/score-leads-in-zapier-tables-with-company-data

Set it up with the CLI

  1. Add it. Copies the folder into zaps/score-leads-in-zapier-tables-with-company-data/. Outside a project, it makes one first.
    npx zap-pack add awesome-zaps/score-leads-in-zapier-tables-with-company-data
  2. 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.
  3. 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 score-leads-in-zapier-tables-with-company-data
  4. Check it. Its recent runs, with status and errors.
    npx zap-pack logs score-leads-in-zapier-tables-with-company-data

zaps/score-leads-in-zapier-tables-with-company-data/

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.

What it does

  1. Trigger: a new record is added to your lead table (zapier-tables, new_record).
  2. Lead Score by Zapier looks up the record's email address and returns the person's fit segment, score, top signals and whether they are a student, plus their company's domain, name, industry, employee count and location.
  3. Formatter by Zapier swaps the scorer's :star: grade for a star emoji.
  4. Zapier Tables writes all of it back to the same record.

Records with no email, or with an email the scorer has no data on, are left as they were. The Zap only writes to the record it was triggered by.

Ask the user

Each REPLACE_… value is set per person. Resolve names to IDs with the user's own Zapier Tables connection; don't ask them to paste an ID you can look up.

Setting What goes there
table_id (trigger) and TABLE_ID (config.ts) The lead table. Ask which table it is, then look up its ID with the user's Zapier Tables connection. Both take the same value.
EMAIL_FIELD The column holding the email address to score.
COMPANY_DOMAIN_FIELD, IS_STUDENT_FIELD, SEGMENT_FIELD, SCORE_FIELD, TOP_SIGNALS_FIELD, GRADE_FIELD, COMPANY_NAME_FIELD, COMPANY_STATE_FIELD, COMPANY_STATE_CODE_FIELD, COMPANY_COUNTRY_FIELD, COMPANY_EMPLOYEES_FIELD, COMPANY_INDUSTRY_FIELD The columns that receive each value. Map each to the user's column. Look up each field key with the Zapier Tables connection; a column the user doesn't want can point at a column they don't use.

Build it

If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/score-leads-in-zapier-tables-with-company-data, replace each REPLACE_… value as this file says, then run npx zap-pack deploy score-leads-in-zapier-tables-with-company-data, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say.

  1. Accounts: bind zapier-tables to the user's Zapier Tables connection for the account that owns the lead table. Lead Score by Zapier and Formatter by Zapier need no connection of their own.
  2. Source: publish workflow.ts and config.ts, with each REPLACE_… replaced by the user's answer. triggers/new-record.ts and connections/zapier-tables.ts are settings: set the workflow's trigger and connection from them.
  3. Build guide: load Zapier's build guide with get_zapier_skill("zapier:build-workflows") and follow it to create, test and publish the workflow.
  4. Fields: before the first test run, check the trigger's fields and each update_record field key with the user's Zapier Tables connection, and fix any key in config.ts that doesn't match.

Test it

Lead Score by Zapier allows 500 lookups a month, so test with one record only. Create the test record yourself in the lead table with a test address the user owns, then run this sample as a draft test (run_workflow_draft in Zapier MCP). Replace the field key with the user's EMAIL_FIELD value:

{
  "record_id": "rec_test",
  "new": {
    "data": {
      "<EMAIL_FIELD>": "test@example.com"
    }
  }
}

Confirm that the record gained a score, a grade and company details. If run-status tools aren't available, check the record in Zapier Tables directly. The user deletes the test record, not the agent.

Notes

  • Each new record costs one lead lookup. Lead Score by Zapier's free allowance is 500 a month; past that, the scorer's own MadKudu integration on Zapier is needed.
  • Records are scored once, when they are added. Edits to an existing record don't trigger the Zap.
  • The grade column shows stars because the scorer's grade uses :star: codes and Formatter swaps them for the emoji.
  • Never commit a real table ID, field key or email address.