Automated AI Trends Email – Weekly Digest via Perplexity, GPT & Gmail

This workflow runs once a week and sends an AI-curated digest to my inbox.
It’s designed to be lightweight and completely automatic.

Here’s how it works:

  1. Weekly Trigger: Set to run every Monday at 7:15 AM.
  2. Date & Time node: it extracts the current week number to add it to the email subject line.
  3. HTTP Request to Perplexity AI: it runs a research query using the sonar-deep-research model to retrieve the top 10 updates on AI tools for the current week.
  4. AI Agent: the response from Perplexity is passed to a GPT-4.1-mini model, which rewrites it as a markdown-formatted email using clear formatting, emojis for relevance :fire:, and links extracted from the response.
  5. Gmail Node: the email is sent automatically to my chosen recipients, with a subject like: Updates AI 🐓 - Week 20/52

→ n8n version: 1.90.2


:repeat: Workflow


:envelope_with_arrow: Email output


:bulb: Any other tips?

  • I used a custom prompt to structure the AI output into a clean, numbered markdown format, with icons for relevance.
  • You could easily adapt this for any topic, not just AI. Just tweak the search prompt!
1 Like

Hi!

i tried your workflow, although it is not really clear for me that in the HTTP request into the “header auth account” what should you put? I have already connected perplexity through APi but the auth account I cant really understand

Ehy @Tmate21
here is Perplexity node:


JSON in the Body:

{
  "model": "sonar-deep-research",
  "temperature": 0.1,
  "top_p": 0.9,
  "return_images": false,
  "return_related_questions": false,
  "stream": false,
  "search_recency_filter": "month",
  "presence_penalty": 0,
  "frequency_penalty": 1,
  "messages": [
    {
      "role": "system",
      "content": "you are a great expert in AI tools and you are very good at searching on search engines"
    },
    {
      "role": "user",
      "content": "do a research with the top 10 updates on this week's AI tools keeping in mind that today is {{ $now }}"
    }
  ]
}

Nice. I’m working on something similar, a n8n “Editorial-in-Chief” AI Agent. :grinning_face: