🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Perplexity AI to Gmail, weekly AI news digest ready

Lisa Granqvist Partner Workflow Automation Expert

Your “quick AI catch-up” turns into 20 open tabs, half-read threads, and a vague feeling you missed the one story you actually needed. By Monday afternoon, you’re already behind again.

This Perplexity Gmail digest automation hits marketers first (you need the headlines before your clients ask). But founders and consultants feel it too, because staying current shouldn’t steal your best thinking hours.

This workflow pulls the week’s most important AI news, organizes it into four categories, then emails you a polished HTML digest every Monday at 9 AM. You’ll see how it works, what you need, and where you can tweak it to fit your routine.

How This Automation Works

Here’s the complete workflow you’ll be setting up:

n8n Workflow Template: Perplexity AI to Gmail, weekly AI news digest ready

Why This Matters: Keeping up with AI news is a weekly time sink

AI moves fast, but your schedule doesn’t magically make room for it. A “simple” weekly roundup often means scanning social feeds, opening newsletters, checking a few sources to confirm what’s real, then trying to remember why any of it matters. And the worst part is the context switching. You’re not just reading, you’re constantly deciding what to ignore, what to save, and what to revisit later. By the time you’ve got a decent picture, you’ve burned a chunk of your Monday and still don’t have a clean summary you can forward, reference, or use for content ideas.

It adds up fast. Here’s where it usually breaks down.

  • Important stories get buried because you’re skimming across five sources and none of them is organized for “what matters this week.”
  • You end up doing the same research twice: first to understand the story, then again to find a link you can cite.
  • Manual summaries drift into opinion or hype, especially when you’re rushing between meetings.
  • Even if you curate a great list, you rarely format it into something you’ll actually read later.

What You’ll Build: A Monday-morning AI news email that’s already organized

This workflow runs automatically every Monday at 9 AM and builds a weekly AI news digest for you. It starts by setting a date range for “the last week,” so the research stays fresh instead of pulling random old headlines. Next, it queries Perplexity AI to gather the most important updates, then groups them into four practical buckets: New Technology, Trending Topics, Top Stories, and AI Security. After that, the workflow turns the results into a nicely formatted HTML email with readable sections, short summaries, a quick “why this matters” explanation, and source links you can click for details. Finally, Gmail sends the digest straight to your inbox so it’s waiting when you start your week.

The workflow begins on a schedule trigger. Perplexity handles the research and summarization. A formatting step converts it into a clean email layout, then Gmail delivers it (and you’re done for the week).

What You’re Building

Expected Results

Say you normally spend about 15 minutes each on four places to “catch up” (social feeds, newsletters, a couple of blogs, and one research site). That’s roughly an hour every Monday, and it’s scattered time. With this workflow, the work is front-loaded into automation: it runs at 9 AM, compiles the digest, and emails it to you. You skim for about 5 minutes, click a link or two if something is relevant, and you’re back to your actual work.

Before You Start

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Perplexity API access for weekly AI news research.
  • Gmail account to send the digest email.
  • Perplexity API key (get it from your Perplexity API dashboard).

Skill level: Beginner. You’ll connect credentials, edit a couple of fields, and run a test.

Want someone to build this for you? Talk to an automation expert (free 15-minute consultation).

Step by Step

A weekly schedule kicks things off. The workflow runs every Monday at 9 AM by default, so you start the week with a digest waiting in your inbox.

A date range is defined for “this week’s news.” That small detail matters because it keeps Perplexity focused on current developments instead of recycling older headlines.

Perplexity AI gathers and structures the news. An HTTP request sends the prompt and date range to Perplexity, then the workflow parses the response into four categories: New Technology, Trending Topics, Top Stories, and AI Security.

The email is composed and sent via Gmail. A formatting step generates a styled HTML email with summaries, significance explanations, and clickable source links, then Gmail delivers it to your chosen address.

You can easily modify the categories or the send time based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Schedule Trigger

Set the weekly schedule that kicks off the digest workflow.

  1. Add the Scheduled Run Trigger node to start the workflow.
  2. Set the schedule rule to run weekly at the desired time (the workflow uses Monday at 08:00 via the built-in schedule settings).
  3. Connect Scheduled Run Trigger to Define Date Range.

Step 2: Connect Perplexity API for News Retrieval

Prepare the API request that fetches the weekly AI news summary.

  1. Open Perplexity News Query and set URL to https://api.perplexity.ai/chat/completions.
  2. Set Method to POST and enable Send Body, Send Headers, and Specify Body as json.
  3. Set JSON Body to the provided payload starting with { "model": "sonar", "messages": [ ... ] } and including "search_recency_filter": "week".
  4. Add the header Authorization with the value Bearer [CONFIGURE_YOUR_TOKEN] and replace the placeholder with your Perplexity API token.

⚠️ Common Pitfall: If you leave Bearer [CONFIGURE_YOUR_TOKEN] unchanged, the API call will fail. Always paste a valid Perplexity token.

Step 3: Set Up Date Formatting and Email Markup

Generate the date fields and transform the API response into a formatted HTML email.

  1. In Define Date Range, add two string fields: currentDate with {{ $now.format('yyyy-MM-dd') }} and lastweekDate with {{ $now.minus({days: 7}).format('yyyy-MM-dd') }}.
  2. Connect Define Date Range to Perplexity News Query.
  3. In Compose Email Markup, paste the provided JavaScript that reads $input.first().json and $('Define Date Range').first().json.currentDate to build emailHtml and emailSubject.
  4. Connect Perplexity News Query to Compose Email Markup.

Tip: The Compose Email Markup node includes a fallback HTML email when parsing fails, making the workflow more resilient even without separate error-handling nodes.

Step 4: Configure Gmail Delivery

Send the generated summary via Gmail with dynamic subject and HTML body.

  1. Open Send Gmail Summary and set Message to {{ $json.emailHtml }}.
  2. Set Subject to {{ $json.emailSubject }} to include the current date.
  3. Fill in Send To with the recipient email address.
  4. Credential Required: Connect your gmailOAuth2 credentials in Send Gmail Summary.
  5. Connect Compose Email Markup to Send Gmail Summary.

Step 5: Test and Activate Your Workflow

Run a manual execution to confirm the end-to-end flow before enabling the schedule.

  1. Click Execute Workflow to run the full chain from Scheduled Run Trigger through Send Gmail Summary.
  2. Verify that Perplexity News Query returns a response with choices[0].message.content.
  3. Confirm the Gmail message arrives with the HTML layout and subject like 🤖 Daily AI News Summary - YYYY-MM-DD.
  4. When satisfied, toggle the workflow to Active so the weekly schedule runs automatically.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Troubleshooting Tips

  • Gmail credentials can expire or need specific permissions. If things break, check the connected Google account and re-authorize the Gmail node in n8n first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Quick Answers

What’s the setup time for this Perplexity Gmail digest automation?

About 30 minutes once your Perplexity key and Gmail account are ready.

Is coding required for this weekly AI news digest?

No. You’ll import the workflow, connect credentials, and edit a few fields like the recipient email and schedule.

Is n8n free to use for this Perplexity Gmail digest workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Perplexity API usage costs, which depend on how long your prompt and responses are.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I modify this Perplexity Gmail digest workflow for different use cases?

Yes, and you should. Most people edit the prompt used in the “Perplexity News Query” step to change categories (for example, “AI marketing tools” or “model releases only”), then tweak the “Compose Email Markup” step so the email layout matches the new sections. You can also adjust the “Define Date Range” step to build a monthly summary instead of weekly. If you want it to post internally too, add a Slack or Telegram message after the email is sent.

Why is my Gmail connection failing in this workflow?

Usually it’s expired Google authorization in n8n, so re-connect the Gmail credentials and run another test. If you’re sending from a Google Workspace account, admin restrictions can block SMTP-style sending or limit which addresses can be used in the “from” field. Also check that the Gmail node is set to the right account, because it’s easy to authenticate one inbox and send from another by mistake. Finally, if the email content is empty due to a failed Perplexity response, the Gmail node may still run but send a blank-looking message.

What volume can this Perplexity Gmail digest workflow process?

Plenty for a weekly digest. Even the smallest n8n setups can handle one scheduled run per week; the main “volume” consideration is how much text you ask Perplexity to generate and how often you run it.

Is this Perplexity Gmail digest automation better than using Zapier or Make?

It depends on how polished you want the output to be. Zapier and Make can schedule, call an API, and send an email, but they get awkward when you want controlled formatting, fallbacks, or more complex data shaping. n8n is nicer for this because you can shape the response, generate consistent HTML, and extend the flow later without paying extra for every branch. If you plan to add error handling, multiple recipients, or “only email me when something big happened,” you’ll appreciate the flexibility. Talk to an automation expert if you’re on the fence.

Once this is live, Monday morning updates become an email you can actually use. The workflow handles the repetitive digging so you can focus on decisions, content, and strategy.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal