Portal Community

account/create

Create a new Account record in Salesforce representing a company or organization.

When to Use

Configuration

Connection

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

Operation Fields

FieldTypeRequiredDescription
NamestringrequiredAccount name (company name).
TypestringoptionalAccount type picklist, e.g. Customer, Partner, Prospect.
IndustrystringoptionalIndustry classification picklist.
WebsitestringoptionalCompany website URL.
PhonestringoptionalMain phone number.
BillingStreetstringoptionalBilling address street.
BillingCitystringoptionalBilling city.
BillingStatestringoptionalBilling state or province.
BillingPostalCodestringoptionalBilling postal code.
BillingCountrystringoptionalBilling country.
AnnualRevenuedecimaloptionalAnnual revenue figure.
NumberOfEmployeesintoptionalEmployee headcount.
DescriptionstringoptionalFree-text description.
OwnerIdstringoptionalSalesforce User ID to assign as account owner.

Sample Configuration

{
  "Resource": "account",
  "Operation": "create",
  "InstanceUrl": "https://myorg.my.salesforce.com",
  "AccessToken": "{{credentials.salesforce.accessToken}}",
  "Name": "Acme Corporation",
  "Type": "Customer",
  "Industry": "Technology",
  "Website": "https://acme.com",
  "Phone": "+1-555-0200",
  "BillingStreet": "123 Main St",
  "BillingCity": "San Francisco",
  "BillingState": "CA",
  "BillingPostalCode": "94105",
  "BillingCountry": "US",
  "NumberOfEmployees": 1200,
  "AnnualRevenue": 50000000
}

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_FIELDName is missing or empty.
UNEXPECTED_ERRORUnexpected exception during execution.

Output

Success Port

FieldTypeDescription
accountIdstring18-character Salesforce ID of the newly created Account.
createdAtstringISO 8601 creation timestamp.
statusstringAlways created on success.
resourcestringAlways account.
operationstringAlways create.

Error Port

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

Sample Output

{
  "accountId": "0015g000007HijKAB",
  "createdAt": "2026-05-26T11:00:00.000Z",
  "status": "created",
  "resource": "account",
  "operation": "create"
}

Expression Reference

ExpressionDescription
{{nodes.CreateAccount.accountId}}The Salesforce Account ID of the created record.
{{nodes.CreateAccount.createdAt}}Creation timestamp.
{{nodes.CreateAccount.status}}Operation status.
{{nodes.CreateAccount.errorCode}}Error code from error port.

Node Policies & GuardRails

PolicyDetail
Credential storageStore AccessToken in BizFirst Credentials Manager.
Duplicate preventionCheck for existing accounts by name or website before creating to avoid duplicates. Use SOQL or Salesforce duplicate rules.
Picklist validationType and Industry values must match picklist entries in the org.
Error port wiringAlways wire the error port. Org validation rules and duplicate detection rules can block creation.
Sandbox testingTest in sandbox before running in production.

Examples

Create Account on Customer Sign-Up

When a new enterprise customer signs up, a webhook triggers the workflow that creates their Salesforce account.

{
  "Name": "{{trigger.companyName}}",
  "Type": "Customer",
  "Website": "{{trigger.website}}",
  "Phone": "{{trigger.phone}}",
  "Industry": "{{trigger.industry}}"
}

Sync from LinkedIn Enrichment

An enrichment service returns company data. Map fields to the account node to create the Salesforce record.

{
  "Name": "{{nodes.Enrich.companyName}}",
  "Industry": "{{nodes.Enrich.industry}}",
  "NumberOfEmployees": "{{nodes.Enrich.headcount}}",
  "AnnualRevenue": "{{nodes.Enrich.revenue}}",
  "Website": "{{nodes.Enrich.website}}"
}

Legacy CRM Migration

A Loop node iterates over CSV rows. For each row, call account/create and store the returned accountId for use in subsequent contact and opportunity creation steps.

{
  "Name": "{{loop.current.company_name}}",
  "BillingStreet": "{{loop.current.address}}",
  "BillingCity": "{{loop.current.city}}",
  "BillingCountry": "{{loop.current.country}}"
}