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

Go to Workflow
0 views
Built by Parth Pansuriya Parth Pansuriya
Created on July 20, 2025

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