Actions81
- Users Actions
- Organizations Actions
- Representatives Actions
- Bridge Actions
- Platforms Actions
- Tools Actions
- User Invites Actions
- Customers Actions
- Paykeys Actions
- Reports Actions
- Charge Actions
- Funding Events Actions
- Payments Actions
- Payout Actions
- Accounts Actions
- Get Account By Id
- put__v1_accounts_account_id
- Create Account
- get__v1_accounts
- post__v1_accounts_account_id_onboard
- post__v1_accounts_account_id_simulate
- patch__v1_internal_accounts_account_id
- get__v1_internal_accounts_account_id
- patch__v1_internal_accounts_account_id_status
- get__v1_internal_accounts_account_id_settings
- Capability Requests Actions
- Linked Bank Accounts Actions
Overview
This node interacts with the Straddle API to initialize a bridge session for a specified customer. It is designed to create an initialization token or session that can be used in workflows requiring secure and scoped access to customer-related operations within the Straddle platform.
Common scenarios where this node is beneficial include:
- Platforms needing to programmatically start a bridge session for a customer.
- Automating onboarding or authentication flows where a temporary token/session must be generated.
- Integrations that require scoped requests tied to specific accounts or customers.
For example, a financial services platform could use this node to initialize a bridge session for a customer before performing further actions like payments or data retrieval.
Properties
| Name | Meaning |
|---|---|
| Straddle Account Id | (Optional) For platforms to specify an account ID to set the scope of the request via header. |
| Request Id | (Optional) Client-generated identifier to trace and debug a single request via header. |
| Correlation Id | (Optional) Client-generated identifier to trace and debug a series of related requests via header. |
| Customer Id | (Required) The customer identifier for whom the token/session is being created; sent in the body. |
Output
The node outputs JSON data representing the response from the Straddle API after initializing the bridge. This typically includes details about the created token/session and any associated metadata returned by the API.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the Straddle API.
- The base URL for API requests is dynamically constructed using the environment value from credentials (e.g.,
https://{environment}.straddle.io). - The node expects standard HTTP headers including
Accept: application/jsonandContent-Type: application/json.
Troubleshooting
- Missing Customer Id: Since
Customer Idis required, omitting it will likely cause the API call to fail. Ensure this property is provided. - Invalid or missing API credentials: Authentication errors may occur if the API key credential is not configured correctly.
- Incorrect environment setting: The base URL depends on the environment parameter; an incorrect environment value will lead to connection failures.
- Header misconfiguration: Optional headers like
Straddle Account Id,Request Id, andCorrelation Idshould be strings if used; invalid values might cause unexpected API behavior. - API errors: The node passes through API error messages. Common issues include invalid customer IDs or permission errors. Review the API response message for guidance.
Links and References
- Straddle API Documentation (Assumed official docs for more details on bridge initialization)
- n8n documentation on HTTP Request Node for understanding how API calls are made within n8n nodes.