hermosodocs

create_salesforce_record

Create a Salesforce record

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

Description

Create a contact, lead, account or opportunity in the brand's Salesforce, then read it back. Required: contact lastName; lead lastName (company defaults to "[not provided]"); account name; opportunity name, stage and closeDate. Any other field by API name in fields (describe_salesforce_object lists them, which are required, and the picklist values). The org's validation and duplicate rules answer in Salesforce's words. Free. Needs Salesforce connected.

Parameters

ParameterTypeDescription
objectrequired"contact" | "lead" | "account" | "opportunity"contact, lead, account or opportunity
firstNamestring | null
lastNamestring | null
emailstring | null
phonestring | null
titlestring | null
companystring | nulllead only
statusstring | nulllead status
namestring | nullaccount or opportunity name
websitestring | null
industrystring | null
stagestring | nullopportunity StageName
amountnumber | null
closeDatestring | nullYYYY-MM-DD
salesforceAccountIdstring | nullthe account (001…) a contact or opportunity belongs to
salesforceOwnerIdstring | nulla user id from list_salesforce_owners
leadSourcestring | null
descriptionstring | null
fieldsobjectany other field by API name, e.g. Industry__c; null clears it on update

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/create_salesforce_record.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_salesforce_record","arguments":{"object":"<one of the listed values>"}}}

CLI

hermoso call create_salesforce_record --json '{"object":"<one of the listed values>"}'

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