How to Run an API Call in the Background Without Stopping the Flow?

I have an API call within my flow that is quite resource-intensive and takes some time to complete. Ideally, I’d like to run this API call in asynchronous mode

Comments

  • Hello!

    To run your resource-intensive API call asynchronously, you should create a subflow specifically for that API call. In the Run Sub Flow step, enable the "Run Flow Async And Wait" option in the Settings.

    This configuration allows the subflow to run on a separate thread while the main flow continues executing without waiting for the API call to finish. It is particularly useful for tasks like API calls that return large amounts of data or operations involving loops or branches.

    For more information, check out the official documentation:

    Using Subflows - Run Flow Async And Wait Option

Sign In or Register to comment.