sync_leads_to_hubspot
Push lead-form leads into HubSpot destructive
Description
Push the leads the brand's LEAD FORMS collected into HubSpot as contacts — Meta, LinkedIn, TikTok (every published Instant Form, every lead region), X Ads, Snapchat and ChatGPT Ads (the last two: leads delivered to Hermoso by their lead webhooks). Each lead is upserted by email with lead status NEW and the platform + form + campaign written into the contact's Message property (a default HubSpot property, so no schema scope is needed). Synced lead ids are remembered per workspace, so a re-run, a scheduled run, a retry or a second agent never creates twins. Reports created / updated / already-synced / no-email per platform; a platform that is not connected, or cannot be read (Reddit has no API for leads), is REPORTED, not fatal. platforms narrows it. dryRun:true lists what would be synced and writes nothing. set_hubspot_lead_sync runs it automatically. Free. Needs HubSpot connected, plus the platforms whose leads you want.
Parameters
| Parameter | Type | Description |
|---|---|---|
since | string | ISO date; default 7 days ago |
platforms | "meta" | "linkedin" | "tiktok" | "x" | "snapchat" | "chatgpt" | "reddit"[] | default every connected one |
tiktokRegions | "us" | "eu" | "other"[] | TikTok stores leads per region; default all three |
dryRun | boolean | list what would be synced and write nothing |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/sync_leads_to_hubspot.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sync_leads_to_hubspot","arguments":{}}}
CLI
hermoso call sync_leads_to_hubspot --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
set_hubspot_lead_syncTurn the automatic HubSpot lead sync on or offcreate_hubspot_contactCreate or update a HubSpot contacthubspot_deals_reportHubSpot deals reportlist_hubspot_contactsList or search HubSpot contactslist_hubspot_companiesList or search HubSpot companieslist_hubspot_ownersList HubSpot owners (sales reps)