log_salesforce_activity
Log an activity in Salesforce
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 |
|---|---|---|
recordIdrequired | string | a contact, lead, account or opportunity id |
bodyrequired | 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.
Related tools
list_salesforce_ownersList Salesforce userssync_leads_to_salesforcePush lead-form leads into Salesforcedescribe_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