# Hermoso: log_salesforce_activity · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/log_salesforce_activity/. 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/) / log_salesforce_activity

# `log_salesforce_activity`

Log an activity in Salesforce

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

Log something that happened as a completed Task on a Salesforce contact or lead, or on an account or opportunity: body (the text), optional subject, channel (call, email, meeting, whatsapp, sms, instagram, messenger, telegram, other), direction and occurredAt. Read back. Free. Needs Salesforce connected.

## Parameters

Parameter Type Description

`recordId` required `string` a contact, lead, account or opportunity id

`body` required `string`

`subject` `string`

`channel` `"call" | "email" | "meeting" | "whatsapp" | "sms" | "instagram" | "messenger" | "telegram" | "other"`

`direction` `"inbound" | "outbound"`

`occurredAt` `string` ISO date-time; default now

## 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/log_salesforce_activity`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"log_salesforce_activity","arguments":{"recordId":"<string>","body":"<string>"}}}`
**CLI**

`hermoso call log_salesforce_activity --json '{"recordId":"<string>","body":"<string>"}'`

## 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

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

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