Phishing triage: an AI workflow for reported emails
Someone in Finance reports a “password expires today” email from a Microsoft lookalike domain. SPF and DMARC fail, the Reply-To is a Gmail address and two colleagues got the same message. The analyst needs a verdict, the blast radius and a containment plan, and the next ten reports in the queue are probably newsletters.
This workflow gives every report a cheap first pass. A small model pulls the indicators, a lookup checks them against your playbook and intel notes, and a router splits real phish from safe mail. Phish goes to a mailbox search and a stronger model that drafts containment, then waits for an analyst. Newsletters and awareness tests get a short reply to the reporter.
Free in Sim. No account or API key.
What it costs to run
| Route | Steps that call a model | Per run |
|---|---|---|
| PhishEnds at Incident ticket, after a person approves | Pull indicators, Containment plan | $0.006 |
| SafeEnds at Report closed | Pull indicators, Reporter reply | $0.001 |
At 60 reported emails a day, 75% safe and 25% phish, that is about $4.61 a month. If every one took the phish route it would be $11.10.
Estimated before running, from the prompt each step is sent and an assumed reply length, at list prices for each step's model tier. Want the same numbers for your own agent? Paste its code into the cost calculator.
Sample input
Reported by Finance: "Password expires today". Three people in Finance got it. Real phish or safe? From: Microsoft 365 <no-reply@micros0ft-support.com> Reply-To: it.helpdesk.m365@gmail.com Authentication-Results: spf=fail; dkim=none; dmarc=fail Link: hxxps://micros0ft-support[.]com/login?u=finance
How the workflow runs, step by step
Sample replies show what each step returns for the sample input above. In the editor, Sim shows the same replies for this input without calling a model; Live runs your own models.
1. Start
Reported email
The user's report starts the run, with the email's headers and link pasted in.
Next: Pull indicators
2. Agent
Pull indicators
A small model pulls the sender, Reply-To, SPF/DKIM/DMARC results and links, defanged. It never visits a link.
Sample reply
SENDER: no-reply@micros0ft-support[.]com REPLY_TO: it.helpdesk.m365@gmail[.]com AUTH: spf=fail, dkim=none, dmarc=fail LINKS: hxxps://micros0ft-support[.]com/login?u=finance ATTACHMENTS: none LURE: password RECIPIENTS: 3 (Finance)
Next: Intel lookup
3. Tool
Intel lookup
Searches your phishing playbook and intel notes, standing in for a threat intel platform.
Next: Verdict
4. Router
Verdict
Keyword rules pick the branch. Newsletters and awareness tests go to a reply; password, login, invoice or bank-detail lures go to the phish path, which is also the default.
Next: Mailbox search (phish), Reporter reply (safe)
5. Tool
Mailbox search
Searches the message trace for who else received the email, who clicked and any sign-in that followed.
Next: Containment plan
6. Agent
Containment plan
A stronger model drafts the verdict, blast radius and containment: purge, block and, if a password was entered, reset and revoke sessions.
Sample result
VERDICT: PHISHING (confidence high) WHY: • Lookalike sender domain (a zero in micros0ft) hosting a login page. • SPF and DMARC fail on mail that claims to be Microsoft. • Reply-To goes to a free Gmail address. BLAST RADIUS: 3 Finance users received it. User A clicked at 10:07, and a sign-in from new IP 203.0.113.45 was approved with MFA at 10:09, so treat user A's password as entered. User B has not opened it. User C reported it. CONTAIN: • Purge the message from all mailboxes. • Block micros0ft-support[.]com and the login URL at the mail gateway and web proxy. IF A PASSWORD WAS ENTERED (user A): • Reset the password and revoke all sessions. • Review the 10:09 sign-in from 203.0.113.45 and remove any MFA method added after it. • Check user A's mailbox for new forwarding or inbox rules. TELL THE REPORTER: Thanks, this was phishing; we've removed it from everyone's inbox. NOTE: an analyst approves every action; this workflow executes nothing.
Next: Analyst approve
7. Human approval
Analyst approve
The run pauses. An analyst approves the plan before anything is purged, blocked or reset.
Next: Incident ticket
8. Result
Incident ticket
The approved plan, ready for your ticketing system or Slack.
9. Agent
Reporter reply
For safe mail, a cheap model writes a short thank-you to the reporter that says what it was.
Next: Report closed
10. Result
Report closed
The reply closes the report. No analyst time, no strong model.
Why build it as a graph
Most reported emails are not phishing, so sending each one through a strong model wastes money and analyst attention. As a graph, the cheap steps read every report, the strong model only writes containment for real phish, and the analyst gate sits in the workflow itself rather than in someone's habits.
Things to try
- Run the sample in Sim. It takes the phish path and pauses for your approval.
- Report “weekly vendor newsletter, SPF and DKIM pass, unsubscribe link” instead and run again. It closes with a cheap reply.
- Apply a cheaper-model insight in Improve, then choose “Test 3 cases before and after”. Three reported emails run on both graphs, and the card shows whether all three still pass.