Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Track freight load risk from driver check-ins with gpt-6-luna and Google Sheets

When an API call/webhook arrives, it handles email with OpenAI / ChatGPT using Discord, Gmail, Google Sheets.

What it does

## 09-19-01 keep freight load status current from driver check ins with AI ### How it works Check calls are where a load board goes stale. A driver texts or calls, someone writes it on a sticky note, and nobody notices the load is four hours late until the customer asks. 1. A check in arrives on the webhook (driver app, dispatcher, or a relay that forwards driver texts). 2. The payload is validated. A check in with no load number or no status line goes to the Errors tab and pings the desk on Discord. 3. An AI agent reads the driver's own words and returns a normalized status, an estimated arrival, a delay reason, a risk level, and two plain sentences the broker can forward to the customer. 4. The load is matched against the Load Board tab, the check in is appended to the Check Log, and the board row is updated with status, last check in, and risk. 5. The load is routed by risk. At risk alerts Discord and emails the customer. An exception alerts Discord and escalates to the desk. A delivered load emails the customer and posts a quiet note. 6. Every morning at 07:00 a sweep finds loads that have gone quiet or are close to their appointment, and an AI agent writes the dispatch brief that lands in Discord and in the desk inbox. ### Setup - Add a Google Sheet with the tabs Load Board, Check Log, and Errors. Column names must match the field names used in the nodes. - Connect Google Sheets, Gmail, and Discord credentials. - Point the webhook at your dispatch app or driver relay. POST a JSON body with load_id, driver_name, status, location, eta_text, and notes. - Replace the desk email address and the Discord channel, then set the morning sweep cron. ### Customization - Change the risk thresholds in Decide Load Risk (2 hours for at risk, 6 hours for an exception). - Add a detention column if you bill accessorials. - Swap Discord for Slack or Telegram by replacing the three Discord nodes.

The steps

  1. Driver Check In
  2. Normalize Check In
  3. Validate Check In
  4. Log Invalid Check In
  5. Alert Invalid Check In
  6. AI Read Check In
  7. Check In Model
  8. Build Check In Record
  9. Read Load Board
  10. Decide Load Risk
  11. Append Check In To Log
  12. Update Load Board Status
  13. Route By Risk
  14. Alert At Risk Load

27 steps in total.

Similar automations