AutomationFlowsAI & RAG › Daily AI News Digest with Perplexity Pro, Gpt Format & Gmail Delivery

Daily AI News Digest with Perplexity Pro, Gpt Format & Gmail Delivery

ByAutomate With Marc @marconi on n8n.io

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

Cron / scheduled trigger★★★☆☆ complexityAI-powered11 nodesGmailAgentOpenAI ChatMemory Buffer WindowPerplexity
AI & RAG Trigger: Cron / scheduled Nodes: 11 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #5469 — we link there as the canonical source.

This workflow follows the Agent → Gmail recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "KCrlYuUlMRdpLfKw",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "AI News Research Agent with Perplexity Sonar Pro to Gmail",
  "tags": [],
  "nodes": [
    {
      "id": "708a8c6b-d521-4dd3-a093-ddc21c95c122",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -160,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "645b1d90-c9f8-4ec9-9266-48eb3f6fa70c",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        800,
        0
      ],
      "parameters": {
        "sendTo": "",
        "message": "={{ $json.output }}",
        "options": {},
        "subject": "AI News Update in the last 24 hours",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4",
      "name": "Formatter AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        360,
        0
      ],
      "parameters": {
        "text": "={{ $json.choices[0].message.content }}",
        "options": {
          "systemMessage": "You are a helpful formatter assistant, you will receive a chunk of AI Headlines and news, your job is to format it such that it is in an easily readable format for email."
        },
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "f7bc9b62-e051-430b-a269-395b22da6157",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        380,
        200
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "93da545a-da0d-4c65-ab59-962aa1257771",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        540,
        200
      ],
      "parameters": {
        "sessionKey": "={{ $('Research Agent').item.json.id }}",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "3a109ff0-4f5e-4da3-bda9-6103923d9ad8",
      "name": "Research Agent",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        80,
        0
      ],
      "parameters": {
        "model": "sonar-pro",
        "options": {
          "searchRecency": "day"
        },
        "messages": {
          "message": [
            {
              "role": "system",
              "content": "You are a cutting\u2011edge AI news researcher. Every time you run, search for and retrieve the most recent developments in artificial intelligence published within the last 24 hours. \n\nFor each news item you return:\n- Include the full headline.\n- Provide a one\u2011sentence summary.\n- Unfurl the full URL (no shortened links or footnote markers).\n- List the publication date and the source name."
            },
            {
              "content": "What are the latest headlines in AI Development in the past 24 hours? Include any model launches or notable market news."
            }
          ]
        },
        "requestOptions": {}
      },
      "credentials": {
        "perplexityApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f006dbcc-794d-477e-8835-a1762e5a6719",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -200
      ],
      "parameters": {
        "height": 560,
        "content": "Scheduled Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "044d8c27-bc57-4e29-b57b-757794aaaf49",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        20,
        -200
      ],
      "parameters": {
        "height": 560,
        "content": "Perplexity Research Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "43d45d64-c592-4a1e-8b4f-f4d3bfa83d37",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        -200
      ],
      "parameters": {
        "width": 400,
        "height": 560,
        "content": "Formatter Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "b324e00e-9838-49a9-b758-c3c6a53011ab",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        -200
      ],
      "parameters": {
        "width": 320,
        "height": 560,
        "content": "Gmail Output Node"
      },
      "typeVersion": 1
    },
    {
      "id": "505ab0d1-a982-497a-b920-8ac3fd95c1b0",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        -260
      ],
      "parameters": {
        "width": 720,
        "height": 1120,
        "content": "\ud83e\udde0 AI News Update Every 24 Hours (with Perplexity + GPT Formatter)\nDescription:\nThis workflow automatically delivers a clean, AI-curated summary of the latest AI news headlines from the past 24 hours directly to your inbox \u2014 every morning at 9 AM.\n\nFor step-by-step video tutorial for this build, watch here:\nhttps://youtu.be/O-DLvaMVLso\n\n\ud83e\uddf0 How It Works:\n\ud83d\udd58 Schedule Trigger\n\u2003Runs daily at 9 AM to start the workflow.\n\n\ud83d\udd0e Perplexity AI Agent\n\u2003Searches for AI-related headlines published in the last 24 hours, including:\n\nHeadline\n\n1-sentence summary\n\nSource\n\nFull URL\n\n\ud83e\udde0 GPT Formatter AI Agent\n\u2003Uses an OpenAI language model (GPT-4.1-mini) to reformat raw news data into a clean, readable email update.\n\n\ud83e\uddf7 Memory Buffer (Optional)\n\u2003Gives the formatter context and continuity if you want to personalize formatting further over time.\n\n\ud83d\udce7 Gmail Node\n\u2003Sends the formatted AI news digest to your inbox (or your team\u2019s) daily.\n\n\ud83d\udce6 Tools & APIs Required:\n\u2705 Perplexity AI API\n\n\u2705 OpenAI API\n\n\u2705 Gmail Account (OAuth2 credentials)\n\n\ud83d\udd04 Use Cases:\nDaily AI trend monitoring for individuals or teams\n\nAutomating internal market intelligence\n\nResearch triggers for blog or content creation\n\nEmail digests for newsletters or Slack updates\n\n\ud83d\udee0\ufe0f Customizable Ideas:\nSwap Gmail for Slack, Telegram, Discord, etc.\n\nModify the topic (e.g., Climate Tech, Crypto News)\n\nAdd sentiment analysis or AI-generated commentary\n\nSend summary to Google Docs or Notion instead\n\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ebf980fb-4544-483c-81fc-0579e5619fd2",
  "connections": {
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Formatter AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Research Agent": {
      "main": [
        [
          {
            "node": "Formatter AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Research Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Formatter AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Formatter AI Agent": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

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

Source: https://n8n.io/workflows/5469/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow is perfect for: Digital marketers who need to scale SEO-optimized content production Bloggers and content creators who want to maintain consistent publishing schedules Small business own

Agent, OpenAI Chat, Memory Buffer Window +3
AI & RAG

Streamline management decision-making by automatically evaluating high-priority tenders, generating AI-powered executive summaries, and routing them for approval inside Slack. 🤖📩 This workflow pulls p

Output Parser Structured, OpenAI Chat, Memory Buffer Window +5
AI & RAG

This workflow creates a daily media briefing based on public news sources. It retrieves relevant articles, summarizes key coverage, evaluates sentiment, and compares the current media volume against h

Agent, OpenAI Chat, Memory Buffer Window +4
AI & RAG

Ensure suppliers never miss a follow-up by automating overdue purchase order tracking and scheduling. 📦⏰ This workflow checks Airtable every weekday morning for open POs older than seven days without

Airtable, Slack, Google Calendar +6
AI & RAG

This workflow automatically monitors marketing job boards to identify growing companies and potential business opportunities. It saves you time by eliminating the need to manually check job listings a

N8N Nodes Mcp, Agent, OpenAI Chat +4