Send weekly Vercel analytics digest emails with Groq and SMTP
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 10 nodes and runs on a schedule (every week at 09:00). Along the way it connects Groq Chat Model.
How it runs
Trigger: On a schedule (every week at 09:00).
- Set Config (Edit Fields (Set)): sets 7 fields: projectId, teamId, siteName…
- Fetch Vercel Summary (HTTP Request): calls an HTTP API
- Fetch Vercel Top Pages (HTTP Request): calls an HTTP API
- Fetch Vercel Referrers (HTTP Request): calls an HTTP API
- Build Report (Code): runs custom JavaScript code
- Digest Agent (AI Agent): runs an AI agent, with model: Groq Model
- Send Digest Email (Send Email): sends an email over SMTP
- Raw Stats Fallback (Code): runs custom JavaScript code
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Send Email
n8n-nodes-base.emailSend
From the author
Quick Overview This workflow runs every Monday, pulls the last 7 days of Vercel Web Analytics data, uses Groq (Llama 3.3 70B) to generate an HTML summary, and emails a weekly digest via SMTP, with an automatic raw-stats fallback if the AI step fails. How it…