Convert websites to audio summaries via WhatsApp using GPT and TTS
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs on WhatsApp events (messages) (plus 1 other trigger). Along the way it connects WhatsApp Business Cloud, OpenAI and OpenAI Chat Model.
How it runs
Trigger: On WhatsApp events (messages) (plus 1 other trigger).
- Extract URL from Message (Code): runs custom JavaScript code
- Fetch site texts (HTTP Request): calls an HTTP API
- Check if Valid URL (If): checks a condition and branches into true / false
- Extract title (HTML): parses or builds HTML
- Extract Text Only (HTML): parses or builds HTML
- Send Processing Message (WhatsApp Business Cloud): send
- Send Error Message (WhatsApp Business Cloud): send
- Merge: merges the data from its input branches
- Summarization Chain: summarizes text with AI, with model: OpenAI Chat Model; document loader: Default Data Loader
- Get URL (Edit Fields (Set)): sets 1 field: URL
…plus 4 more steps. See the full node list below.
Services it uses
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
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 (15)
- Code
n8n-nodes-base.code - If
n8n-nodes-base.if - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - OpenAI
@n8n/n8n-nodes-langchain.openAi - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTML
n8n-nodes-base.html - Summarization Chain
@n8n/n8n-nodes-langchain.chainSummarization - Merge
n8n-nodes-base.merge - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - HTTP Request
n8n-nodes-base.httpRequest
From the author
How It Works This workflow transforms any webpage into an AI-narrated audio summary delivered via WhatsApp: 1. Receive URL - WhatsApp Trigger captures incoming messages and passes them to URL extraction 2. Extract & validate - Code node extracts URLs using…