Templates / Triage blood donor deferrals and component release with Gmail, OpenAI, and Telegram

Triage blood donor deferrals and component release with Gmail, OpenAI, and Telegram

Ready for 3.0

by Swapnil Mandloi ✓ · 1 views · created 2026-09-29 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 20 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model and Telegram.

How it runs

Trigger: On Gmail events.

  1. Normalize Screening Intake (Edit Fields (Set)): sets or maps fields
  2. Fetch Prior Deferral History (HTTP Request): calls an HTTP API
  3. Extract Donor Risk Flags (Information Extractor): extracts structured fields from text with AI, with model: Extractor Model
  4. Split Out: splits a list into separate items
  5. Calculate Flag Deferral Days (Execute Sub-workflow): calls another n8n workflow
  6. Flag Indicates Permanent Deferral? (If): checks a condition and branches into true / false
  7. Tag Permanent Flag (Edit Fields (Set)): sets or maps fields
  8. Tag Temporary Flag (Edit Fields (Set)): sets or maps fields
  9. Recombine Flag Results (Merge): merges the data from its input branches
  10. Aggregate: combines items into one

…plus 7 more steps. See the full node list below.

Services it uses

GmailOpenAI Chat ModelTelegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Receive Donor Screening Email).

Nodes used (14)

From the author

Quick overview This workflow monitors a Gmail label for donor screening questionnaire emails, extracts AABB-style risk flags with OpenAI, calculates the effective donor deferral and component release status via a linked sub-workflow, then logs the decision to…

Excerpt from Swapnil Mandloi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.