Order Trigger
Trigger workflows when orders are created, updated, or deleted in Last Mile Intelligence.
Resource
Section titled “Resource”order
Available Actions
Section titled “Available Actions”| Action | Description |
|---|---|
created | Trigger when an order is created |
updated | Trigger when an order is updated |
deleted | Trigger when an order is deleted |
Configuration
Section titled “Configuration”Select one or more actions to subscribe to. The workflow will trigger when any of the selected actions occur.
Event Payload
Section titled “Event Payload”{ "event": "order.created", "timestamp": "2024-01-15T10:30:00Z", "data": { "id": "order_abc123", "customer_id": "cust_xyz789", "status": "pending", "total": 1500.00 }}Use Cases
Section titled “Use Cases”- Sync orders to external ERP systems
- Send notifications on new orders
- Trigger fulfillment workflows
- Update analytics dashboards