Fully automated newsletter pipeline — curates tech & AI content, generates an AI-written newsletter, and sends it to subscribers from a Google Sheets list.
Webhook (HTTP POST)
Subscriber list in Google Sheets; triggered manually or on schedule.
Formatted HTML newsletter emailed to all active subscribers.
Google Sheets
- Trigger fires (manual or scheduled)
- Subscriber list loaded from Google Sheets
- Latest tech/AI news fetched via HTTP requests
- OpenAI generates editorial content and newsletter body
- HTML newsletter assembled with formatting
- Gmail sends newsletter to each active subscriber
- Send count and last-sent date updated in Google Sheets
OPENAI_API_KEY— (set in n8n credentials or environment)GOOGLE_SHEETS_ID— (set in n8n credentials or environment)SENDER_EMAIL— (set in n8n credentials or environment)NEWSLETTER_FROM_NAME— (set in n8n credentials or environment)
Note: All credentials must be configured in n8n's Credentials manager.
Never hardcode secrets in the workflow JSON.
- Import
dnyx-newsletter-tech-ai-full.jsoninto your n8n instance via Workflows → Import from file. - Open the workflow and configure all credential nodes (look for nodes marked with a credential warning).
- Set the required environment variables in n8n's settings or your
.envfile. - Activate the workflow.
Generated by n8n Workflow Auditor · Safe for public GitHub upload.