hermosodocs

sync_leads_to_hubspot

Push lead-form leads into HubSpot destructive

Area: HubSpot · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
sincestringISO 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
dryRunbooleanlist 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.

All 728 Publishing & scheduling tools · tools.json