Task Trigger
Trigger workflows when tasks are created, updated, or deleted in Last Mile Intelligence. Task triggers support advanced filtering by workflow and field conditions.
Resource
Section titled “Resource”task
Available Actions
Section titled “Available Actions”| Action | Description |
|---|---|
created | Trigger when a task is created |
updated | Trigger when a task is updated |
deleted | Trigger when a task is deleted |
Filtering Options
Section titled “Filtering Options”Workflow Filter
Section titled “Workflow Filter”Filter tasks by a specific workflow. Only tasks belonging to the selected workflow will trigger the webhook.
Field Conditions
Section titled “Field Conditions”Add conditions to filter which tasks trigger the webhook:
| Field | Description |
|---|---|
after.assignee_id | Assigned user ID |
after.completed_at | Completion timestamp |
after.description | Task description |
after.due_date | Due date |
after.labels | Task labels |
after.organization_id | Organization ID |
after.priority | Priority level |
after.status_id | Status ID |
after.title | Task title |
after.workflow_id | Workflow ID |
Operators
Section titled “Operators”| Operator | Description |
|---|---|
eq | Equals |
ne | Not equals |
in | Value is in list |
contains | Contains substring |
startsWith | Starts with |
endsWith | Ends with |
gt | Greater than |
gte | Greater than or equal |
lt | Less than |
Event Payload
Section titled “Event Payload”{ "event": "task.updated", "timestamp": "2024-01-15T10:30:00Z", "data": { "id": "task_abc123", "title": "Deliver to Customer", "status_id": "in_progress", "assignee_id": "user_xyz789", "workflow_id": "wf_delivery" }}Use Cases
Section titled “Use Cases”- Task assignment notifications
- Status change workflows
- Completion triggers
- Escalation automation
- Integration with external systems