🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

TikTok + GPT-4: turn comments into content questions

Lisa Granqvist Partner Workflow Automation Expert

You know the feeling: you’re sure your audience is telling you what they want, but it’s buried in hundreds of TikTok comments across dozens of videos. So you scroll. You copy. You paste. And somehow you still end up guessing what to post next.

This TikTok comment automation hits content creators first, but social media strategists and marketing leads feel it too. Instead of spending about 2 hours hunting for “real questions,” you get a clean list of audience content questions (with source links) you can turn into scripts, hooks, and FAQs.

Below, you’ll see exactly how the workflow runs in n8n, what you need to make it work, and what kind of results to expect once it’s running.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: TikTok + GPT-4: turn comments into content questions

The Problem: TikTok comments are gold, but messy

Comments are where the truth is. People ask what they’re confused about, what they want next, what they tried, what failed, and what they’re embarrassed to admit. The problem is that TikTok doesn’t hand you those insights in a usable format. You have to open profiles, check recent videos, dig through threads, and then manually translate messy text into “questions worth answering.” Miss a few days and you’re back at zero, trying to remember what you saw last week.

It adds up fast. Here’s where it usually breaks down in the real world.

  • You end up sampling a handful of comments, which means you miss the repeated patterns that actually drive good content.
  • Copy-pasting into a doc is slow, and it’s easy to lose the video link you’ll want later for context.
  • Team workflows get awkward because “comment research” lives in someone’s browser tabs, not in a shared planning system.
  • When you finally sit down to plan content, you still have to rewrite everything into clear, publishable questions.

The Solution: Turn a keyword into audience questions (automatically)

This workflow takes one simple input (a keyword) and turns it into a practical content research deliverable: a short list of recurring audience questions, grouped and cleaned, each with the source video link. It starts by searching TikTok for creator profiles related to your keyword using Dumpling AI. Then it pulls the latest videos from those profiles, collects the comments, and runs a quick cleaning step so the text is readable and consistent. Finally, GPT-4 reviews the cleaned comments and extracts the top questions your audience keeps asking. The workflow stores the results in an n8n Data Table so you can review, sort, and plan content without digging through TikTok again.

The workflow begins when you submit a keyword through a form trigger. After that, it cycles through creators and videos in batches, pauses briefly to avoid rate limits, and keeps looping until it has processed the newest content. When the AI finishes, you get a neat “question library” with links you can reference later.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you’re building content around one keyword and you want ideas from 10 creators. Manually, you might spend about 10 minutes per creator just to find recent videos, then another 10 minutes per video digging through comments and saving links. Even if you only check 2 videos each, that’s roughly 3–4 hours of research. With this workflow, you submit the keyword in under a minute, let the batches run (often about 20–30 minutes depending on volume), and you get a ready-to-use question list with video links waiting in your table.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Dumpling AI for TikTok search and data access.
  • OpenAI (GPT-4) to group comments into clear questions.
  • Dumpling AI API key (get it from your Dumpling AI dashboard).

Skill level: Intermediate. You’ll connect credentials, review a prompt, and confirm your Data Table fields.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

You submit a keyword through a form trigger. That keyword becomes the “research topic” for the run, so you can reuse the workflow for any niche or campaign theme.

TikTok creators and videos are pulled in batches. The workflow calls Dumpling AI via HTTP requests, splits results into manageable chunks, and caps the number of users so you don’t accidentally fetch a huge dataset on day one.

Comments are collected, then cleaned before AI sees them. A code step (Python in n8n) removes junk text and normalizes the comment content, which honestly makes a big difference in question quality.

GPT-4 extracts recurring questions and the workflow stores them. The AI step outputs the “top questions,” and the Data Table stores the questions alongside useful metadata like video links so you can review and plan content quickly.

You can easily modify the keyword source to come from Telegram or a schedule based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Form Trigger

This workflow starts when a user submits keywords via a form, which then drives the TikTok search requests.

  1. Add and open Keyword Form Intake.
  2. Set Form Title to Tik Tok Search.
  3. Confirm a form field labeled Keywords is present in Form Fields.
  4. Verify the execution flow starts from Keyword Form Intake to Query TikTok Users API.

Tip: Use clear, specific search phrases in the Keywords field to improve user discovery.

Step 2: Connect TikTok Search Requests

These nodes call the TikTok user search and profile video APIs and prepare results for batch processing.

  1. Open Query TikTok Users API and set URL to https://app.dumplingai.com/api/v1/search-tiktok-users.
  2. Set Method to POST and ensure Send Body is enabled.
  3. In Body Parameters, set query to {{ $json.Keywords }}.
  4. Credential Required: Connect your httpHeaderAuth credentials in Query TikTok Users API.
  5. Open Fetch Profile Videos API and set URL to https://app.dumplingai.com/api/v1/get-tiktok-profile-videos with Method POST.
  6. Set Body Parameters handle to {{ $json.user.search_user_name }}.
  7. Credential Required: Connect your httpHeaderAuth credentials in Fetch Profile Videos API.

⚠️ Common Pitfall: If the request body fields don’t match exactly (query and handle), the DumplingAI endpoints will return empty results.

Step 3: Configure Batching and Rate Limiting

Batching and pauses keep the workflow within API limits while iterating over users and videos.

  1. In Divide User Results, set Field to Split Out to userList.
  2. In Cap User Count, set a limit if you want to restrict how many users are processed per run.
  3. Open Iterate User Batches to batch through users; keep default options unless you need specific batch sizing.
  4. Configure Rate Limit Pause with Amount set to 15 to throttle API calls.
  5. In Separate Video List, set Field to Split Out to aweme_list.
  6. Use Cycle Video Batches to iterate through videos; it outputs to Retrieve Video Comments and loops back via Store Results Table per execution flow.

Tip: Increasing the batch size in Iterate User Batches or Cycle Video Batches can speed up processing but may trigger API rate limits.

Step 4: Extract and Prepare Comment Data

This stage pulls comments for each video and cleans them into a structured list for AI analysis.

  1. Open Retrieve Video Comments and set URL to https://app.dumplingai.com/api/v1/get-tiktok-video-comments with Method POST.
  2. Set Body Parameters url to {{ $json.share_info.share_url }}.
  3. Credential Required: Connect your httpHeaderAuth credentials in Retrieve Video Comments.
  4. In Clean Comment Text, set Language to python and paste the provided code to extract Comment entries.
  5. Confirm execution flow from Retrieve Video CommentsClean Comment TextDerive Top Questions.

Step 5: Set Up AI Question Extraction

The AI node analyzes comments to produce a ranked list of commonly asked questions.

  1. Open Derive Top Questions and select model gpt-4.1.
  2. Confirm the system message instructs the model to identify top recurring questions.
  3. Set the user message to include Here is the comment data: {{ JSON.stringify($json.Comment) }}.
  4. Credential Required: Connect your openAiApi credentials in Derive Top Questions.

⚠️ Common Pitfall: If the comments list is empty, the AI will return generic output. Ensure Clean Comment Text is producing a Comment array.

Step 6: Configure Output Storage

Results are written to a data table with the video URL and extracted questions.

  1. Open Store Results Table and select the target data table ID (for example, Tik Tok Keywords).
  2. Set the Videos column value to {{ $('Cycle Video Batches').item.json.share_info.share_url }}.
  3. Set the Keywords column value to {{ $json.message.content }}.
  4. Confirm Store Results Table connects back to Cycle Video Batches to continue processing.

Step 7: Test and Activate Your Workflow

Validate the workflow end-to-end and then turn it on for production use.

  1. Click Execute Workflow and submit the form in Keyword Form Intake with a sample keyword.
  2. Verify that Query TikTok Users API returns results and that batches pass through Iterate User Batches and Cycle Video Batches.
  3. Check that Derive Top Questions outputs a ranked list of questions in message.content.
  4. Confirm rows appear in Store Results Table with video URLs and extracted questions.
  5. Toggle the workflow Active to enable ongoing use.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • Dumpling AI credentials can expire or need specific permissions. If things break, check your Dumpling AI dashboard and the n8n credential test first.
  • If you’re using Wait nodes or external fetching, processing times vary. Bump up the wait duration if downstream requests fail because the previous batch hasn’t returned results yet.
  • Default prompts in the GPT-4 node are generic. Add your brand voice early or you will keep rewriting “pretty good” questions into usable ones.

Frequently Asked Questions

How long does it take to set up this TikTok comment automation automation?

About 30 minutes if your API keys are ready.

Do I need coding skills to automate TikTok comment automation?

No. You’ll mostly connect accounts and adjust a couple of fields and prompts.

Is n8n free to use for this TikTok comment automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in OpenAI API usage (usually a few dollars a month for light research) and whatever Dumpling AI charges on your plan.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this TikTok comment automation workflow for a weekly scheduled research run?

Yes, and it’s a common upgrade. You can swap the keyword form trigger for a scheduled trigger, then feed in a fixed list of keywords (or pull them from Google Sheets). Many teams also tweak the GPT-4 prompt to output a specific format like “hook + question + angle,” which makes content production even faster. If you route results into Google Sheets or Excel 365 instead of the n8n Data Table, your whole team can work from one shared backlog.

Why is my Dumpling AI connection failing in this workflow?

Usually it’s an expired API key or the key is stored in the wrong n8n credential entry. Regenerate the key in Dumpling AI, update it in n8n, then re-run the workflow from the HTTP request step. If it fails only on larger runs, you may be hitting rate limits, so increase the Wait node duration and reduce how many creators you process per batch.

How many comments can this TikTok comment automation automation handle?

On n8n Cloud Starter, you can run a few thousand executions per month, which is plenty for weekly research. If you self-host, there’s no execution limit, and scale mostly depends on your server and API rate limits. Practically, most teams start with 5–20 creators per keyword and expand once the output quality looks good.

Is this TikTok comment automation automation better than using Zapier or Make?

Often, yes, because this workflow needs batching, waiting, looping, and a bit of cleaning before the AI step. n8n handles those patterns cleanly, and self-hosting keeps your run volume from getting expensive. Zapier or Make can be fine for simple “new thing → send thing” automations, but this one is closer to a mini data pipeline. If your output needs to be reliable (and not randomly cut off mid-run), n8n is usually the calmer choice. Talk to an automation expert if you’re not sure which fits.

Once this is running, your content planning stops starting from scratch. The workflow handles the digging, and you get to focus on shipping the next good post.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal