sync_leads_to_salesforce
Push lead-form leads into Salesforce
Description
Push the leads the brand's LEAD FORMS collected (Meta, LinkedIn, TikTok, X, Snapchat, ChatGPT Ads) into Salesforce as Leads. Someone already a contact or lead (matched by email) is left as they are; synced leads are remembered per brand, so a re-run or a second agent never makes twins. leadSource sets LeadSource (one of the org's picklist values); dryRun lists what would happen and writes nothing. Free. Needs Salesforce connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
since | string | ISO date; default 7 days ago |
platforms | "meta" | "linkedin" | "tiktok" | "x" | "snapchat" | "chatgpt" | "reddit"[] | default every connected one |
leadSource | string | |
dryRun | boolean |
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_salesforce.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sync_leads_to_salesforce","arguments":{}}}
CLI
hermoso call sync_leads_to_salesforce --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
log_salesforce_activityLog an activity in Salesforcelist_salesforce_ownersList Salesforce usersdescribe_salesforce_objectSalesforce fields and picklistsdelete_salesforce_recordDelete a Salesforce recordupdate_salesforce_recordUpdate a Salesforce recordcreate_salesforce_recordCreate a Salesforce recordget_salesforce_recordRead one Salesforce recordlist_salesforce_recordsList or search Salesforce records