Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Title

A robust automated email scheduling application built with n8n. It allows users to fetch inspirational quotes from the ZenQuotes API and send them automatically via Gmail on a daily schedule.


🛠️ Stack

  • n8n (Workflow Automation)
  • Gmail API (OAuth2)
  • ZenQuotes API
  • JSON

🚀 Quick start

# Clone the repository
git clone https://github.com/wayne2604/schedule-send-email.git

# Navigate to the directory
cd schedule-send-email

Ensure you have a local or cloud instance of n8n running. Import the Send a email.json file to get started.


🌟 Features

  • Schedule Trigger Automated triggers to run the workflow daily at a set time (default: 6:00 AM).
  • Inspirational Quotes Fetches high-quality random quotes dynamically from the ZenQuotes API.
  • Data Transformation Filters and prepares the quote and author properties using the Edit Fields node.
  • Gmail Delivery Securely delivers emails using Google's OAuth2 authentication protocol.

⚙️ How it works

The workflow follows a modular node-based architecture designed for reliability and ease of use:

  • Time-Based Scheduling: Utilizes n8n's native scheduleTrigger to manage automated execution intervals.
  • Dynamic Content Retrieval: Uses a GET request with httpRequest to fetch fresh quote payloads in real-time.
  • Variable Mapping: Uses the set node to transform JSON structures into friendly, reusable workflow variables.
  • Mailing Integration: Integrates the gmail node to handle authenticated OAuth2 requests for sending email.

📂 Project structure

/
 Send a email.json      # Core n8n workflow definition
 README.md              # Project documentation and setup guide

👤 Author

Wayne github.com/wayne2604

About

A scheduled n8n workflow that fetches daily random quotes from ZenQuotes API and sends them via Gmail.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors