Summarize your emails with A.I. (via Openrouter) and send to Line messenger
Ready for 3.0What this workflow does
This AI workflow has 6 nodes and runs when a new email arrives over IMAP. Along the way it connects OpenRouter Chat Model. It also calls api.line.me over HTTP.
How it runs
Trigger: When a new email arrives over IMAP.
- Basic LLM Chain: sends a prompt to an LLM, with model: OpenRouter Chat Model; output parser: Structured Output Parser
- If: checks a condition and branches into true / false
- Send summarized content to messenger (HTTP Request): calls api.line.me (POST)
Services it uses
HTTP calls to: api.line.me
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.
Nodes used (6)
- Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if
From the author
Who is this template for? - Anyone who is drowning in emails - Busy parents who has alot of school emails - Busy executives with too many emails Case Study I get too many emails from my kid's school about soccer practice, lunch orders and parent events. I use…