Create financial newsletters with Perplexity Research, GPT drafting, and Gmail approval flow
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs on a schedule (every week at 08:00) (plus 2 other triggers). Along the way it connects Gmail and OpenAI.
How it runs
Trigger: On a schedule (every week at 08:00) (plus 2 other triggers).
- Week ranges + run_key (Code): runs custom JavaScript code
- Respond to Webhook: sends the response back to the webhook caller
- Decode (Code): runs custom JavaScript code
- Research LLM (Perplexity): uses Perplexity
- Normalize (Code): runs custom JavaScript code
- Parse Perplexity JSON (Code): runs custom JavaScript code
- Check Action Type (If): checks a condition and branches into true / false
- Enrich for Editorial (Code): runs custom JavaScript code
- Create Final Draft for Editor (Gmail): work with draft
- If: checks a condition and branches into true / false
…plus 8 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623)
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.
- Still check Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty (Check Action Type).
- If/Switch with “Always Output Data”: in 3.0 the empty item only appears when every output is empty, so a branch relying on an empty item may silently stop.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook - Perplexity
n8n-nodes-base.perplexity - OpenAI
@n8n/n8n-nodes-langchain.openAi - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if
From the author
Automated Weekly Newsletter with AI Research, Editorial Drafting, and Approval Flow This n8n template demonstrates how to automate the full production cycle of a professional weekly newsletter. It combines AI-powered market research, editorial drafting,…