Outreach log
The workflow's memory. Sending writes here, and the next campaign's checks read it, so nobody is contacted twice by mistake.
Emails sent
Every email sent, including earlier campaigns. The "Not previously contacted?" step reads this table, by email or registration number, and stops anyone contacted in the last 180 days.
| When | Campaign | Doctor | Status | Detail | |
|---|---|---|---|---|---|
| 2026-08-20 | webinar-summer-2026 | Ben Carter | ben.carter@riversideclinic.example | earlier campaign | No reply |
| 2026-07-01 | mentors-q2-2026 | Rachel Moore | r.moore@oldtrust.example | earlier campaign | No reply |
| 2025-11-03 | mentors-q4-2025 | Kwame Asante | k.asante@northbridge.nhs.example | earlier campaign | Replied: not this year |
- sentWent out in this campaign. "No reply yet" until there's an outcome.
- earlier campaignHistory from before this system, loaded at the start.
- failedDidn't go out. It's tried again at the next Send.
- sending (check by hand)Stopped mid-send. It's never resent automatically, so a person checks first.
Urgent alerts
An approved email that failed to send, or a profile that tries to give the system instructions. n8n or Zapier can forward these to WhatsApp, Slack or Teams. This demo writes them to outbox/alerts.log.
- Alert sent The profile for Mohammed Iqbal (from the personal blog) tries to give the system instructions. The checks guard the draft, but someone should look at the source. 2026-10-01 20:17 UTC, to the alerts file
Do-not-contact list
People who opted out or whose email bounced. They're checked at the history step, and again just before sending, in case someone opts out after approval.
- laura.simmons@harrowgatepractice.example since 2026-03-02: Asked not to be contacted again
- old.address@caldervalley.nhs.example since 2026-05-14: Hard bounce
Everything that happened newest first
Every decision, by the system or a person, written as it happens and never edited. Each doctor's page and the replay are built from it.
| When (UTC) | Who | Doctor | What happened | Detail |
|---|---|---|---|---|
| 2026-10-01 20:18 | System | Ella Thompson | Draft 1 written by ollama: passed every check | |
| 2026-10-01 20:18 | System | Nadia Petrova | Draft 1 written by ollama: passed every check | |
| 2026-10-01 20:18 | System | Samuel Wright | Draft 2 written by ollama: passed every check | |
| 2026-10-01 20:17 | System | Samuel Wright | Draft 1 written by ollama: failed 1 check | Doesn't mention anything specific from profile_notes. Their job title alone is not enough. |
| 2026-10-01 20:17 | System | Chloe Barker | Draft 1 written by ollama: passed every check | |
| 2026-10-01 20:17 | System | Mohammed Iqbal | Draft failed every attempt, so it was handed to a person | Doesn't mention anything specific from profile_notes. Their job title alone is not enough. |
| 2026-10-01 20:17 | System | Mohammed Iqbal | Draft 3 written by ollama: failed 1 check | Doesn't mention anything specific from profile_notes. Their job title alone is not enough. |
| 2026-10-01 20:17 | System | Mohammed Iqbal | Draft 2 written by ollama: failed 1 check | Doesn't mention anything specific from profile_notes. Their job title alone is not enough. |
| 2026-10-01 20:17 | System | Mohammed Iqbal | Draft 1 written by ollama: failed 2 checks | Mentions an amount that isn't in the campaign facts: £2,000. Claims an affiliation we can't back up: "official NHS partner". |
| 2026-10-01 20:17 | System | Mohammed Iqbal | Urgent alert sent to the team (alerts file) | The profile for Mohammed Iqbal (from the personal blog) tries to give the system instructions. The checks guard the draft, but someone should look at the source. |
| 2026-10-01 20:17 | System | Kwame Asante | Draft 1 written by ollama: passed every check | |
| 2026-10-01 20:16 | System | Daniel Price | Draft 2 written by ollama: passed every check | |
| 2026-10-01 20:16 | System | Daniel Price | Draft 1 written by ollama: failed 1 check | Doesn't mention anything specific from profile_notes. Their job title alone is not enough. |
| 2026-10-01 20:16 | System | James Okafor | Draft 1 written by ollama: passed every check | |
| 2026-10-01 20:16 | System | Sarah O'Neill | Draft 1 written by ollama: passed every check | |
| 2026-10-01 20:16 | System | Tom Hargreaves | Draft 1 written by ollama: passed every check | |
| 2026-10-01 20:16 | System | Priya Raman | Draft 1 written by ollama: passed every check | |
| 2026-10-01 20:15 | System | #27 | Did not qualify | No name on this row, so we can't address an email. A person should check it. |
| 2026-10-01 20:15 | System | Ella Thompson | History check passed | No previous outreach found for this email or registration number. |
| 2026-10-01 20:15 | System | Ella Thompson | Email verified | Verified: valid format, named person, domain accepts mail, mailbox exists. |
| 2026-10-01 20:15 | System | Ella Thompson | Email found | Email supplied in the research list. |
| 2026-10-01 20:15 | System | Ella Thompson | Qualified for the campaign | Matches the campaign: Salaried GP, General Practice, United Kingdom. |
| 2026-10-01 20:15 | System | Nadia Petrova | History check passed | No previous outreach found for this email or registration number. |
| 2026-10-01 20:15 | System | Nadia Petrova | Email verified | Verified: valid format, named person, domain accepts mail, mailbox exists. |
| 2026-10-01 20:15 | System | Nadia Petrova | Email found | Email supplied in the research list. |