Salesforce Login

Authenticates with a stored Salesforce connection in DigitalGenius and returns an access token and instance URL. Run it first so later Salesforce actions in the flow can call the Salesforce API.

What it does

  • Uses a stored Salesforce token reference (managed in DigitalGenius) to log in.
  • Returns a Salesforce access token and the instance URL for the connected org.
  • Provides the credentials that other Salesforce actions need to run.

Inputs

NameTypeDescription
DG Id of Salesforce TokenStringId of Salesforce Token stored in DG
API KeyStringDG API key
API SecretString (sensitive)DG API Secret
RegionStringDG region to use: us/eu Possible values: us, eu.

Outputs

NameTypeDescription
Salesforce Access TokenStringSalesforce Access Token that can be used to access a resource
Salesforce Instance UrlStringSalesforce Instance URL that can be used for subsequent API calls
SuccessBooleanSuccessfully run or not

Notes

  • Run this before any other Salesforce action in the flow.
  • The access token is short-lived, so call this action again if a later Salesforce call fails with an authentication error.

API reference