# Recipe Functions - Call Recipe Function Asynchronously
This action calls a recipe function and then immediately proceeds to the next step in the recipe. Asynchronous calls are useful for use cases where the successive steps don't depend on the outcome of the recipe function's workflow.
If your workflow involves follow-up steps that occur after long asynchronous calls, use the Wait for async calls action to ensure that all asynchronous calls have completed processing.
When using this action, note that:
Calls aren't guaranteed to be executed in order. Use the Recipe functions - Call recipe function (synchronous) action if your workflow requires steps to be called in sequence.
This action doesn't produce
resultoutput. As async calls don't wait for a response, this action won't output any
If your workflow requires data from an asynchronously called recipe function, you can use Lookup table actions as a workaround.
Check out the workaround!1
Create a new lookup table in your account with columns to store:
- Recipe IDs
- Job IDs
- Data to pass back to the parent recipe
In the recipe function:1
Add a Add a lookup table entry action step.2
Select the lookup table you created in step 1.3
Configure the action to store the recipe ID, job ID, and the data to pass back to the parent recipe in the lookup table.
The recipe function should look similar to this:3
In the parent recipe:1
Add a Call recipe function (asynchronous) action step and configure it to call the recipe function.2
Add a Wait for async calls action step and configure it to wait for the recipe function to finish.3
Add a Search for lookup table entries action step and configure it to retrieve the entry added by the recipe function.
The parent recipe should look similar to this:
|Recipe function||Select from a list of Recipe functions in your workspace.|
|Recipe input||The fields defined in the selected Recipe function's Input schema.|
|Connection overrides||Applicable only if the Runtime user connections setting is enabled in the selected Recipe function.
Specify the name or ID of the connection to use when the recipe is run. Learn more.
|Job reference||A job reference ID. Note: This is not the job ID.|
|Job URL||The URL of the created job.|