younifyd
Menu

Update Workflow

Update a workflow

PUT/v2/projects/{environment_id}/workflows/{workflow_id}

Use it in a workflow

  1. Add a step and choose the Kontent.ai connector.
  2. Pick the Update Workflow action (under Workflows).
  3. Fill in the fields below, then reference the result from later steps as {{updateWorkflow.response.data}}.

Request

Path parameters

environment_idstringrequired

Environment (project) ID.

workflow_idstringrequired

Workflow ID.

Request body

Enter the body as JSON in the step's Body field.

namestringrequired
codenamestring
scopesarray<object>required
stepsarray<object>required
published_stepobjectrequired
archived_stepobjectrequired
json
{
  "name": "string",
  "scopes": [
    {}
  ],
  "steps": [
    {}
  ],
  "published_step": {},
  "archived_step": {},
  "codename": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{updateWorkflow.response.data.<field>}}.

Need more? See the Kontent.ai guide for connection setup and behaviour shared by every action.

Was this page helpful?