Skip to main content

Daily AI news digest with Perplexity AI and Gmail automation

Workflow preview

Workflow preview
100%
Daily AI news digest with Perplexity AI and Gmail automation preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 Technolo...

Best for

  • Social Media automation workflows
  • AI RAG automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.perplexity, n8n-nodes-base.gmail, n8n-nodes-base.html, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yashraj singh sisodiya.

Original n8n.io source

1.1 Workflow description

Title
Daily AI news digest with Perplexity AI and Gmail automation
Workflow name
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:

  1. Automate news retrieval by fetching the latest AI developments from trusted sources daily.
  2. Generate structured HTML output with bold headlines, concise summaries, and clickable links.
  3. Format the content professionally with inline CSS, ensuring the email is visually appealing.
  4. Distribute updates automatically to selected recipients via Gmail.
  5. 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

  1. Schedule Trigger

    • Runs the workflow every day at 10:00 AM.
    • Automates the process without manual initiation.
  2. 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).
  3. Send a message (Gmail)

    • Sends the generated HTML email with the subject: “Latest Tech and AI news update 🚀”.
    • Recipients: [email protected].
  4. 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:

  1. 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).
  2. 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:

  1. Triggering at 10:00 AM using the Schedule Trigger node.
  2. Fetching AI news via Perplexity API (Message a model node).
  3. Formatting results into clean HTML (HTML node).
  4. 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.


1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Message a model

Type / Role
n8n-nodes-base.perplexity - perplexity
Config choices
Version 1

Block 3 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 4 - Generate Preview of New

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 5 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Daily AI news digest with Perplexity AI and Gmail automation
Complexity intermediate
Nodes 8
Categories Social Media, AI RAG
Author Yashraj singh sisodiya
Published 07 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8346/8346.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Daily AI news digest with Perplexity AI and Gmail automation do?

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 Technolo...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media, AI RAG use case.