Create Motion task from tagged Email
Creates a new task in Motion.
Developer info
- API endpoint slug
- motion.create_task
- Filter code method
- Motion.createTask.skip(string?: reason)
- Runtime method
- runAction("motion.create_task", {})
Action fields
Task name Text input > Title
- Label
- Task name
- Helper text
- The name of the task.
- Slug
- task_name
- Required
- true
- Can have default value
- true
- Filter code method
- Motion.createTask.setTaskName(string: task_name)
Description Text input > Long text
- Label
- Description
- Helper text
- The task description. Markdown is supported.
- Slug
- description
- Required
- false
- Can have default value
- true
- Filter code method
- Motion.createTask.setDescription(string: description)
Due date Text input > ISO 8601 date and time
- Label
- Due date
- Helper text
- When the task is due (e.g. "tomorrow 5pm"). Required if the task is auto-scheduled.
- Slug
- due_date
- Required
- false
- Can have default value
- true
- Filter code method
- Motion.createTask.setDueDate(string: due_date)
Duration Text input > Other
- Label
- Duration
- Helper text
- Duration in minutes (e.g. 30), or NONE or REMINDER.
- Slug
- duration
- Required
- false
- Can have default value
- true
- Filter code method
- Motion.createTask.setDuration(string: duration)
Priority Dropdown list
- Label
- Priority
- Helper text
- The task priority.
- Slug
- priority
- Required
- true
- Can have default value
- true
- Filter code method
- Motion.createTask.setPriority(string: priority)
Auto scheduled Dropdown list
- Label
- Auto-schedule this task?
- Helper text
- Let Motion's AI schedule the task automatically. Requires a due date.
- Slug
- auto_scheduled
- Required
- true
- Can have default value
- true
- Filter code method
- Motion.createTask.setAutoScheduled(string: auto_scheduled)
Start date Text input > ISO 8601 date and time
- Label
- Start date
- Helper text
- The earliest date the auto-scheduler may start this task.
- Slug
- start_date
- Required
- false
- Can have default value
- true
- Filter code method
- Motion.createTask.setStartDate(string: start_date)
Deadline type Dropdown list
- Label
- Deadline type
- Helper text
- How strictly the auto-scheduler treats the due date.
- Slug
- deadline_type
- Required
- true
- Can have default value
- true
- Filter code method
- Motion.createTask.setDeadlineType(string: deadline_type)
Schedule Dropdown list
- Label
- Schedule
- Helper text
- Which schedule the auto-scheduler should respect (used only when auto-scheduling).
- Slug
- schedule
- Required
- true
- Can have default value
- false
Status Dropdown list
- Label
- Status
- Helper text
- The task status, or choose Workspace default.
- Slug
- status
- Required
- true
- Can have default value
- false
Assignee Dropdown list
- Label
- Assignee
- Helper text
- The person to assign the task to, or choose Unassigned.
- Slug
- assignee
- Required
- true
- Can have default value
- false
Project Dropdown list
- Label
- Project
- Helper text
- The project to add the task to, or choose No project.
- Slug
- project
- Required
- true
- Can have default value
- false
Labels Checkboxes
- Label
- Labels
- Helper text
- Labels to add to the task.
- Slug
- labels
- Required
- false
- Can have default value
- false
