Creating workflows

Create the workflow by using APIs.

Before you begin

To create workflows within a project, you need admin access. Only admins have the necessary permissions for this activity. If you do not have admin access but hold a custom role, verify that you have the write access. Specifically for the project where you intend to create workflows.

Procedure

  1. In a REST client platform, add the authentication details of the tenant where you want to create a workflow.
    
    //In case of Instance API key 
    Headers:
    {
    "x-instance-api-key": "instance_api_key"
    }
     
    // In case of MCSP or ISV token
    Headers:
    {
    "Authorization": "mcsp_or_isv_token"
    }
  2. Make a POST request at the URL of the project.

    URL Syntax: <domain>/apis/v1/rest/projects/:project/workflows

    Method: POST

    If the request is successful, you receive the response code for success.
    {
    	output :{
    				uid: <workflow_uid>,
    				name: <workflow_name>,
    				description: <workflow_description>
    			}
    	}