Menu
Create Flow
Create a Flow
POST
/flowsUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Create Flow action (under Flows).
- Fill in the fields below, then reference the result from later steps as
{{createFlow.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{createFlow.response.data.<field>}}.
{
"data": {
"id": "2f24211d-d928-469a-aea3-3c8f53d4e426",
"name": "Update Articles Flow",
"icon": "bolt",
"color": null,
"description": "string",
"status": "active",
"trigger": "manual",
"accountability": "$trigger",
"options": null,
"operation": "92e82998-e421-412f-a513-13701e83e4ce",
"date_created": "2022-05-11T13:14:52Z",
"user_created": "63716273-0f29-4648-8a2a-2af2948f6f78"
}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?