Nango
Run Nango syncs and actions and manage Nango connections.
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
Nango
Environment API key
Nango
Connect to Nango with an Environment API key to run syncs and actions.
Set up in Nango
Prepare the Nango account or service that the workflow will access. Grant access to the required resources and operations.
Environment API key: Create an Environment API key in Nango with the required environment scopes, then paste it here.
Set up in StackAI
Open Settings → Connections, add a connection, and select Nango.
Enter the credentials and connection details in the fields below.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
Connection fields
Environment API key
Yes
Create an Environment API key in Nango with the required environment scopes, then paste it here. Provider instructions.
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Use an action
Add the required Nango action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
Trigger Sync
Run one selected deployed sync now for a Nango connection.
Required permissions: environment:syncs:execute.
Inputs
Integration
select (string)
Yes
The Nango integration whose sync should run. Options load from the selected connection.
Nango connection
select (string)
Yes
The connected account to sync. Options load from the selected connection.
Sync
select (string)
Yes
The deployed sync to run. Options load from the selected connection.
Reset sync state
boolean
No
Clear the checkpoint and restart the sync from the beginning. Default: false.
Empty cached records
boolean
No
Delete cached records before the reset sync runs. Default: false.
Outputs
Triggered
boolean
Whether Nango accepted the sync trigger.
Get Sync Records
Retrieve cached records produced by a Nango sync.
Required permissions: environment:records:read.
Inputs
Integration
select (string)
Yes
The Nango integration that produced the records. Options load from the selected connection.
Nango connection
select (string)
Yes
The connected account whose records should be read. Options load from the selected connection.
Model
select (string)
Yes
The deployed sync model to retrieve. Options load from the selected connection.
Cursor
string
No
Resume after a cursor returned by an earlier call.
Maximum records
integer
No
Maximum records to return in this action call. Minimum: 1. Default: 100.
Record IDs
array
No
Record IDs to include.
Outputs
Records
object_array
The synced records as data and Nango metadata objects.
Next cursor
string
Opaque cursor for the next records call.
List Connections
Find Nango connections without exposing their credentials.
Inputs
Search
string
No
Partially match connection IDs or end-user profiles.
Nango connection ID
string
No
Return only connections with this exact ID.
Maximum connections
integer
No
Maximum connections to return from this page. Minimum: 1. Maximum: 100. Default: 100.
Page
integer
No
Zero-based Nango result page to retrieve. Minimum: 0. Default: 0.
Outputs
Connections
object_array
Connection metadata, integration IDs, tags, and health errors.
Next page
integer
Page number to use when more connections may be available.
Delete Connection
Remove a Nango connection and stop its scheduled syncs.
Required permissions: environment:connections:delete.
Inputs
Integration
select (string)
Yes
The integration that owns the connection. Options load from the selected connection.
Nango connection
select (string)
Yes
The connection to remove. Options load from the selected connection.
Confirm deletion
boolean
Yes
Confirm that this connection should become inaccessible immediately. Default: false.
Outputs
Deleted
boolean
Whether Nango accepted the connection deletion.
Trigger Action
Run a deployed Nango action for one connection.
Required permissions: environment:actions:execute.
Inputs
Integration
select (string)
Yes
The Nango integration that defines the action. Options load from the selected connection.
Nango connection
select (string)
Yes
The connected account to use for the action. Options load from the selected connection.
Action name
select (string)
Yes
The exact deployed Nango action to run. Options load from the selected connection.
Action input
textarea
No
JSON object expected by the deployed action. Default: {}.
Outputs
Result
object
The JSON value returned by the deployed action.
Important behavior
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

