younifyd
Menu

Assign Content Item Workflow State

Assigning a Workflow State

PATCH/content-items/{contentItemId}/workflow

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Assign Content Item Workflow State action (under Content Items).
  3. Fill in the fields below, then reference the result from later steps as {{assignContentItemWorkflowState.response.data}}.

Request

Path parameters

contentItemIdstringrequired

Content Item ID

Request body

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

versionintegerrequired

Version to unarchive

statestringrequired

Workflow State ID

json
{
  "version": 1,
  "state": "00112233445566778899aabb"
}

Response

Returns 200 with a any. Read it in later steps with {{assignContentItemWorkflowState.response.data.<field>}}.

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