← ClaudeAtlas

create-ad-conversion-events-for-new-list-contactslisted

Build a Zap on Zapier that sends a LinkedIn Conversions API event each time a contact is added to a HubSpot list, so ad campaigns get timely attribution. Use when a marketing team adds contacts to a HubSpot list and wants each addition counted as a LinkedIn conversion.
zapier/awesome-zaps · ★ 2 · AI & Automation · score 78
Install: claude install-skill zapier/awesome-zaps
# Create ad conversion events for new list contacts The Zap's code lives at https://github.com/zapier/awesome-zaps/tree/main/zaps/create-ad-conversion-events-for-new-list-contacts. Read the files there if this skill was installed on its own. ## What it does 1. **Trigger:** HubSpot, New Contact in List (`hubspot`, `new_contact_in_list_resthook_v3`). It fires when a contact is added to the list in `HUBSPOT_LIST_ID`, and asks HubSpot for the email, first name, last name and company. 2. **Plain code:** trims and lowercases the email and skips the run if there is none. It sends name and company only when both first and last name are present, because LinkedIn requires the name pair. 3. **LinkedIn Conversions:** sends one conversion event (`create_conversion_event`) for the contact to the ad account and conversion in the settings. The HubSpot contact ID is the event ID, so a retried list add does not create a second event. The Zap only sends conversion events. It never changes the contact or the list. ## 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 | | ------------------------ | ----------------------------------------------------------------------