Create call log
The Salesforce Create call log action creates Task records in Salesforce representing calls with key details such as subject, call date, disposition, and comments. This write action creates new Task records only and does not update existing call logs. It returns the Salesforce Task identifier for downstream steps or reference.
Limitations
-
This action creates a new Task record each time it runs. Re-running with similar inputs creates duplicate call logs unless you add your own checks.
-
As with other Salesforce actions, the exact parameter set and behavior can change over time. Confirm how this action behaves in your own environment before you depend on it for large-scale or fully automated call log creation.
Prerequisites
-
Your Salesforce org must be connected as a data source in Glean, and an admin must enable the Salesforce action pack and complete Salesforce Actions Setup including OAuth configuration.
-
Users must authenticate for Salesforce actions on first use and have permission to create Task records and edit relevant fields.
-
For multiple Salesforce orgs, the Salesforce action pack must be configured to use the correct instance.
Supported parameters
| Parameter | Description |
|---|---|
| Call date | Date/time stored on the call log to represent when the call took place. |
| Call disposition | Outcome or status label for the call, using values configured in your Salesforce instance, for example, connected, no answer, left voicemail. |
| Call duration seconds | Duration of the call in seconds |
| Call type | Type of call made. Examples: "Inbound" "Outbound" "Internal" |
| Subject | Short subject line for the call log; used as the Task subject in Salesforce. |
| Comments | Free‑form notes about the conversation, including context, key points, and follow‑ups. |
| What ID | ID of the related record (Account, Opportunity, Case, etc.) associated with the call. |
| Who ID | ID of the Contact or Lead associated with the call. |
Usage example
You just completed a discovery call with a prospective customer and need to log the call details in Salesforce with key discussion points and next steps.
Instruction to an agent:
"Log a call for the Opportunity XYZ Corp Q1 Deal with subject Discovery Call, call type Outbound, duration 30 minutes, disposition Connected - Interested, and include notes: discussed their pain points with current solution, interested in our enterprise tier, scheduling technical demo for next week."
Resulting behavior:
-
Calls a Salesforce search action to find the Opportunity matching "XYZ Corp Q1 Deal".
-
Retrieves the Opportunity ID (for example, "006xx000001234567") and related Contact ID.
-
Calls Create call log with:
-
Subjectset to "Discovery Call". -
Call dateset to current date and time. -
Call typeset to "Outbound". -
Call duration secondsset to 1800 (30 minutes). -
Call dispositionset to "Connected - Interested". -
What IDset to "006xx000001234567" (the Opportunity ID). -
Who IDset to the Contact ID associated with the Opportunity. -
Commentsset to "Discussed their pain points with current solution. Interested in our enterprise tier with advanced features. Scheduling technical demo for next week with their engineering team."
-
-
Creates a new Task record in Salesforce representing the call.
-
Returns the Task ID (for example, "00Txx000001234567").
-
The call log appears in the Salesforce Opportunity's activity history.
-
Team members can view the call details and follow up appropriately.
Workflow tip: Combine this action with Salesforce search to find the right record first. You can also use this in multi-step agents that read meeting transcripts, extract key points, and automatically log calls. For advanced workflows, use the returned Task ID in downstream steps to link related activities or trigger notifications.