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
| Name | Type | Description |
|---|---|---|
| DG Id of Salesforce Token | String | Id of Salesforce Token stored in DG |
| API Key | String | DG API key |
| API Secret | String (sensitive) | DG API Secret |
| Region | String | DG region to use: us/eu Possible values: us, eu. |
Outputs
| Name | Type | Description |
|---|---|---|
| Salesforce Access Token | String | Salesforce Access Token that can be used to access a resource |
| Salesforce Instance Url | String | Salesforce Instance URL that can be used for subsequent API calls |
| Success | Boolean | Successfully 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.