Update contact
The Salesforce Update contact action updates existing contact records in your connected Salesforce org. This action updates only the specified fields and does not overwrite unspecified fields on the contact.
Limitations
- As with other Salesforce actions, the exact parameter set, field coverage, and behavior may change over time. Confirm how the action behaves in your environment before relying on it for large-scale or fully automated updates.
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 update Contact records and write to relevant fields.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
| Contact ID | String | Salesforce ID of the Contact record to update. |
| Account ID | String | Updated Account ID association. Leave empty to keep unchanged. |
| First name | String | New first name to set on the contact. |
| Last name | String | New last name. |
| String | Updated email address. | |
| Phone | String | Primary phone number for the contact. |
| Mobile phone number | String | Mobile phone number. |
| Title | String | Job title. |
| Department | String | Department name. |
| Description | String | Free-form description or notes about the contact. |
| Birthdate | String | Contact’s birthdate. |
| Mailing street | String | Street portion of the contact's mailing address. |
| Mailing address (city) | String | City for the mailing address. |
| Mailing address (state/province) | String | State or province for the mailing address. |
| Mailing address (postal code) | String | Postal or ZIP code for the mailing address. |
| Mailing address (country) | String | Country for the mailing address. |
Usage example
You need to update a contact's job details after they changed roles at their company, searching for them first to confirm you have the right person.
Instruction to an agent:
"Find the contact for abc@example.com in Salesforce and update her title to VP of Product, department to Product Management, and phone to 111-555-9999."
Resulting behavior:
-
Calls Search Salesforce with SOQL to find contacts with email "abc@example.com".
-
Retrieves the Contact ID (for example, "003xx000001234567").
-
Calls Update contact with:
-
Contact IDset to "003xx000001234567". -
Titleset to "VP of Product". -
Departmentset to "Product Management". -
Phoneset to "111-555-9999".
-
-
Updates the specified fields on the Contact record.
-
All other fields (First name, Last name, Email, Account association, Mailing address, etc.) remain unchanged.
-
Confirms the contact was updated successfully.
Workflow tip: Always search for the contact first to get the Contact ID before updating. Only the fields you specify will be changed; all other fields remain as they are. Combine this action with Salesforce Search, Search Salesforce with SOQL, Send email, or Log email activity to build complete contact management workflows that find contacts, update their information, and track outreach.