DoGoodie inquiry triage

AI sorts incoming email by priority and alerts the team in Discord.

Problem

The team had to check the shared inbox by hand to find real leads among newsletters and noise.

Solution

A Zapier flow sends each new email to OpenAI, which returns a structured verdict: type, priority, summary and recommended action. A code step checks that verdict before anything is posted. It only notifies: it never replies to, archives or deletes an email.

How it works

  1. GmailNew inquiry arrives
  2. OpenAIClassifies type and priority
  3. ValidateChecks the JSON verdict
  4. DiscordAlerts the team by priority

Ready to run

  1. 1

    Gmail. Zapier watches the shared inbox and picks up each new email, skipping promotions and social updates.

  2. 2

    OpenAI. OpenAI reads the email and returns JSON with the inquiry type, priority, a short summary and a recommended action.

  3. 3

    Validate. A code step parses that JSON and checks every field, so a malformed answer never reaches the team.

  4. 4

    Discord. A message lands in #client-inquiries with a red, orange or green priority marker. Nothing in Gmail is changed.

Outcome

Published and on, with 27 successful runs at the 18 October 2026 review. The team sees urgent leads in Discord, colour-coded by priority, without opening Gmail.

Stack

  • Zapier
  • OpenAI API
  • JavaScript
  • Gmail
  • Discord