Portal Community

contact/get

Retrieve a single Contact record from Salesforce by its ID.

When to Use

Configuration

Connection

FieldTypeRequiredDescription
InstanceUrlstringrequiredSalesforce org URL.
AccessTokenstringrequiredValid OAuth2 access token.

Operation Fields

FieldTypeRequiredDescription
ContactIdstringrequired18-character Salesforce Contact ID.

Sample Configuration

{
  "Resource": "contact",
  "Operation": "get",
  "InstanceUrl": "https://myorg.my.salesforce.com",
  "AccessToken": "{{credentials.salesforce.accessToken}}",
  "ContactId": "{{nodes.ConvertLead.contactId}}"
}

Validation Errors

Error CodeCondition
CFG_MISSING_INSTANCEInstanceUrl is missing.
CFG_MISSING_TOKENAccessToken is missing.
VAL_MISSING_FIELDContactId is missing.
UNEXPECTED_ERRORUnexpected exception.

Output

Success Port

FieldTypeDescription
IdstringSalesforce Contact ID.
FirstNamestringFirst name.
LastNamestringLast name.
EmailstringEmail address.
PhonestringOffice phone.
MobilePhonestringMobile phone.
TitlestringJob title.
DepartmentstringDepartment.
AccountIdstringLinked Account ID.
OwnerIdstringContact owner User ID.
CreatedDatestringISO 8601 creation timestamp.

Error Port

FieldTypeDescription
errorCodestringMachine-readable error code.
messagestringHuman-readable error description.

Sample Output

{
  "Id": "0035g000006LmnOPQ",
  "FirstName": "Alex",
  "LastName": "Rivera",
  "Email": "alex.rivera@acme.com",
  "Phone": "+1-555-0300",
  "Title": "Director of Procurement",
  "Department": "Finance",
  "AccountId": "0015g000007HijKAB",
  "OwnerId": "0055g000007AbcDEF",
  "CreatedDate": "2026-05-26T11:30:00.000Z"
}

Expression Reference

ExpressionDescription
{{nodes.GetContact.Email}}Contact email address.
{{nodes.GetContact.AccountId}}Linked Account ID.
{{nodes.GetContact.FirstName}}Contact first name.

Node Policies & GuardRails

PolicyDetail
Credential storageStore AccessToken in BizFirst Credentials Manager.
Not Found handlingIf the contact ID does not exist, the node routes to the error port. Always handle it.
Read permissionsAuthenticated user must have Read access to the Contact object.
Error port wiringAlways wire the error port.
Sandbox testingTest in sandbox before production.

Examples

Personalize Email After Case Creation

{
  "ContactId": "{{nodes.CreateCase.contactId}}"
}
// Email: "Hi {{nodes.GetContact.FirstName}}, your case has been received..."

Pre-Check Before Opportunity Update

{
  "ContactId": "{{trigger.contactId}}"
}
// IfCondition: {{nodes.GetContact.AccountId}} == {{trigger.expectedAccountId}}

Fetch Mailing Address for Shipping

{
  "ContactId": "{{trigger.contactId}}"
}
// Shipping node: {{nodes.GetContact.MailingStreet}}, {{nodes.GetContact.MailingCity}}