How to run actions asynchronously with Nango
Execution mode | Pros | Cons | Best fit for |
---|---|---|---|
Synchronous |
|
|
|
Asynchronous |
|
|
|
X-Async
header or use the triggerActionAsync
SDK method.
X-Max-Retries
header (the value must be between 0 and 5):
404
error if the action has not completed yet200
with the actual result data once the action completes successfully500
with an error once the action completes with a failureAsync action completed
webhook for your environment