Invoking a function Yandex Cloud Functions
Note
Currently, there are two UIs that support Workflows: Yandex Cloud and Yandex AI Studio. In this case, the following applies:
- Workflows created in the Yandex Cloud UI are automatically available in the AI Studio UI.
- Workflows created in the AI Studio UI are not available in the Yandex Cloud UI.
Starting September 3, 2026, Workflows will no longer be supported in the Yandex Cloud UI. To create and manage workflows, use the AI Studio UI.
-
When creating a new workflow or editing an existing one, select
Constructorin the top-right corner of the AI Studio UI. -
Click the Add first step section or the
icon next to the step you want the new one to follow. -
Under Integration steps, select
Yandex Cloud → Cloud Functions. -
On the right side of the window:
- In the Function field, select the function and function version that will be invoked during this step.
-
Optionally, in the Timeout, ms field, set the maximum execution time for the current step.
-
Optionally, to set a custom retry policy for a step, expand the Retry policy section and click
Retry policy. In the form that appears:-
Optionally, in the Initial delay, ms field, set the initial value for a delay between step retries.
-
Optionally, in the Backoff rate field, set the multiplication factor for delay before each step retry.
-
Optionally, in the Maximum delay, ms field, set the value for a maximum delay between step retries.
-
In the Errors field, select the errors for which the step will or will not be retried.
For detailed information about possible errors, see Possible error codes](../concepts/contract.md).
-
Optionally, in the Maximum number of retries field, set the maximum number of step retry attempts.
-
In the Error selection mode field, select:
INCLUDE: Retry executing a step when errors specified in the Errors field occur.EXCLUDE: To retry executing the step on any errors other than those specified in the Errors field.
If you want to delete a retry policy you created for the step earlier, click
and select Retry policy in the Delete row.If no custom retry policy is configured for a step, the retry policy set for the whole workflow will apply.
-
-
Optionally, expand the Additional parameters section:
- Specify a description for the workflow step.
- In the Step input filter field, specify a jq template to filter the workflow state provided to the step.
- In the Step output filter field, specify a jq template to filter the step output data added into the workflow state.
-
Optionally, add an error transition rule for the step you are creating to handle errors you may get during this step.