Create TikTok Shop product videos with Seedance 2.5, OpenAI, and SocialRobot
UnknownWhat this workflow does
This AI workflow has 23 nodes and runs when someone submits an n8n form (“Create a TikTok Shop product video”). Along the way it connects OpenAI Chat Model and Socialrobot (community). It also calls api.replicate.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Create a TikTok Shop product video”).
- Set Video Settings (Edit Fields (Set)): sets 14 fields: model, resolution, duration_seconds…
- Has Product Photos? (If): checks a condition and branches into true / false
- Prepare Product Photos (Code): runs custom JavaScript code
- Collect Photo URLs (Code): runs custom JavaScript code
- Upload Photo to Replicate (HTTP Request): calls api.replicate.com (POST)
- Write Script and Prompt (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI GPT-6 Luna; output parser: Script Format
- Build Seedance Request (Code): runs custom JavaScript code
- Submit Seedance Job (HTTP Request): calls an HTTP API (POST)
- Wait: pauses before continuing
- Check Seedance Job (HTTP Request): calls an HTTP API
…plus 10 more steps. See the full node list below.
Services it uses
HTTP calls to: api.replicate.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @socialrobot-io/n8n-nodes-socialrobot is verified or supports 3.0 (used in Save TikTok Draft, Optional Instagram Reel).
Nodes used (12)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Wait
n8n-nodes-base.wait - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Social Robot
@socialrobot-io/n8n-nodes-socialrobot.socialRobot - Stop and Error
n8n-nodes-base.stopAndError
From the author
Quick overview This workflow collects a TikTok Shop product brief via an n8n form, uses OpenAI and Replicate (Seedance 2.5) to generate a 15-second vertical product video, validates the output, and uploads it to TikTok as an inbox draft using SocialRobot…