⚡ Summarize your emails with A.I. (via Openrouter) and send to Line messenger

4,941 views · ⚡ Personal Productivity

Description

Who is this template for?

Cover.png

Case Study

I get too many emails from my kid’s school about soccer practice, lunch orders and parent events. I use this workflow to read all the emails and tell me what is important and what requires actioning.

Youtube tutorial

What this workflow does

  1. It uses IMAP to read the emails from your email account (i.e. Gmail).
  2. It then passes the email to Openrouter.ai and uses a free A.I. model to read and summarize the email.
  3. It then sends the summary as a message to your messenger (i.e. Line).

Setup

  1. You need to find your email server IMAP credentials.
  2. Input your openrouter.ai API credentials or replace the HTTP request node with an A.I. node such as OpenAI.
  3. Input your messenger credentials. I use Line but you can change the node to another messenger line Telegram.
  4. You need to change the message ID to your ID inside the http request. You can find your user ID inside the https://developers.line.biz/console/. Change the “to”: {insert your user ID}.

How to adjust it to your needs

🔗 Nodes Used

Email Trigger (IMAP), HTTP Request, Basic LLM Chain, Structured Output Parser, OpenRouter Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup