Automated Birthday Emails with Google Sheets, OpenRouter GPT-4o & Gmail

Go to Workflow
0 views
Built by Parth Pansuriya Parth Pansuriya
Created on June 07, 2026

Description

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Send Automated Personalized Birthday Emails Using Google Sheets, OpenRouter AI, and Gmail

🧠 What This Workflow Does
This workflow sends personalized birthday greetings via email every morning using data from Google Sheets and messages generated with AI. It’s great for communities, schools, small businesses, or anyone who wants to automate meaningful connections.

βš™οΈ Features
πŸ—“ Daily Birthday Check β€” Runs every day at 9 AM
πŸ“‹ Google Sheets Integration β€” Reads user data: Name, Email, DOB
πŸ” Smart Date Matching β€” Extracts day & month from DOB to match today’s date
πŸ€– OpenRouter AI Integration β€” Generates a custom subject + email message
πŸ›  Function Node Cleanup β€” Separates AI response into subject & body
πŸ“¬ Gmail Node β€” Sends personalized birthday wishes instantly

πŸ”§ Tech Stack
Google Sheets
OpenRouter (or OpenAI-compatible model)
Gmail

πŸ’‘ Use Cases
Educators sending birthday emails to students
Team leads acknowledging team members’ birthdays
Freelancers staying in touch with clients
1Coaches or mentors maintaining personal rapport

πŸ“ Requirements
Google Sheet with columns: Name, DOB (DD/MM/YYYY), and Email
Gmail account with OAuth2 connected
OpenRouter (or OpenAI) API key
Basic understanding of n8n nodes

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured