Portal Community

case/get

Retrieve a single Case record from Salesforce by its ID.

When to Use

Configuration

Connection

FieldTypeRequiredDescription
InstanceUrlstringrequiredSalesforce org URL.
AccessTokenstringrequiredValid OAuth2 access token.

Operation Fields

FieldTypeRequiredDescription
CaseIdstringrequired18-character Salesforce Case ID.

Sample Configuration

{
  "Resource": "case",
  "Operation": "get",
  "InstanceUrl": "https://myorg.my.salesforce.com",
  "AccessToken": "{{credentials.salesforce.accessToken}}",
  "CaseId": "{{nodes.CreateCase.caseId}}"
}

Validation Errors

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

Output

Success Port

FieldTypeDescription
IdstringSalesforce Case ID.
CaseNumberstringHuman-readable case number.
SubjectstringCase subject.
StatusstringCurrent case status.
PrioritystringCase priority.
AccountIdstringLinked Account ID.
ContactIdstringLinked Contact ID.
OwnerIdstringCase owner User ID.
IsClosedboolWhether the case is closed.
CreatedDatestringISO 8601 creation timestamp.

Error Port

FieldTypeDescription
errorCodestringMachine-readable error code.
messagestringError description.

Sample Output

{
  "Id": "5005g000007VwxYZA",
  "CaseNumber": "00001234",
  "Subject": "Login issue after password reset",
  "Status": "Working",
  "Priority": "High",
  "AccountId": "0015g000007HijKAB",
  "ContactId": "0035g000006LmnOPQ",
  "IsClosed": false,
  "OwnerId": "0055g000007AbcDEF",
  "CreatedDate": "2026-05-26T13:00:00.000Z"
}

Expression Reference

ExpressionDescription
{{nodes.GetCase.Status}}Current case status.
{{nodes.GetCase.Priority}}Case priority.
{{nodes.GetCase.IsClosed}}Whether the case is closed.
{{nodes.GetCase.CaseNumber}}Human-readable case number.

Node Policies & GuardRails

PolicyDetail
Credential storageStore AccessToken in BizFirst Credentials Manager.
Not Found handlingNon-existent case IDs route to the error port. Always handle it.
Read permissionsAuthenticated user must have Read access on Case object.
Error port wiringAlways wire the error port.
Sandbox testingTest in sandbox before production.

Examples

Send Confirmation Email with Case Number

{
  "CaseId": "{{nodes.CreateCase.caseId}}"
}
// Email: "Your case {{nodes.GetCase.CaseNumber}} has been created with priority {{nodes.GetCase.Priority}}"

Escalation Check

{
  "CaseId": "{{trigger.caseId}}"
}
// IfCondition: {{nodes.GetCase.Priority}} == 'High' AND {{nodes.GetCase.IsClosed}} == false
// Then: notify support manager via Slack

Route by Priority

{
  "CaseId": "{{trigger.caseId}}"
}
// Switch node on {{nodes.GetCase.Priority}}:
// High → VIP support queue
// Medium → standard queue
// Low → self-service portal