Limitations
- 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 business-critical or large-scale note creation.
- This action creates a new note each time it runs. If you re-run an agent on the same record with similar inputs, you may end up with multiple similar notes unless you add your own checks or review steps.
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 notes on the target records.
- For multiple Salesforce orgs, the Salesforce action pack must be configured to use the correct instance.
Supported parameters
| Parameters | Type | Description |
|---|---|---|
| Body | String | Content or main text of the item. |
| Is private | Boolean | Indicates whether the item is private. |
| Owner ID | String | Identifier of the owner of the item. |
| Parent ID | String | Required. Identifier of the parent item. |
| Title | String | Required. Title or name of the item. |
Usage example
You need to document key discussion points from a recent customer call on the relevant Salesforce Opportunity record so your team has context for the upcoming renewal negotiation. Instruction to an agent: “Find the Opportunity for XYZ Corp renewal and create a note summarizing the key points from today’s call: customer requested volume discount, concerned about support response times, interested in premium tier.” Resulting behavior:- Calls a Salesforce search action to find the Opportunity matching “XYZ Corp renewal”.
- Retrieves the Opportunity ID (for example, “006xx000001234567”).
-
Calls Create note with:
-
Parent IDset to “006xx000001234567” (the Opportunity ID). -
Titleset to “Customer Call Summary - Dec 11, 2025”. -
Bodyset to “Key points from today’s call: Customer requested volume discount for renewal. Expressed concerns about support response times. Interested in upgrading to premium tier for additional features.” -
Is privateset to false to share with the team.
-
- Creates a new note record attached to the Opportunity.
- The note appears in the Salesforce Opportunity’s activity feed.
- Team members viewing the Opportunity can see the documented call context.
Troubleshooting
Action is not available in the agent builder
Action is not available in the agent builder
- Possible cause: Salesforce is not connected as a data source, or the Salesforce action pack is not enabled and configured in your Glean deployment.
- Fix: In the Admin console, confirm that Salesforce is connected as a data source and that the Salesforce action pack is enabled under Actions. A Glean admin must complete Salesforce Actions Setup including OAuth configuration and ensure Salesforce actions appear under Actions → By datasource → Salesforce in the agent builder.
Action fails with an authorization or OAuth error
Action fails with an authorization or OAuth error
Notes are created on the wrong record or with unexpected content
Notes are created on the wrong record or with unexpected content
- Possible cause: The agent is not reliably passing the correct Salesforce record identifier into the Salesforce Create note action, or its prompts are too broad, so it pulls context from the wrong place or mixes multiple records together.
- Fix: Update the flow so it clearly identifies and surfaces the target record before calling Salesforce Create note, for example, by adding a prior Salesforce search step and explicit confirmation, and refine the step instructions to pass the exact record ID and a focused, well-scoped summary into the note content.
FAQs
How does this action authenticate to Salesforce?
How does this action authenticate to Salesforce?
Salesforce actions use the Salesforce action pack configuration set up by your admin, which points at an existing Salesforce data source and uses an OAuth app configured in Salesforce. The pack configuration is shared, but each user must authorize Glean to access Salesforce as them the first time they run an agent that uses Salesforce actions.
Can I use this action together with other Salesforce actions?
Can I use this action together with other Salesforce actions?
Yes. You can combine Salesforce Create note with other Salesforce actions such as Search Salesforce with SOQL, Salesforce Search, or Update Salesforce Opportunity in the same agent so that the flow can look up records, update fields, and log notes in a coordinated way.
Does this action run automatically or require user confirmation?
Does this action run automatically or require user confirmation?
Whether this write action can run automatically without explicit user confirmation depends on how your admin has configured in-line execution for write actions in the Admin console.