AGENT?GET /zapier/awesome-zaps/send-form-sign-ups-to-conversion-tracking-for-ad-campaigns/SKILL.mdand deploy the files next to it
All zaps

Send form sign-ups to conversion tracking for ad campaigns

Each new HubSpot form sign-up is sent to LinkedIn as a conversion, so your ad campaigns can see which clicks turned into sign-ups.

Install it

For your agent
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/send-form-sign-ups-to-conversion-tracking-for-ad-campaigns/

Paste into Claude, ChatGPT, Cursor or any agent.

Apps it uses
HubSpotLinkedIn Conversions
Author
Zapier
Source
zapier/awesome-zaps, folder zaps/send-form-sign-ups-to-conversion-tracking-for-ad-campaigns

Set it up with the CLI

  1. Add it. Copies the folder into zaps/send-form-sign-ups-to-conversion-tracking-for-ad-campaigns/. Outside a project, it makes one first.
    npx zap-pack add awesome-zaps/send-form-sign-ups-to-conversion-tracking-for-ad-campaigns
  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 send-form-sign-ups-to-conversion-tracking-for-ad-campaigns
  4. Check it. Its recent runs, with status and errors.
    npx zap-pack logs send-form-sign-ups-to-conversion-tracking-for-ad-campaigns

zaps/send-form-sign-ups-to-conversion-tracking-for-ad-campaigns/

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: HubSpot, New Form Submission (hubspot, form_submission_resthook_v3), for one form. The submission ID and email come from the trigger.
  2. Code skips the run if the submission has no ID or no email. Duplicate submissions are not filtered; see Notes.
  3. LinkedIn Conversions sends a conversion event for that email to one LinkedIn conversion, with the HubSpot submission ID as the event ID.

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_HUBSPOT_FORM_GUID triggers/form-submission-resthook.ts, form_guid The HubSpot form whose sign-ups get reported
LINKEDIN_AD_ACCOUNT config.ts The LinkedIn ad account that owns the conversion
LINKEDIN_CONVERSION config.ts The Conversions API conversion each sign-up is reported to. Create it in Campaign Manager first; it must be of type "Conversions API"

Also review the default with them: the Zap skips a submission with no email. Ask whether a sign-up without one should still be sent; the template skips it.

Build it

If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/send-form-sign-ups-to-conversion-tracking-for-ad-campaigns, replace each REPLACE_… value as this file says, then run npx zap-pack deploy send-form-sign-ups-to-conversion-tracking-for-ad-campaigns, 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.

  1. Accounts: bind hubspot to the HubSpot connection for the portal that owns the form, and linkedin-conversions to the LinkedIn connection for the Campaign Manager account that owns the conversion. The trigger and the action use the same accounts.
  2. Source: publish workflow.ts and config.ts, with each REPLACE_… replaced by the user's answer. triggers/form-submission-resthook.ts and connections/ 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's selected_api, call search_triggers with that slug, find the row whose key is the trigger's event, and use <app_key>@<app_version> from it.
  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: 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.ts that doesn't match.

Test it

Run it once as a draft test with a submission from the user's HubSpot test form, and a LinkedIn conversion marked as a test:

{
  "id": "900000000001",
  "Email": "test.signup@example.com",
  "vid": "900001"
}

Check that the run finished, that the LinkedIn step returned a status, and that the conversion shows in Campaign Manager's conversion tracking with the submission ID as the event ID. If run-status tools aren't available, check the result in LinkedIn Campaign Manager directly. Then publish, confirm the trigger is active, and ask the user to delete the test data, not the agent. Never run it with a real customer's email.

Notes

  • Duplicate submissions are not filtered: a durable workflow has no shared store of past submission IDs. LinkedIn may deduplicate on the event ID; check that for the user's conversion before relying on it.
  • The trigger declares only id, vid and Email, so name, company and UTM fields are not mapped.
  • To add campaign detail, parse the UTM fields from the submission. To make sure the lead exists in HubSpot first, add or update a contact before the conversion.
  • Never commit a real form ID, ad account ID, conversion ID or test email. The values in config.ts and the trigger are placeholders on purpose.