UiPath Documentation
maestro-automate
latest
false
Maestro Automate user guide

API Workflow

API Workflow node for calling a deployed UiPath API workflow and using its output, with its configuration fields and output variables.

Invokes a UiPath Studio Web API workflow and returns its output.

Choosing between API Workflow and HTTP Request​

Use the API Workflow node when the logic you need to call is built as an API workflow and deployed, for example structured data processing or multi-step integrations authored by your team. Use the HTTP Request node when you are calling any external Representational State Transfer (REST) endpoint outside the UiPath Platform.

Configuration​

FieldRequiredDescription
API workflowYesThe Studio Web API workflow to invoke. Select from the list of deployed API workflows in your organization.
InputNoKey-value pairs mapped to the API workflow's input parameters. Supports variable references.
TimeoutNoMaximum time to wait for the workflow to complete.

Output variables​

VariableDescription
outputThe response returned by the API workflow, according to its output schema.
errorError details when the call fails. Use it with error handling to branch on failures.

Examples​

Reference the API workflow's output downstream with an expression:

$vars.apiWorkflow1.output
$vars.apiWorkflow1.output

To use a single field from the output, append the field name defined by the API workflow's output schema, for example $vars.apiWorkflow1.output.<field>.

Common issues​

IssueResolution
API workflow not listed in the dropdownMake sure the API workflow is deployed and you have permission to call it.
Timeout errorIncrease the Timeout value or make the API workflow faster.
Input type mismatchCheck that the variable types you are passing match the API workflow's declared input parameter types.

Next steps​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated