WORKFLOWS / MILES CAPABILITY MAP
What happens after RC‑4821.pdf hits the broker inbox.
No agent theater. Each workflow below names the real trigger, the durable system steps, the moment a person takes authority, the partner integration required, and the metric that proves it works.
Watch the authority change hands.
The moving signal follows one job from intake to recorded outcome. The orange checkpoint is where policy requires a person—not where the demo quietly assumes one.
A rate confirmation becomes a structured freight job.
The system advances only through the authority assigned to this workflow.
RUNTIME
Ask operations before record creation
Tender email → parsed, classified thread
TRIGGERA broker inbox receives “Load #4821” with a rate confirmation attached.
- 01
Verify the inbound webhook and deduplicate the delivery.
- 02
Store the message in its thread and upload attachments with checksums.
- 03
Link the sender only when email identity resolves to one exact account.
- 04
Start asynchronous document parsing and configurable inbox classification.
- 05
Surface missing data, an unmatched sender, or conflicting terms to an operator.
Pricing PDF → review-ready quote draft
TRIGGERA customer or operator uploads a quote document with line items, totals, dates, and notes.
- 01
Queue the document and retain its source relationship.
- 02
Parse the file into normalized text.
- 03
Extract line items, quantity, unit price, currency, dates, and notes.
- 04
Create a draft quote record tied to the document and customer when resolvable.
- 05
Present the draft for review instead of sending or inventing missing figures.
Inbound request → contextual, human-controlled reply
TRIGGERA customer or carrier replies on an active operational email thread.
- 01
Persist the full thread before an agent activation starts.
- 02
Resolve the sender or new participant with exact-only identity matching.
- 03
Read linked customer and quote context; never manufacture pricing.
- 04
Choose a durable next action: draft, ask a human, pause, or complete.
- 05
Send only when the workflow policy allows it; otherwise leave a reviewable draft.
Open operational item → task + reviewed follow-up
TRIGGERA scheduled routine finds a pending quote, open task, or customer follow-up condition.
- 01
Run the saved schedule and query only the allowlisted customer, quote, task, and meeting tools.
- 02
Evaluate the matching condition against current records.
- 03
Create or update the internal task immediately when policy permits.
- 04
Stage customer-facing email or SMS in draft mode by default.
- 05
Let the owner review, send, edit, or reject the proposed communication.
Inbound SMS → version-safe operator escalation
TRIGGERA driver, carrier, or customer texts an operational exception to a business number.
- 01
Persist the inbound message and increment the conversation revision.
- 02
Link a customer only on a unique exact phone match.
- 03
Start or signal the thread-specific background agent.
- 04
Reject stale tool decisions when a newer message has arrived.
- 05
Reply when safe, or call ask_human and mark the thread waiting_for_human.
Carrier offer → verified booking in the TMS
TRIGGERA qualified carrier accepts an offer for an open load.
- 01
Load the offer, customer policy, rate ceiling, and allowed carrier criteria.
- 02
Verify carrier identity, authority, insurance, and configured fraud signals.
- 03
Escalate any rate, compliance, identity, or service exception.
- 04
Require approval until automatic-booking policy is proven for the tenant.
- 05
Commit the booking and write the auditable result into the partner TMS.
Automation stops where proof stops.
The current Miles repository supports the communication, document, quote, routine, identity, event, and human-escalation foundations above. It does not prove a complete carrier verification, rate-ceiling negotiation, booking, and TMS-writeback loop.
That final loop becomes available only after the partner connector, verification path, booking policy, audit trail, and rollback behavior pass acceptance tests.
Carrier identity + compliance
A live verification source in the booking path.
REQUIREDRate authority
Explicit ceilings, exceptions, and human approval policy.
REQUIREDTMS transaction
A tested partner tool that creates the exact booking record.
REQUIREDBooking audit
A durable event trail from offer through commit and rollback.
REQUIREDFIRST WORKFLOW
Choose a workflow with
a visible human decision.
Bring one customer process, its real inputs, and the system where the approved outcome must land.