Skip to main content

Get contact

The Salesforce get contact action retrieves a single Contact record from your connected Salesforce org by its Salesforce ID. This is a read-only action that returns all available fields on the Contact object without modifying any Salesforce data.

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.

  • The authenticated Salesforce user must have permission to view the target Contact record based on your organization's sharing rules.

Supported parameters

ParameterTypeDescription
Contact IDStringThe unique Salesforce ID of the contact to retrieve. Required.
FieldsStringComma-delimited string of Contact field API names to retrieve. If omitted, all fields are returned. Examples: "Name,Email,Phone" "FirstName,LastName,AccountId,Description"

Usage examples

  • "Get the full details for Salesforce contact ID 003PZ000001rbt8YAA."

  • "Retrieve contact information for John Smith using his Salesforce ID."

  • "Show me all fields for contact ID 003PZ000002xyz9ABC."

Troubleshooting

FAQs