Triage job applications from Gmail with gpt-5.6-terra, Google Sheets, and Telegram
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Google Sheets, Telegram and OpenAI Chat Model.
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Extract Email Context (Code): runs custom JavaScript code
- Notify Team of Failure (Telegram): uses Telegram
- Mailbox Automation or Human? (If): checks a condition and branches into true / false
- Resolve Thread History (Google Sheets): uses Google Sheets
- Thread Already Logged? (If): checks a condition and branches into true / false
- Classify and Draft Reply (AI Agent): runs an AI agent, with model: GPT-5.6 Drafting Model; output parser: Draft and Category Schema
- Draft Came Back Clean? (If): checks a condition and branches into true / false
- Generate Approval Token (Crypto): hashes or encrypts values
- Flag Malformed Draft (Telegram): uses Telegram
- Compose Log Entry (Edit Fields (Set)): sets 2 fields: status, approval_link
…plus 6 more steps. See the full node list below.
Services it uses
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) (New Candidate Email).
Nodes used (13)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Crypto
n8n-nodes-base.crypto - Edit Fields (Set)
n8n-nodes-base.set - Send Email
n8n-nodes-base.emailSend - Telegram
n8n-nodes-base.telegram - No Operation, do nothing
n8n-nodes-base.noOp - Error Trigger
n8n-nodes-base.errorTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Job applications that sort themselves. This workflow watches a Gmail label for candidate emails, uses OpenAI (gpt-5.6-terra) to classify each message and draft a reply, logs every thread in Google Sheets, and routes applications to your hiring manager for…