Workflow to API

Workflow to API

Once the users have created a workflow of their choice, they can convert the entire workflow into a single API, using workflow to API feature. Users will be able to publish and test the API in the console itself. Here is how you can publish your workflow to an API:

  1. Define Input Parameters: In the advanced tab of the input nodes, check the ‘Use as API input name’ option for each input parameter. Enter the API input parameter name. Repeat this step for each input node if you have multiple inputs.

  2. Define Output Parameters: Similarly, for the output nodes, check the ‘Use as API output name’ option. Enter the API output parameter name.

  3. Publish Workflow: After defining your input and output parameters, publish your workflow.You can see ‘API live” indicating your API available is ready for use.

  4. Test Your API: You can test your API and view the ready-to-use API documentation.

  5. Update Your API: If you need to make changes, you can update your API by modifying the workflow. Any changes will be reflected in the version change ( v1, v2 and so on) next to ‘API live’.

Last updated