Back to Catalog

Convert websites to audio summaries via WhatsApp using GPT and TTS

AnthonyAnthony
131 views
2/3/2026
Official Page

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

Convert Websites to Audio Summaries via WhatsApp using GPT and TTS

This n8n workflow allows users to send a website URL via WhatsApp and receive an audio summary of its content, powered by GPT and Text-to-Speech (TTS) technology. It simplifies information consumption by transforming web articles into digestible audio snippets.

What it does

  1. Listens for WhatsApp Messages: The workflow is triggered when a new message is received on a configured WhatsApp Business Cloud account.
  2. Extracts URL: It processes the incoming WhatsApp message to identify if it contains a valid URL.
  3. Fetches Website Content: If a URL is found, an HTTP request is made to fetch the content of the webpage.
  4. Extracts Main Content: The HTML content is then processed to extract the main article text, removing unnecessary elements like navigation, ads, and footers.
  5. Splits Text for Summarization: The extracted text is split into smaller, manageable chunks using a Recursive Character Text Splitter to optimize for the summarization model's token limits.
  6. Summarizes Content with GPT: Each text chunk is fed to an OpenAI Chat Model (GPT) using a Summarization Chain to generate concise summaries.
  7. Generates Audio from Summary: The final summary is then converted into an audio file using OpenAI's Text-to-Speech (TTS) capability.
  8. Sends Audio Summary via WhatsApp: The generated audio file is sent back to the user on WhatsApp as a voice message.
  9. Handles Invalid Input: If the incoming message does not contain a valid URL, the workflow sends a polite message back to the user, instructing them on how to use the service correctly.

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running n8n instance.
  • WhatsApp Business Cloud Account: Configured with an n8n credential. This is used for sending and receiving messages.
  • OpenAI API Key: For accessing GPT (Chat Model) and Text-to-Speech (TTS) services.

Setup/Usage

  1. Import the Workflow:
    • Download the provided JSON file.
    • In your n8n instance, click on "Workflows" in the left sidebar.
    • Click "New" and then "Import from JSON".
    • Paste the workflow JSON or upload the file.
  2. Configure Credentials:
    • Locate the "WhatsApp Trigger" and "WhatsApp Business Cloud" nodes. Configure them with your WhatsApp Business Cloud credentials.
    • Locate the "OpenAI Chat Model" and "OpenAI" nodes. Configure them with your OpenAI API Key.
  3. Activate the Workflow:
    • Once all credentials are set up, activate the workflow by toggling the "Active" switch in the top right corner of the workflow editor.
  4. Test the Workflow:
    • Send a WhatsApp message containing a website URL (e.g., https://n8n.io/blog/) to your WhatsApp Business Cloud number.
    • You should receive an audio summary of the webpage content in response.
    • If you send a message without a valid URL, you will receive an instructional message.

Related Templates

Auto-create TikTok videos with VEED.io AI avatars, ElevenLabs & GPT-4

💥 Viral TikTok Video Machine: Auto-Create Videos with Your AI Avatar --- 🎯 Who is this for? This workflow is for content creators, marketers, and agencies who want to use Veed.io’s AI avatar technology to produce short, engaging TikTok videos automatically. It’s ideal for creators who want to appear on camera without recording themselves, and for teams managing multiple brands who need to generate videos at scale. --- ⚙️ What problem this workflow solves Manually creating videos for TikTok can take hours — finding trends, writing scripts, recording, and editing. By combining Veed.io, ElevenLabs, and GPT-4, this workflow transforms a simple Telegram input into a ready-to-post TikTok video featuring your AI avatar powered by Veed.io — speaking naturally with your cloned voice. --- 🚀 What this workflow does This automation links Veed.io’s video-generation API with multiple AI tools: Analyzes TikTok trends via Perplexity AI Writes a 10-second viral script using GPT-4 Generates your voiceover via ElevenLabs Uses Veed.io (Fabric 1.0 via FAL.ai) to animate your avatar and sync the lips to the voice Creates an engaging caption + hashtags for TikTok virality Publishes the video automatically via Blotato TikTok API Logs all results to Google Sheets for tracking --- 🧩 Setup Telegram Bot Create your bot via @BotFather Configure it as the trigger for sending your photo and theme Connect Veed.io Create an account on Veed.io Get your FAL.ai API key (Veed Fabric 1.0 model) Use HTTPS image/audio URLs compatible with Veed Fabric Other APIs Add Perplexity, ElevenLabs, and Blotato TikTok keys Connect your Google Sheet for logging results --- 🛠️ How to customize this workflow Change your Avatar: Upload a new image through Telegram, and Veed.io will generate a new talking version automatically. Modify the Script Style: Adjust the GPT prompt for tone (educational, funny, storytelling). Adjust Voice Tone: Tweak ElevenLabs stability and similarity settings. Expand Platforms: Add Instagram, YouTube Shorts, or X (Twitter) posting nodes. Track Performance: Customize your Google Sheet to measure your most successful Veed.io-based videos. --- 🧠 Expected Outcome In just a few seconds after sending your photo and theme, this workflow — powered by Veed.io — creates a fully automated TikTok video featuring your AI avatar with natural lip-sync and voice. The result is a continuous stream of viral short videos, made without cameras, editing, or effort. --- ✅ Import the JSON file in n8n, add your API keys (including Veed.io via FAL.ai), and start generating viral TikTok videos starring your AI avatar today! 🎥 Watch This Tutorial --- 📄 Documentation: Notion Guide Need help customizing? Contact me for consulting and support : Linkedin / Youtube

Dr. FirasBy Dr. Firas
39510

Track competitor SEO keywords with Decodo + GPT-4.1-mini + Google Sheets

This workflow automates competitor keyword research using OpenAI LLM and Decodo for intelligent web scraping. Who this is for SEO specialists, content strategists, and growth marketers who want to automate keyword research and competitive intelligence. Marketing analysts managing multiple clients or websites who need consistent SEO tracking without manual data pulls. Agencies or automation engineers using Google Sheets as an SEO data dashboard for keyword monitoring and reporting. What problem this workflow solves Tracking competitor keywords manually is slow and inconsistent. Most SEO tools provide limited API access or lack contextual keyword analysis. This workflow solves that by: Automatically scraping any competitor’s webpage with Decodo. Using OpenAI GPT-4.1-mini to interpret keyword intent, density, and semantic focus. Storing structured keyword insights directly in Google Sheets for ongoing tracking and trend analysis. What this workflow does Trigger — Manually start the workflow or schedule it to run periodically. Input Setup — Define the website URL and target country (e.g., https://dev.to, france). Data Scraping (Decodo) — Fetch competitor web content and metadata. Keyword Analysis (OpenAI GPT-4.1-mini) Extract primary and secondary keywords. Identify focus topics and semantic entities. Generate a keyword density summary and SEO strength score. Recommend optimization and internal linking opportunities. Data Structuring — Clean and convert GPT output into JSON format. Data Storage (Google Sheets) — Append structured keyword data to a Google Sheet for long-term tracking. Setup Prerequisites If you are new to Decode, please signup on this link visit.decodo.com n8n account with workflow editor access Decodo API credentials OpenAI API key Google Sheets account connected via OAuth2 Make sure to install the Decodo Community node. Create a Google Sheet Add columns for: primarykeywords, seostrengthscore, keyworddensity_summary, etc. Share with your n8n Google account. Connect Credentials Add credentials for: Decodo API credentials - You need to register, login and obtain the Basic Authentication Token via Decodo Dashboard OpenAI API (for GPT-4o-mini) Google Sheets OAuth2 Configure Input Fields Edit the “Set Input Fields” node to set your target site and region. Run the Workflow Click Execute Workflow in n8n. View structured results in your connected Google Sheet. How to customize this workflow Track Multiple Competitors → Use a Google Sheet or CSV list of URLs; loop through them using the Split In Batches node. Add Language Detection → Add a Gemini or GPT node before keyword analysis to detect content language and adjust prompts. Enhance the SEO Report → Expand the GPT prompt to include backlink insights, metadata optimization, or readability checks. Integrate Visualization → Connect your Google Sheet to Looker Studio for SEO performance dashboards. Schedule Auto-Runs → Use the Cron Node to run weekly or monthly for competitor keyword refreshes. Summary This workflow automates competitor keyword research using: Decodo for intelligent web scraping OpenAI GPT-4.1-mini for keyword and SEO analysis Google Sheets for live tracking and reporting It’s a complete AI-powered SEO intelligence pipeline ideal for teams that want actionable insights on keyword gaps, optimization opportunities, and content focus trends, without relying on expensive SEO SaaS tools.

Ranjan DailataBy Ranjan Dailata
161

Two-way property repair management system with Google Sheets & Drive

This workflow automates the repair request process between tenants and building managers, keeping all updates organized in a single spreadsheet. It is composed of two coordinated workflows, as two separate triggers are required — one for new repair submissions and another for repair updates. A Unique Unit ID that corresponds to individual units is attributed to each request, and timestamps are used to coordinate repair updates with specific requests. General use cases include: Property managers who manage multiple buildings or units. Building owners looking to centralize tenant repair communication. Automation builders who want to learn multi-trigger workflow design in n8n. --- ⚙️ How It Works Workflow 1 – New Repair Requests Behind the Scenes: A tenant fills out a Google Form (“Repair Request Form”), which automatically adds a new row to a linked Google Sheet. Steps: Trigger: Google Sheets rowAdded – runs when a new form entry appears. Extract & Format: Collects all relevant form data (address, unit, urgency, contacts). Generate Unit ID: Creates a standardized identifier (e.g., BUILDING-UNIT) for tracking. Email Notification: Sends the building manager a formatted email summarizing the repair details and including a link to a Repair Update Form (which activates Workflow 2). --- Workflow 2 – Repair Updates Behind the Scenes:\ Triggered when the building manager submits a follow-up form (“Repair Update Form”). Steps: Lookup by UUID: Uses the Unit ID from Workflow 1 to find the existing row in the Google Sheet. Conditional Logic: If photos are uploaded: Saves each image to a Google Drive folder, renames files consistently, and adds URLs to the sheet. If no photos: Skips the upload step and processes textual updates only. Merge & Update: Combines new data with existing repair info in the same spreadsheet row — enabling a full repair history in one place. --- 🧩 Requirements Google Account (for Forms, Sheets, and Drive) Gmail/email node connected for sending notifications n8n credentials configured for Google API access --- ⚡ Setup Instructions (see more detail in workflow) Import both workflows into n8n, then copy one into a second workflow. Change manual trigger in workflow 2 to a n8n Form node. Connect Google credentials to all nodes. Update spreadsheet and folder IDs in the corresponding nodes. Customize email text, sender name, and form links for your organization. Test each workflow with a sample repair request and a repair update submission. --- 🛠️ Customization Ideas Add Slack or Telegram notifications for urgent repairs. Auto-create folders per building or unit for photo uploads. Generate monthly repair summaries using Google Sheets triggers. Add an AI node to create summaries/extract relevant repair data from repair request that include long submissions.

Matt@VeraisonLabsBy Matt@VeraisonLabs
208