Actions17
Task → Create
AI-generatedSummary
Create a new task in the Flex system with specified details and assign it to designated performers.
Inputs
- Task Title (required) — Title of the task to be created.
- Task Description — Detailed description of the task.
- Task Partner — Optional partner related to the task; leave empty for null.
- Task Priority — Numeric priority level of the task, defaulting to 2.
- Scheduled Start — Date and time when the task is scheduled to start.
- Deadline — Deadline date and time for completing the task.
- Needs Approval From Creator — Boolean flag indicating if the task requires approval from its creator.
- Executor Type — Defines how the task executors are assigned; options are 'First Acceptor' or 'Everyone', defaulting to 'First Acceptor'.
- Task Performers — User and organization IDs for the performers assigned to the task.
Output shape
a single JSON object representing the created task as returned by the Flex API
The response includes the task data returned from the Flex API upon a successful HTTP POST request to create the task. If the Task Partner is left empty, it is sent as null to the API. DateTime inputs are converted to ISO 8601 format (YYYY-MM-DD HH:mm:ss) before submission. Task Performers with user and organization IDs are passed as a users array in the request body.
Examples
Example 1: Create a high-priority task with a title, description, scheduled start, deadline, executor type as 'Everyone', requiring approval, and assign it to a specific user and organization.
Set 'Task Title', optionally 'Task Description', 'Task Priority' (e.g., 1), 'Scheduled Start' and 'Deadline' date/time, choose 'Executor Type' as 'Everyone', enable 'Needs Approval From Creator', and provide user and organization IDs under 'Task Performers'.