Integration reference
Salesforce Trigger and Action reference
Start Workflows from new, updated, or deleted Salesforce records and manage standard or custom objects through REST, SOQL, SOSL, and composite APIs.
Authentication
Install the FastHook Packaged External Client App in the Salesforce organization, then connect an authorized Salesforce user through OAuth. FastHook stores the access and refresh tokens encrypted.
- Trigger account type:
oauth2; reconnect byoauth. - Action connection type:
oauth2; available modes: Connected Salesforce account.
Create or reuse the account from a Trigger or Action dialog, or manage it under Settings → Connected accounts. See Authentication and permissions for scopes and access diagnostics, or Connected accounts for reuse, reconnect, revocation, and credential rotation.
Scopes and permissions
Base Trigger authorization requests: api, refresh_token.
View 2 OAuth scopes used by current Actions
api, refresh_token
View 2 provider permissions or credential requirements
api, refresh_token
Operation-specific requirements appear in the tables below. Custom event selections can add scopes dynamically, so the current Trigger or Action dialog remains authoritative for the exact consent request.
Use Salesforce as a Trigger
The current provider manifest contains 9 available Trigger definitions. Representative definitions include:
- New Record
- Updated Record
- Deleted Record
- New Lead
- New Opportunity
View all 9 available Trigger definitions
| Trigger | Manifest key | Delivery | Additional scopes |
|---|---|---|---|
| New Record | salesforce.new_record.polling | polling | api, refresh_token |
| Updated Record | salesforce.updated_record.polling | polling | api, refresh_token |
| Deleted Record | salesforce.deleted_record.polling | polling | api, refresh_token |
| New Lead | salesforce.new_lead.polling | polling | api, refresh_token |
| New Contact | salesforce.new_contact.polling | polling | api, refresh_token |
| New Account | salesforce.new_account.polling | polling | api, refresh_token |
| New Opportunity | salesforce.new_opportunity.polling | polling | api, refresh_token |
| Updated Opportunity | salesforce.updated_opportunity.polling | polling | api, refresh_token |
| New Case | salesforce.new_case.polling | polling | api, refresh_token |
Choose the narrowest event definition that fits the Workflow. Configure provider-specific resource and event filters in the Source dialog before adding broader Workflow Filters.
Use Salesforce Actions
The current Action manifest contains 12 operations. Representative Actions include:
- Create Record
- Update Record
- Upsert Record
- Run SOQL Query
- Create Multiple Records
View all 12 available Action definitions
| Action | Manifest key | Access and auth | Manifest rate limit |
|---|---|---|---|
| List Objects | salesforce.list_objects | api, refresh_tokenFastHook-managed account | 10/second |
| Describe Object | salesforce.describe_object | api, refresh_tokenFastHook-managed account | 10/second |
| Create Record | salesforce.create_record | api, refresh_tokenFastHook-managed account | 10/second |
| Get Record | salesforce.get_record | api, refresh_tokenFastHook-managed account | 10/second |
| Update Record | salesforce.update_record | api, refresh_tokenFastHook-managed account | 10/second |
| Upsert Record | salesforce.upsert_record | api, refresh_tokenFastHook-managed account | 10/second |
| Delete Record | salesforce.delete_record | api, refresh_tokenFastHook-managed account | 10/second |
| Run SOQL Query | salesforce.query | api, refresh_tokenFastHook-managed account | 10/second |
| Run SOSL Search | salesforce.search | api, refresh_tokenFastHook-managed account | 10/second |
| Create Multiple Records | salesforce.composite_create_records | api, refresh_tokenFastHook-managed account | 10/second |
| Get Recently Updated Records | salesforce.get_recently_updated | api, refresh_tokenFastHook-managed account | 10/second |
| Custom API Request | salesforce.custom_api_request | api, refresh_tokenFastHook-managed account | 10/second |
The Action editor reads its required permissions, fields, remote resource pickers, output schema, and rate limit from the provider manifest. Available fields can change with the selected operation and authentication mode.
Build a Workflow
- Create a Source using a Salesforce Trigger definition.
- Create a Workflow with that Source as its Trigger.
- Add the required Salesforce Action and select the connected account.
- Map Trigger or earlier-Step data into the Action fields with the field picker.
- Add a Filter, Paths, Delay, or Transformation when the route needs it.
- Activate the Workflow, produce a controlled event, and verify the run in Audit and in Salesforce.
Troubleshooting Salesforce
- The account is missing or cannot be selected
- Confirm the active FastHook team, provider, account status, and authentication mode. A disabled or revoked account cannot execute an Action.
- A resource picker is empty
- Verify that the connected provider identity can access the resource itself. OAuth consent does not add workspace, repository, channel, drive, project, base, or record permissions.
- The editor asks for additional scopes
- Reconnect the same account from the affected Trigger or Action so FastHook can request its current manifest scopes. Then reopen the editor and select the resource again.
- An active Workflow returns 401, 403, or a permission error
- Compare the selected operation’s access requirements below with the account recorded in Audit. Check provider-side membership and object access before repeating the Action.
- The provider returns 429 or a temporary 5xx
- Inspect the Step attempt and retryability in Audit. FastHook can retry temporary failures, but provider quotas and idempotency rules still apply.
Provider-specific checks
- FastHook loads the connected organization's objects and fields through Salesforce Describe metadata, including custom objects and custom fields.
- Polling Sources establish a baseline on the first check and then request changes every five minutes. Deleted-record history is limited by Salesforce's deleted-record retention window.
- The connected user must have API access plus object-level and field-level permissions for every record the Workflow reads or writes.
- Create Multiple Records uses Salesforce Composite SObject Collections and accepts up to 200 records per request.
- Custom API Request stays on the OAuth instance URL and the negotiated REST API version; it cannot override the host or Authorization header.
- Record output schemas stay open because each Salesforce organization can define different custom objects and fields. Describe Object returns the authoritative runtime schema.