# Hermoso: create_salesforce_record · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/create_salesforce_record/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / create_salesforce_record

# `create_salesforce_record`

Create a Salesforce record

Area: Salesforce · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`object` required `"contact" | "lead" | "account" | "opportunity"` contact, lead, account or opportunity

`firstName` `string | null`

`lastName` `string | null`

`email` `string | null`

`phone` `string | null`

`title` `string | null`

`company` `string | null` lead only

`status` `string | null` lead status

`name` `string | null` account or opportunity name

`website` `string | null`

`industry` `string | null`

`stage` `string | null` opportunity StageName

`amount` `number | null`

`closeDate` `string | null` YYYY-MM-DD

`salesforceAccountId` `string | null` the account (001…) a contact or opportunity belongs to

`salesforceOwnerId` `string | null` a user id from list_salesforce_owners

`leadSource` `string | null`

`description` `string | null`

`fields` `object` any 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](https://hermoso.ai/docs/credits/).

## Related tools

- [describe_salesforce_object](https://hermoso.ai/docs/reference/publish/describe_salesforce_object/) Salesforce fields and picklists
- [get_salesforce_record](https://hermoso.ai/docs/reference/publish/get_salesforce_record/) Read one Salesforce record
- [update_salesforce_record](https://hermoso.ai/docs/reference/publish/update_salesforce_record/) Update a Salesforce record
- [list_salesforce_records](https://hermoso.ai/docs/reference/publish/list_salesforce_records/) List or search Salesforce records
- [delete_salesforce_record](https://hermoso.ai/docs/reference/publish/delete_salesforce_record/) Delete a Salesforce record
- [list_salesforce_owners](https://hermoso.ai/docs/reference/publish/list_salesforce_owners/) List Salesforce users
- [log_salesforce_activity](https://hermoso.ai/docs/reference/publish/log_salesforce_activity/) Log an activity in Salesforce
- [sync_leads_to_salesforce](https://hermoso.ai/docs/reference/publish/sync_leads_to_salesforce/) Push lead-form leads into Salesforce

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
