Skip to main content

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

ParameterTypeDescription
Contact IDStringSalesforce ID of the Contact record to update.
Account IDStringUpdated Account ID association. Leave empty to keep unchanged.
First nameStringNew first name to set on the contact.
Last nameStringNew last name.
EmailStringUpdated email address.
PhoneStringPrimary phone number for the contact.
Mobile phone numberStringMobile phone number.
TitleStringJob title.
DepartmentStringDepartment name.
DescriptionStringFree-form description or notes about the contact.
BirthdateStringContact’s birthdate.
Mailing streetStringStreet portion of the contact's mailing address.
Mailing address (city)StringCity for the mailing address.
Mailing address (state/province)StringState or province for the mailing address.
Mailing address (postal code)StringPostal or ZIP code for the mailing address.
Mailing address (country)StringCountry 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 ID set to "003xx000001234567".

    • Title set to "VP of Product".

    • Department set to "Product Management".

    • Phone set 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.

Troubleshooting

FAQs