Skip to main content

Convert websites to audio summaries via WhatsApp using GPT and TTS

Workflow preview

Workflow preview
100%
Convert websites to audio summaries via WhatsApp using GPT and TTS preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 extract...

Best for

  • Personal Productivity automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.whatsapp, n8n-nodes-base.executeworkflow, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.stickynote, n8n-nodes-base.whatsapptrigger, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Anthony.

Original n8n.io source

1.1 Workflow description

Title
Convert websites to audio summaries via WhatsApp using GPT and TTS
Workflow name
Convert websites to audio summaries via WhatsApp using GPT and TTS

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 regex and validates format; IF node checks for errors
  3. User feedback - Sends either error message ("Please send valid URL") or processing status ("Fetching and analyzing... 10-30 seconds")
  4. Fetch webpage - Sub-workflow calls Jina AI Reader (https://r.jina.ai/) to fetch JavaScript-rendered content, bypassing bot blocks
  5. Summarize content - GPT-4o-mini processes webpage text in 6000-character chunks, extracts title and generates concise summary
  6. Generate audio - OpenAI TTS-1 converts summary text to natural-sounding audio (Opus format for WhatsApp compatibility)
  7. Deliver result - WhatsApp node sends audio message back to user with summary

Why Jina AI? Many modern websites (like digibyte.io) require JavaScript to load content. Standard HTTP requests only fetch the initial HTML skeleton ("JavaScript must be enabled"). Jina AI executes JavaScript and returns clean, readable text.

Setup Steps

Time estimate: ~20-25 minutes

1. WhatsApp Business API Setup (10-15 minutes)

  • Create Meta Developer App - Go to https://developers.facebook.com/, create Business app, add WhatsApp product
  • Get Phone Number ID - Use Meta's test number or register your own business phone
  • Generate System User Token - Create at https://business.facebook.com/latest/settings/system_users (permanent token, no 4-hour expiry)
  • Configure Webhook - Point to your n8n instance URL, subscribe to "messages" events
  • Verify business - Meta requires 3-5 verification steps (business, app, phone, system user)

2. Configure n8n Credentials (5 minutes)

  • OpenAI - Add API key in Credentials → OpenAI (used in 2 places: "Convert Summary to Audio" and "OpenAI Chat Model" in sub-workflow)
  • WhatsApp OAuth - Add in WhatsApp Trigger node using System User token from step 1
  • WhatsApp API - Add in all WhatsApp action nodes (Send Error, Send Processing, Send Audio) using same token

3. Link Sub-Workflow (3 minutes)

  • Ensure "[SUB] Get Webpage Summary" workflow is activated
  • In "Get Webpage Summary" node, select the sub-workflow from dropdown
  • Verify workflow ID matches: QglZjvjdZ16BisPN

4. Update Phone Number IDs (2 minutes)

  • Copy your Phone Number ID from Meta console
  • Update in all WhatsApp nodes: Send Error Message, Send Processing Message, Send Audio Summary

5. Test the Flow (2 minutes)

  • Activate both workflows (sub-workflow first, then main)
  • Send test message to WhatsApp: https://example.com
  • Verify: Processing message arrives → Audio summary delivered within 30 seconds

Important Notes

WhatsApp Caveats:

  • 24-hour window - Can't auto-message users after 24 hours unless they message first (send "Hi" each morning to reset)
  • Verification fatigue - Meta requires multiple business verifications; budget 30-60 minutes if first time
  • Test vs Production - Test numbers work for single users; production requires business verification

Audio Format:

  • Using Opus codec (optimal for WhatsApp, smaller file size than MP3)
  • Speed set to 1.0 (normal pace) - adjust in "Convert Summary to Audio" node if needed
  • Cost: ~$0.015 per minute of audio generated

Jina AI Integration:

  • Free tier works for basic use (no API key required)
  • Handles JavaScript-heavy sites automatically
  • Add Authorization: Bearer YOUR_KEY header for higher limits
  • Alternative: Replace with Playwright/Puppeteer for self-hosted rendering

Cost Breakdown (per summary):

  • GPT-4o-mini summarization: ~$0.005-0.015
  • OpenAI TTS audio: ~$0.005-0.015
  • WhatsApp messages: Free (up to 1,000/month)
  • Total: ~$0.01-0.03 per summary

Troubleshooting:

  • "Cannot read properties of undefined" → Status update, not message (code node returns null correctly)
  • "JavaScript must be enabled" → Website needs Jina AI (already implemented in Fetch site texts node)
  • Audio not sending → Check binary data field is named data in TTS node
  • No webhook received → Verify n8n URL is publicly accessible and webhook subscription includes "messages"

Pro Tips:

  • Change voice in TTS node: alloy (neutral), echo (male), nova (female), shimmer (soft)
  • Adjust summary length: Modify chunkSize: 6000 in sub-workflow's Text Splitter node (lower = faster but less detailed)
  • Add rate limiting: Insert Code node after trigger to track user requests per hour
  • Store summaries: Add database node after "Clean up" to archive for later retrieval

The Use Cases:

  • Executive commuting - Consume industry news hands-free
  • Research students - Cover 3x more sources while multitasking
  • Visually impaired - Access any webpage via natural audio
  • Sales teams - Research prospects on the go
  • Content creators - Monitor competitors while exercising

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Extract URL from Message

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Check if Valid URL

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 3 - Send Error Message

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1.1

Block 4 - Send Processing Message

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1.1

Block 5 - Get Webpage Summary

Type / Role
n8n-nodes-base.executeWorkflow - executeWorkflow
Config choices
Version 1.1

Block 6 - Convert Summary to Audio

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2

Block 7 - Send Audio Summary

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1.1

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - WhatsApp Trigger

Type / Role
n8n-nodes-base.whatsAppTrigger - whatsAppTrigger
Config choices
Version 1

Block 10 - Get URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 13 - Extract title

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 14 - Summarization Chain

Type / Role
@n8n/n8n-nodes-langchain.chainSummarization - chainSummarization
Config choices
Version 2

Block 15 - Clean up

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 17 - Default Data Loader

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1

Block 18 - Recursive Character Text Splitter

Type / Role
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - textSplitterRecursiveCharacterTextSplitter
Config choices
Version 1

Block 19 - Extract Text Only

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 20 - Sub Execute

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 21 - Fetch site texts

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 22 - Upload & Path Processing1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sharing Link Management1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Convert websites to audio summaries via WhatsApp using GPT and TTS
Complexity advanced
Nodes 23
Categories Personal Productivity, AI Summarization
Author Anthony
Published 29 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10297/10297.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Convert websites to audio summaries via WhatsApp using GPT and TTS do?

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 extract...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Summarization use case.