Workflow to API
Last updated
Last updated
Once the users have created a workflow of their choice, they can publish 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:
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.
Define Output Parameters: Similarly, for the output nodes, check the ‘Use as API output name’ option. Enter the API output parameter name.
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.
Test Your API: You can test your API and view the ready-to-use API documentation.
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’.