This workflow corresponds to n8n.io template #8346 — we link there as the canonical source.
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 →
{
"id": "NMgxhyjjjGgOGdTE",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "AI Latest 24 upadate",
"tags": [],
"nodes": [
{
"id": "b2ccab91-022a-4f4a-aea6-52aa17cfc1f3",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-80,
0
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 10
}
]
}
},
"typeVersion": 1.2
},
{
"id": "3703b88f-e3b2-4d44-b270-a2e4225fe21a",
"name": "Message a model",
"type": "n8n-nodes-base.perplexity",
"position": [
240,
0
],
"parameters": {
"model": "sonar-pro",
"options": {},
"messages": {
"message": [
{
"role": "system",
"content": "You are a cutting-edge AI news and Tech news\n\nEvery time you run, you must:\n\n1. Search for and retrieve the most recent developments in Artificial Intelligence published within the last 24 hours.\n\n2. Ensure all data is accurate, fresh, and from trusted sources.\n\nFor each AI news item:\n- Include the full headline.\n- Provide a one-sentence summary explaining the development.\n- Include the full URL (no shortened links or footnote markers).\n\n\n\n**IMPORTANT OUTPUT REQUIREMENTS:**\n- Return the response as a single self-contained HTML document with inline CSS styling, suitable for sending as an email.\n- Style headlines in bold, summaries in normal text, and links as clickable.\n- Use light background color for the email body and card-style boxes for each news item.\n\n**HTML Output Structure:**\n<html>\n <head>\n <style>\n body { \n font-family: 'Segoe UI', Arial, sans-serif; \n background-color: #f4f6f9; \n margin: 0; \n padding: 20px; \n color: #333;\n }\n h2 { \n color: #2c3e50; \n border-bottom: 2px solid #007bff; \n padding-bottom: 8px; \n margin-bottom: 20px;\n }\n .card { \n background: #ffffff; \n padding: 20px; \n margin-bottom: 20px; \n border-radius: 12px; \n box-shadow: 0 4px 10px rgba(0,0,0,0.08); \n transition: transform 0.2s ease-in-out;\n }\n .card:hover {\n transform: translateY(-3px);\n }\n .card h3 { \n margin-top: 0; \n color: #007bff; \n font-size: 18px;\n }\n .card p { \n line-height: 1.6; \n font-size: 14px;\n }\n .footer {\n text-align: center;\n margin-top: 30px;\n font-size: 12px;\n color: #888;\n }\n </style>\n </head>\n <body>\n <h2>\ud83e\udde0 Latest AI News (Past 24 Hours)</h2>\n <!-- Example News Item -->\n <div class=\"card\">\n <h3>Headline Example</h3>\n <p><strong>Summary:</strong> This is a 4\u20135 line detailed summary of the AI news update. It provides clear context, insights, and relevance for the reader, written in a concise but engaging way to highlight the latest developments.</p>\n <p><a href=\"FULL_URL\">\ud83d\udd17 Read more</a></p>\n </div>\n </body>\n</html>\n"
},
{
"content": "what are the latest headline in ai development in the 24 hours?\ninclude any model launches or market news."
}
]
},
"simplify": true,
"requestOptions": {}
},
"credentials": {
"perplexityApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "911914a8-c51d-4baf-b777-33052415108e",
"name": "Send a message",
"type": "n8n-nodes-base.gmail",
"position": [
624,
-64
],
"parameters": {
"sendTo": "user@example.com",
"message": "={{ $json.message }}",
"options": {},
"subject": "Latest Tech and AI news update \ud83d\ude80"
},
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
},
{
"id": "b8d259f9-030a-4bb1-9d35-08cc8ce3aa90",
"name": "Generate Preview of New",
"type": "n8n-nodes-base.html",
"position": [
624,
432
],
"parameters": {
"html": "{{ $json.message }}"
},
"typeVersion": 1.2
},
{
"id": "587c682c-00b9-4125-94fd-aaf87bb8609c",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
-416
],
"parameters": {
"height": 560,
"content": "### **1. Schedule Trigger**\n\n* **Purpose**: This node starts the workflow automatically at a scheduled time.\n* **Configuration**:\n\n * Runs daily at **10:00 AM**.\n* **Role**: Ensures the workflow fetches the latest AI news updates every day at a fixed time without manual effort.\n* **Why Important**: Automates the process so you don\u2019t need to trigger it yourself."
},
"typeVersion": 1
},
{
"id": "86f03734-8291-41d7-9f5d-06dbbe779f74",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
96,
-416
],
"parameters": {
"color": 3,
"width": 400,
"height": 560,
"content": "### **2. Message a Model (Perplexity API)**\n\n* **Purpose**: Fetches the latest AI and Tech news from the last 24 hours using the **Perplexity AI API**.\n* **Configuration**:\n\n * **Model**: `sonar-pro`.\n * **System Instructions**:\n\n * Retrieve AI developments from trusted sources.\n * Output must be in **HTML format** with inline CSS, styled like an email newsletter.\n * Include **headline, summary, and full URL** for each item.\n* **Role**: Acts as the *researcher and content generator* of the workflow.\n* **Why Important**: This ensures the news email looks professional, readable, and properly formatted before sending.\n\n"
},
"typeVersion": 1
},
{
"id": "e5d11515-3484-42b3-9e1d-33f41aeba9e3",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
512,
-416
],
"parameters": {
"color": 4,
"width": 320,
"height": 512,
"content": "### **3. Send a Message (Gmail)**\n\n* **Purpose**: Sends the AI news email to selected recipients.\n* **Configuration**:\n\n * **Recipients**: `xyz@gmail.com`.\n * **Subject**: *Latest Tech and AI news update \ud83d\ude80*.\n * **Message Body**: Injects the generated HTML content from the model.\n* **Role**: Delivers the AI news to inboxes.\n* **Why Important**: Without this, your curated news wouldn\u2019t reach subscribers.\n\n"
},
"typeVersion": 1
},
{
"id": "0c273c05-2445-47fc-9f03-7465f97f99b2",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
512,
112
],
"parameters": {
"color": 6,
"width": 320,
"height": 480,
"content": "### **4. HTML Node**\n\n* **Purpose**: Processes and structures the AI news into valid HTML.\n* **Configuration**:\n\n * Input: `{{ $json.message }}` \u2192 The message generated by the Perplexity model.\n* **Role**: Ensures the final content is properly formatted HTML.\n* **Why Important**: Makes sure the Gmail node sends **clean, styled content** rather than raw text.\n"
},
"typeVersion": 1
}
],
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "ef7f4a79-3e2c-41ff-b8ef-f2a10f87e206",
"connections": {
"Message a model": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
},
{
"node": "HTML",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Message a model",
"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.
gmailOAuth2perplexityApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
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,…
Source: https://n8n.io/workflows/8346/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow automates the backup of all your n8n workflows to a specified Google Drive folder. It operates in two main phases: Orchestration (Scheduled Task): The workflow is initiated by a Schedule
This n8n template allows you to automatically monitor your company's budget by comparing live Bexio accounting data against targets defined in Google Sheets, sending automated weekly email reports. It
Klaviyo List Decay Detection
This workflow automatically generates and emails a comprehensive security audit report for your N8N instance every week. It identifies potential security risks related to: Credentials 🔑 : Exposed or i
Automatically identify clients who haven’t been contacted in 14+ days and re-engage them with personalized Gmail follow-up emails, Google Sheets tracking, and Slack notifications for account managers.