Turn TikTok Comments into AI Avatar Videos with Dumpling AI, GPT-4 & Captions.ai
Who’s it for
This template is perfect for TikTok creators, content marketers, and social media teams who want to turn viral comments into engaging short-form videos without manually scripting, recording, or editing. If you want to keep up with trends and consistently publish high-quality avatar videos, this workflow automates the entire process from comment selection to enhanced final video.
What it does
The workflow takes TikTok video URLs and their top comments from a Data Table, extracts the transcript using Dumpling AI, and uses GPT-4 to write a natural and engaging TikTok script inspired by the comment. It then generates a full AI avatar video through Captions.ai, enhances it with subtitles and B-roll using Submagic, and finally saves all video details into Airtable for tracking.
Here’s what happens step by step:
Pulls TikTok videos and their top comments from a Data Table
Sends video URLs to Dumpling AI to retrieve transcripts
Feeds both transcript and comment into GPT-4 to generate a conversational TikTok script
Cleans and formats the script using JavaScript
Sends the script to Captions.ai to produce an AI avatar video
Checks video status and retries if needed
Enhances the final video with Submagic for captions and effects
Receives the enhanced video via webhook and logs details into Airtable
How it works
Schedule Trigger: Runs automatically at set intervals to start the workflow
Data Table: Retrieves TikTok video URLs and associated comments
Dumpling AI: Extracts transcripts from the video URLs
GPT-4: Generates a compelling TikTok script based on the comment
JavaScript Node: Cleans up script formatting for a smooth avatar generation
Captions.ai: Creates an AI avatar video from the cleaned script
Wait & Check: Monitors video creation status and retries if necessary
Submagic: Enhances the video with captions, zooms, and B-roll effects
Webhook & Airtable: Receives final video data and saves URL and ID for future use
Requirements
✅ Dumpling AI API key stored as HTTP header credentials
✅ OpenAI GPT-4 credentials
✅ Captions.ai API credentials
✅ Submagic API credentials
✅ Airtable base with fields for Video URL and Caption Video ID
✅ A properly structured Data Table containing TikTok Keywords or video URLs
How to customize
Adjust the GPT-4 system prompt to shape the tone, style, or format of the TikTok script
Change the avatar or creator settings in Captions.ai to match your brand personality
Modify Submagic settings to control subtitle styling or B-roll effects
Integrate approval steps before final video generation if needed
Extend the workflow to auto-publish videos to TikTok or store them in cloud drives
> This workflow lets you transform TikTok comments into engaging AI avatar videos with captions and edits, completely on autopilot. It’s a powerful way to scale content output and stay ahead of trends without manual scripting or filming.
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments