Skip to main content

Extract TikTok reaction hooks with RenderIO scene detection

Workflow preview

Workflow preview
100%
Extract TikTok reaction hooks with RenderIO scene detection preview
Open on n8n.io

1. Workflow Overview

Works on both n8n Cloud and self hosted instances. This template uses the community node, which is installable on n8n Cloud and self hosted setups. Who's it for UGC creators, performance marketers,...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-renderio.renderio, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.form

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Extract TikTok reaction hooks with RenderIO scene detection
Workflow name
Extract TikTok reaction hooks with RenderIO scene detection

Works on both n8n Cloud and self-hosted instances. This template uses the n8n-nodes-renderio community node, which is installable on n8n Cloud and self-hosted setups.

Who's it for

UGC creators, performance marketers, and AI avatar producers who want to harvest the reaction shot from a TikTok and reuse it as the opening hook of new content. The extracted clip is designed to feed straight into Kling motion control or any AI avatar pipeline to mass-produce on-brand UGC reactions, without manually scrubbing through videos to find the cut point.

What it does

You paste a TikTok URL into a form. The workflow downloads the video, runs FFmpeg scene detection through RenderIO to find where the opening reaction shot ends and the product or app demo begins, then trims the source at that exact cut point. You get back a clean MP4 of just the reaction hook (typically the first 1 to 6 seconds), ready to drop into your avatar workflow. All video processing runs on cloud-based FFmpeg via RenderIO, so no local rendering is needed.

How it works

  1. On TikTok URL Submission is a form trigger that accepts a TikTok URL from the user.
  2. Download & Detect Scenes uses RenderIO to download the video and run an FFmpeg scene detection pass (select='gt(scene,0.3)') that writes timestamps of every detected cut to a scenes.txt file.
  3. Wait 5 Seconds for Detection pauses to let the RenderIO job complete, then Verify Scene Detection Status checks the job state. If Scenes Detected branches based on whether the result is ready, with Wait 10 Seconds for Detect Retry handling retries.
  4. Extract Initial Scene Cut fetches the scenes.txt file, parses all pts_time timestamps with a regex, and picks the first cut that falls in the 1 to 6 second window. If the first cut is too early it uses the next valid one; if no cut is found it falls back to 6 seconds.
  5. Execute Visual Hook Split sends a POST to the RenderIO API with an FFmpeg command that trims the source from 0 to the detected hook end time, re-encoding with libx264 veryfast and AAC audio.
  6. Wait 5 Seconds for Split and Verify Split Execution Status poll until the trim job finishes, with Wait 10 Seconds for Split Retry handling retries.
  7. Show Hook Download Link displays a completion form with the hook end time, the detection reason, all detected cut timestamps, and a direct download link to the trimmed MP4.

Requirements

  • An n8n Cloud or self-hosted instance
  • The n8n-nodes-renderio community node installed via Settings > Community Nodes
  • A free RenderIO account and API key from renderio.dev
  • A public TikTok URL where the first 1 to 6 seconds is a reaction shot and the rest is the demo or payoff

How to set up

  1. Install the n8n-nodes-renderio community node from Settings > Community Nodes.
  2. Create a RenderIO API credential in n8n using your key from renderio.dev.
  3. Import the workflow.
  4. Open the On TikTok URL Submission node and copy the production form URL, or use the test URL for trial runs.
  5. Activate the workflow.
  6. Open the form, paste a TikTok URL where the first 1 to 6 seconds is a clear reaction (smile, gasp, cry, eyes wide) and the rest is product or app footage, then submit.

How to customize the workflow

  • Change the scene sensitivity by editing the gt(scene,0.3) threshold in the Download & Detect Scenes FFmpeg command. Lower values like 0.2 catch softer cuts, higher values like 0.4 only catch hard cuts.
  • Adjust the hook window by editing minS and maxS in the Extract Initial Scene Cut code node (defaults are 1 and 6 seconds).
  • Tweak the output encoding in the Execute Visual Hook Split FFmpeg command, for example change -crf 20 for quality or swap libx264 for libx265.
  • Add a Google Drive or S3 upload node after the split step to archive every extracted hook.
  • Chain a Kling, HeyGen, or other avatar API call directly after Show Hook Download Link to automatically produce the avatar reaction variant.
  • Increase the wait durations if you process longer videos that take more time on RenderIO.

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 - Sticky Note

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

Block 2 - Sticky Note1

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

Block 3 - Sticky Note2

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

Block 4 - Sticky Note3

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

Block 5 - Sticky Note4

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

Block 6 - Sticky Note5

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

Block 7 - On TikTok URL Submission

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

Block 8 - Download & Detect Scenes

Type / Role
n8n-nodes-renderio.renderio - renderio
Config choices
Version 1

Block 9 - Wait 5 Seconds for Detection

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

Block 10 - Verify Scene Detection Status

Type / Role
n8n-nodes-renderio.renderio - renderio
Config choices
Version 1

Block 11 - If Scenes Detected

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

Block 12 - Extract Initial Scene Cut

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

Block 13 - Execute Visual Hook Split

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

Block 14 - Wait 5 Seconds for Split

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

Block 15 - Verify Split Execution Status

Type / Role
n8n-nodes-renderio.renderio - renderio
Config choices
Version 1

Block 16 - If Split Successful

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

Block 17 - Show Hook Download Link

Type / Role
n8n-nodes-base.form - form
Config choices
Version 2.3

Block 18 - Wait 10 Seconds for Split Retry

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

Block 19 - Wait 10 Seconds for Detect Retry

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

3. Summary Table

Workflow Extract TikTok reaction hooks with RenderIO scene detection
Complexity advanced
Nodes 19
Categories Content Creation, Multimodal AI
Author RenderIO
Published 21 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15883/15883.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 Extract TikTok reaction hooks with RenderIO scene detection do?

Works on both n8n Cloud and self hosted instances. This template uses the community node, which is installable on n8n Cloud and self hosted setups. Who's it for UGC creators, performance marketers,...

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, Multimodal AI use case.