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 →
{
"name": "V3 Weekly Analytics Report",
"nodes": [
{
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyWeek",
"weekday": 0,
"hour": 18,
"minute": 0
}
]
}
},
"id": "cron",
"name": "Sunday 6PM Trigger",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
300,
400
]
},
{
"parameters": {
"functionCode": "const data = this.getWorkflowStaticData('global');\nif (!data.tokens) return [];\n\nconst input = data.tokens.in || 0;\nconst output = data.tokens.out || 0;\nconst exec = data.tokens.exec || 0;\n\nconst cost = ((input / 1000000) * 0.15 + (output / 1000000) * 0.60).toFixed(2);\n\nconst message = `Weekly AI Newsletter Report\\n\\nProcessed: ${exec}\\nInput Tokens: ${input}\\nOutput Tokens: ${output}\\nEstimated Cost: $${cost}`;\n\nreturn [{ message }];"
},
"id": "build_report",
"name": "Build Report",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [
500,
400
]
},
{
"parameters": {
"url": "https://graph.facebook.com/v18.0/YOUR_PHONE_NUMBER_ID/messages",
"method": "POST",
"authentication": "predefinedCredentialType",
"sendBody": true,
"bodyParametersJson": "={\n \"messaging_product\": \"whatsapp\",\n \"to\": \"YOUR_PHONE_NUMBER\",\n \"type\": \"text\",\n \"text\": {\n \"body\": $json.message\n }\n}"
},
"id": "whatsapp",
"name": "Send Weekly Report",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
700,
400
],
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
}
],
"connections": {
"cron": {
"main": [
[
{
"node": "build_report",
"type": "main",
"index": 0
}
]
]
},
"build_report": {
"main": [
[
{
"node": "whatsapp",
"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.
httpHeaderAuth
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
V3 Weekly Analytics Report. Uses httpRequest. Scheduled trigger; 3 nodes.
Source: https://github.com/vineet-mundhra/AI-Newsletter-Summarizer/blob/c42daf865ec33a6d65dab73d712ff5d0dcb34246/workflows/weekly_report.json — 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.
Birthday Automation - Production (Fixed). Uses stopAndError, httpRequest, emailSend, bannerbear. Scheduled trigger; 86 nodes.
This template runs two scheduled workflows to govern Microsoft Entra ID (Azure AD) guest accounts by detecting stale users via Microsoft Graph, staging deletions in SharePoint with a 72-hour window, n
Jira-Allure-Auto-Qa. Uses httpRequest, jira. Scheduled trigger; 68 nodes.
Spotify-Sync-Surrealdb-V1. Uses httpRequest, n8n-nodes-surrealdb, spotify. Scheduled trigger; 62 nodes.
As n8n instances scale, teams often lose track of sub-workflows—who uses them, where they are referenced, and whether they can be safely updated. This leads to inefficiencies like unnecessary copies o