Portal Community

account/get

Retrieve a single Salesforce Account record by its ID.

When to Use

Configuration

Connection

FieldTypeRequiredDescription
InstanceUrlstringrequiredSalesforce org URL.
AccessTokenstringrequiredValid OAuth2 access token. Store in BizFirst Credentials Manager.

Operation Fields

FieldTypeRequiredDescription
AccountIdstringrequired18-character Salesforce Account ID.

Sample Configuration

{
  "Resource": "account",
  "Operation": "get",
  "InstanceUrl": "https://myorg.my.salesforce.com",
  "AccessToken": "{{credentials.salesforce.accessToken}}",
  "AccountId": "{{nodes.ConvertLead.accountId}}"
}

Validation Errors

Error CodeCondition
CFG_INVALIDNode settings could not be resolved.
CFG_MISSING_INSTANCEInstanceUrl is missing or empty.
CFG_MISSING_TOKENAccessToken is missing or empty.
VAL_MISSING_FIELDAccountId is missing or empty.
UNEXPECTED_ERRORUnexpected exception during execution.

Output

Success Port

Returns the full Account field set from the Salesforce REST API. Key fields include:

FieldTypeDescription
IdstringSalesforce Account ID.
NamestringAccount name.
TypestringAccount type.
IndustrystringIndustry classification.
WebsitestringCompany website.
PhonestringMain phone number.
BillingCitystringBilling city.
BillingCountrystringBilling country.
OwnerIdstringSalesforce User ID of the account owner.
CreatedDatestringISO 8601 creation timestamp.

Error Port

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

Sample Output

{
  "Id": "0015g000007HijKAB",
  "Name": "Acme Corporation",
  "Type": "Customer",
  "Industry": "Technology",
  "Website": "https://acme.com",
  "Phone": "+1-555-0200",
  "BillingCity": "San Francisco",
  "BillingState": "CA",
  "BillingCountry": "US",
  "NumberOfEmployees": 1200,
  "AnnualRevenue": 50000000,
  "OwnerId": "0055g000007AbcDEF",
  "CreatedDate": "2026-03-15T09:00:00.000Z"
}

Expression Reference

ExpressionDescription
{{nodes.GetAccount.Id}}Salesforce Account ID.
{{nodes.GetAccount.Name}}Account name.
{{nodes.GetAccount.OwnerId}}Account owner user ID.
{{nodes.GetAccount.BillingCity}}Billing city for address use.

Node Policies & GuardRails

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

Examples

Populate Contract with Account Data

After a deal is won, retrieve the account details and populate a contract document template.

{
  "AccountId": "{{nodes.CloseOpportunity.accountId}}"
}
// Downstream: document template uses {{nodes.GetAccount.Name}}, {{nodes.GetAccount.BillingStreet}}

Pre-Check Before Creating Contact

Verify the account exists before creating a linked contact.

{
  "AccountId": "{{trigger.accountId}}"
}
// IfCondition: {{nodes.GetAccount.Id}} != null — then proceed to contact/create

Fetch Owner for Notification

Get the account and use its OwnerId to look up the account executive's email for a Slack or email notification.

{
  "AccountId": "{{trigger.accountId}}"
}
// Next: user lookup node uses {{nodes.GetAccount.OwnerId}}