Add qualified contact records to remarketing audience list
When a new client row reaches a qualifying case status, that contact is added to your Google Ads remarketing list so you can reach them with timely ads.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/add-qualified-contact-records-to-remarketing-audience-list/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Marketing · Advertising ppc
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/add-qualified-contact-records-to-remarketing-audience-list
Set it up with the CLI
- Add it. Copies the folder into
zaps/add-qualified-contact-records-to-remarketing-audience-list/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/add-qualified-contact-records-to-remarketing-audience-list - 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 add-qualified-contact-records-to-remarketing-audience-list - Check it. Its recent runs, with status and errors.
npx zap-pack logs add-qualified-contact-records-to-remarketing-audience-list
zaps/add-qualified-contact-records-to-remarketing-audience-list/
- 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 2 to fill in
- connections/google-ads.tsThe
google-adsaccount it uses - connections/zapier-tables.tsThe
zapier-tablesaccount it uses - triggers/new-record.tsWhat starts it:
zapier-tablesnew_record1 to fill in - 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 record is added to your Zapier Table (
zapier-tables,new_record). The record's email, ad consent and case status are read from the row. - Filter: if the case status is not one of your qualifying statuses, the run stops and nothing is uploaded.
- Normalize: the email is trimmed and lowercased. Consent becomes
CONSENT_GRANTEDwhen the consent field is true, otherwiseCONSENT_DENIED. - Google Ads adds the email to your customer list, with the ad user data and personalization consent flags set from step 3.
A row without consent is still uploaded, marked CONSENT_DENIED, so confirm your consent policy before you turn the Zap on.
Ask the user
Each REPLACE_… value 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 | Where | What goes there |
|---|---|---|
REPLACE_TABLE_ID |
triggers/new-record.ts, table_id |
The Zapier Table that receives the contact rows; each new row is one contact |
REPLACE_GOOGLE_ADS_ACCOUNT_ID |
config.ts |
The Google Ads account that owns the customer list (its customer ID) |
REPLACE_CUSTOMER_LIST_ID |
config.ts |
The numeric ID of the Google Ads customer list the contacts are added to |
Also review the defaults with them:
CASE_STATUSESinworkflow.ts: defaults to["Qualified"], the only status that qualifies a row. Change it to the statuses the team uses.- The table fields the code reads:
f1(email),f2(ad consent, true or false) andf3(case status). Rename them inworkflow.tsif the table differs.
Confirm the Google Ads account can edit that customer list. Using the wrong list adds contacts to an audience you did not mean to target.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/add-qualified-contact-records-to-remarketing-audience-list, replace each REPLACE_… value as this file says, then run npx zap-pack deploy add-qualified-contact-records-to-remarketing-audience-list, 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
google-adsto the user's Google Ads connection for the account that owns the customer list, andzapier-tablesto the user's Zapier Tables connection for the table. The trigger useszapier-tables; no other step needs an account. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/new-record.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, if it has one) 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 first. It uses no real data, and the row's status does not qualify, so the run stops at the filter and uploads nothing:
{
"id": "01M651KRN7GPH9WSEVQ44RGHAR",
"data": { "f1": "test@example.com", "f2": false, "f3": "Lead" }
}
Expect { "skipped": true, "reason": "status-not-qualifying" } and no Google Ads call. Then test with a qualifying row (f3: "Qualified") only against a Google Ads test account and customer list, and check that the contact appears in that list. If run-status tools aren't available, check the result in Google Ads directly. Then publish and confirm the trigger is active. The user deletes any test rows afterward, not the agent.
Notes
- Google Ads needs a real customer list ID and a connected account with permission to edit it. Using the wrong list adds contacts to an audience you did not mean to target.
- Google matches contacts on email; the Zap does no separate lookup.
- To tag the contact in your CRM or alert the campaign team in Slack, add a step after the Google Ads step.