Skip to main content

Send lecture study digests to WhatsApp with WayinVideo, GPT-4o-mini and Twilio

Workflow preview

Workflow preview
100%
Send lecture study digests to WhatsApp with WayinVideo, GPT-4o-mini and Twilio preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow collects a lecture video URL and student details via an n8n form, summarizes the video with the WayinVideo Summarization API, refines the output into a study digest wit...

Best for

  • Content Creation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Send lecture study digests to WhatsApp with WayinVideo, GPT-4o-mini and Twilio
Workflow name
Send lecture study digests to WhatsApp with WayinVideo, GPT-4o-mini and Twilio

Quick Overview

This workflow collects a lecture video URL and student details via an n8n form, summarizes the video with the WayinVideo Summarization API, refines the output into a study digest with OpenAI GPT-4o-mini, then sends the digest to WhatsApp via Twilio and logs it to Google Sheets.

How it works

  1. Receives a student submission from an n8n form with their name, WhatsApp number, subject, lecture video URL, and an exam revision flag.
  2. Validates the required fields, normalizes the phone number, and formats the recipient as a Twilio WhatsApp address.
  3. Submits the lecture video URL to the WayinVideo Summarization API and waits 90 seconds for initial processing.
  4. Polls the WayinVideo results endpoint every 30 seconds until the summarization status is SUCCEEDED.
  5. Sends the returned summary, highlights, and tags to OpenAI GPT-4o-mini to produce 5 key learning points, 3 exam-important concepts, and one “never-forget” line.
  6. Formats the AI output into a WhatsApp-ready message and sends it via Twilio while appending the digest details to a Google Sheets tab.

Setup

  1. Create a WayinVideo API key and replace YOUR_WAYINVIDEO_API_KEY in the submit and results HTTP requests.
  2. Add an OpenAI credential for GPT-4o-mini to the OpenAI chat model used by the AI Agent.
  3. Configure Twilio WhatsApp (Sandbox or approved sender), then replace YOUR_TWILIO_ACCOUNT_SID, YOUR_TWILIO_AUTH_TOKEN, and YOUR_TWILIO_WHATSAPP_NUMBER in the Twilio HTTP request.
  4. Connect a Google Sheets OAuth credential, set YOUR_GOOGLE_SHEET_ID, and ensure a sheet named “Lecture Digests” exists with columns matching the appended fields (Student, Phone, Subject, Video URL, Key Points, Exam Concepts, Exam Tag, Date).

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 - Overview

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

Block 2 - Section — Student Request Form and Data Preparation

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

Block 3 - Section — WayinVideo Summarization Submit and Poll Loop

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

Block 4 - Section — GPT-4o-mini Digest Generation and WhatsApp Message Build

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

Block 5 - Section — WhatsApp Send and Sheets Log

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

Block 6 - 1. Form — Student Request

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

Block 7 - 2. Code — Validate and Prepare

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

Block 8 - 3. HTTP — WayinVideo Submit Summarization

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

Block 9 - 4. Wait — 90 Seconds

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

Block 10 - 5. HTTP — WayinVideo Get Summary Results

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

Block 11 - 6. IF — Summary Ready?

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

Block 12 - 7. Wait — 30 Second Retry

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

Block 13 - 8. AI Agent — Generate Study Digest

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 14 - OpenAI — GPT-4o-mini Model

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

Block 15 - 9. Code — Build WhatsApp Message

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

Block 16 - 10. HTTP — Send WhatsApp via Twilio

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

Block 17 - 11. Google Sheets — Save Digest

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

3. Summary Table

Workflow Send lecture study digests to WhatsApp with WayinVideo, GPT-4o-mini and Twilio
Complexity advanced
Nodes 17
Categories Content Creation, AI Summarization
Author Incrementors
Published 06 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16147/16147.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 Send lecture study digests to WhatsApp with WayinVideo, GPT-4o-mini and Twilio do?

Quick Overview This workflow collects a lecture video URL and student details via an n8n form, summarizes the video with the WayinVideo Summarization API, refines the output into a study digest wit...

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 Content Creation, AI Summarization use case.