Daily AI News Digest with Perplexity AI and Gmail Automation
AI Latest 24 Update Workflow Explanation
Aim
The aim of the AI Latest 24 Update Workflow is to automate the daily collection and distribution of the most recent Artificial Intelligence and Technology news from the past 24 hours. It ensures users receive a clean, well-structured HTML email containing headlines, summaries, and links to trusted sources, styled professionally for easy reading.
Goal
The goal is to:
Automate news retrieval by fetching the latest AI developments from trusted sources daily. Generate structured HTML output with bold headlines, concise summaries, and clickable links. Format the content professionally with inline CSS, ensuring the email is visually appealing. Distribute updates automatically to selected recipients via Gmail. Provide reusability so the HTML can be processed for other platforms if needed.
This ensures recipients receive accurate, up-to-date, and well-formatted AI news without manual effort.
Requirements
The workflow relies on the following components and configurations:
n8n Platform
Acts as the automation environment for scheduling, fetching, formatting, and delivering AI news updates.
Node Requirements
Schedule Trigger
Runs the workflow every day at 10:00 AM. Automates the process without manual initiation.
Message a model (Perplexity API)
Uses the sonar-pro model from Perplexity AI. Fetches the most recent AI developments in the past 24 hours. Outputs results as a self-contained HTML email with inline CSS (card-style layout).
Send a message (Gmail)
Sends the generated HTML email with the subject: “Latest Tech and AI news update 🚀”. Recipients: xyz@gmail.com.
HTML Node
Processes the AI model’s HTML response. Ensures the email formatting is clean, valid, and ready for delivery.
Credentials
Perplexity API account**: For fetching AI news. Gmail OAuth2 account**: For secure email delivery.
Input Requirements
No manual input required; the workflow runs automatically on schedule.
Output
A daily AI news digest email containing:
Headlines in bold. One-sentence summaries in normal text. Full URLs as clickable links. Styled in a clean card-based format with hover effects.
API Usage
The workflow integrates APIs to achieve automation:
Perplexity API
Used in the Message a model node. The API fetches the latest AI news, ensures data accuracy, and outputs HTML formatted content. Provides styling via inline CSS (Segoe UI font, light background, card design). Ensures the news is fresh (past 24 hours only).
Gmail API
Used in the Send a message node. Handles the secure delivery of emails with OAuth2 authentication. Sends AI news updates directly to inboxes.
HTML Processing
The HTML Node ensures proper formatting before email delivery:
Process**: Cleans and validates HTML ($json.message) generated by Perplexity. Output**: A self-contained HTML email with proper structure (<html>, <head>, <body>). Relevance: Ensures Gmail sends a **styled digest instead of raw text.
Workflow Summary
The AI Latest 24 Update Workflow automates daily AI news collection and delivery by:
Triggering at 10:00 AM using the Schedule Trigger node. Fetching AI news via Perplexity API (Message a model node). Formatting results into clean HTML (HTML node). Sending the email via Gmail API to multiple recipients.
This workflow ensures a seamless, hands-off system where recipients get accurate, fresh, and well-designed AI news updates every day.
Related Templates
Instagram Full Profile Scraper with Apify and Google Sheets
📸 Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
Technology News Workflow Explanation with Key Services
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Auto-Publish Techn...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments