workflows

Create Many workflows

post/batch/workflows

Request

  • Base URL: https://twenty.mardu.systems/rest
  • URL: https://twenty.mardu.systems/rest/batch/workflows
  • Auth: HTTP bearer

Query parameters

depth0 | 1

Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations

upsertboolean

If true, creates the object or updates it if it already exists.

Request body

namestring

The workflow name

lastPublishedVersionIdstring

The workflow last published version id

statusesstring[]

The current statuses of the workflow versions

positionnumber

Workflow record position

Example request

[
  {
    "name": "Workflow name",
    "statuses": [
      "DRAFT"
    ],
    "versions": null,
    "runs": null,
    "automatedTriggers": null,
    "favorites": null,
    "timelineActivities": null,
    "attachments": null
  }
]

Response

Successful operation

Changes

No recorded changes to this operation across all 1 revision of this API.