Skip to main content

Automate TikTok and Instagram trend videos with Claude, Seedance 2.0 and Blotato

Workflow preview

Workflow preview
100%
Automate TikTok and Instagram trend videos with Claude, Seedance 2.0 and Blotato preview
Open on n8n.io

1. Workflow Overview

TikTok Viral Trend Detector → Seedance 2.0 → Auto Publish with Blotato Documentation : [Notion Guide](https://automatisation.notion.site/Claude Cowork n8n Trend Detector 3483d6550fd980609c96c...

Best for

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

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.code, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.anthropic, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.if, @blotato/n8n-nodes-blotato.blotato

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automate TikTok and Instagram trend videos with Claude, Seedance 2.0 and Blotato
Workflow name
Automate TikTok and Instagram trend videos with Claude, Seedance 2.0 and Blotato

💥 TikTok Viral Trend Detector → Seedance 2.0 → Auto-Publish with Blotato

📄 Documentation: Notion Guide

Who is this for?

This workflow is built for content creators, social media managers, and automation enthusiasts who want to automate the entire TikTok content pipeline — from trend research to video generation to publishing — without filming anything.

It's especially powerful for anyone running faceless content channels on TikTok and Instagram, or agencies managing multiple accounts who need to produce trend-driven content at scale with zero manual effort.

> ⚠️ Disclaimer: This workflow uses Community Nodes (Blotato). These are only available on self-hosted n8n instances.


What problem is this workflow solving?

Creating viral TikTok content requires three separate skills: trend research, video production, and publishing strategy. Most creators spend hours doing each manually — scrolling TikTok for inspiration, editing videos in CapCut, then posting with the right hashtags at the right time.

This workflow automates the entire pipeline in one shot:

  • It finds what's trending right now on TikTok in your niche
  • Analyzes the viral pattern (hook structure, emotions, visual style)
  • Generates an original concept inspired by that pattern (no copying)
  • Creates a cinematic AI video with Seedance 2.0
  • Publishes automatically to TikTok and Instagram via Blotato

What this workflow does

This automation runs in two parts:

Part 1 — Claude Cowork (Trend Intelligence)

You prompt Claude Cowork with your niche (e.g., "weird productivity hacks"). It uses Apify to scrape the top viral TikTok videos on that topic, then performs a cross-video analysis to extract the viral recipe:

  • Hook pattern (the first 3 seconds)
  • Narrative structure (list format, before/after, tutorial...)
  • Dominant emotion (curiosity, recognition, surprise)
  • Recurring visual elements

Claude then generates 3 original video concepts that apply this viral recipe — not copies, but fresh ideas built on proven patterns. The best concept is sent to the n8n webhook as a structured JSON payload.

Part 2 — n8n Automation Pipeline

Once the webhook receives the payload, n8n takes over:

  1. Webhook receives the trend analysis + selected concept from Claude Cowork
  2. Normalize Payload handles both Postman (array format) and direct Cowork formats
  3. Google Sheets archives the full trend report (analyzed videos, viral pattern, all 3 concepts)
  4. Claude (Anthropic node) generates a Seedance-optimized video prompt: one continuous cinematic scene, no human faces, 9:16 vertical, plus a TikTok caption with hashtags
  5. AtlasCloud / Seedance 2.0 generates the AI video from the text prompt (720p, native audio)
  6. Polling loop checks every 5 seconds until the video is ready
  7. Google Sheets logs the production (video URL, prompt, caption, prediction ID)
  8. Respond Success immediately confirms to the webhook caller (before publishing, to avoid timeouts)
  9. Blotato publishes in parallel to TikTok and Instagram simultaneously
  10. Google Sheets updates the row with publication status and post URLs for both platforms

Setup

Required accounts:

  • A Claude.ai Pro account with Claude Cowork enabled (for Part 1 — trend scraping and analysis)
  • An Apify account to run the TikTok scraper actor (clockworks/tiktok-scraper). Apify handles the TikTok data extraction — without it, the Cowork agent cannot retrieve viral videos.

Credentials to configure in n8n:

  1. Google Sheets OAuth2
  • Type: OAuth2
  • Used for: Saving trend reports and production logs
  • Connect via n8n's built-in Google Sheets credentials
  1. Anthropic API Key
  • Type: Anthropic credentials (built-in n8n node)
  • Get it at: console.anthropic.com
  • Used for: Claude node — generating the Seedance video prompt and TikTok caption
  1. Atlas Cloud API Key
  • Type: Header Auth (Authorization: Bearer)
  • Get it at: AtlasCloud
  • Used for: Seedance 2.0 text-to-video generation (HTTP Request node)
  1. Blotato API Key
  • Type: Blotato credentials (community node)
  • Get it at: Blotato
  • Used for: Publishing to TikTok and Instagram
  • Install the community node: npm install @blotato/n8n-nodes-blotato

How to customize this workflow to your needs

Change the niche: Edit the Claude Cowork prompt to target a different niche: cooking hacks, finance tips, fitness routines, language learning — any niche with active TikTok communities works.

Change the video model: The workflow uses bytedance/seedance-2.0/text-to-video via AtlasCloud. You can swap it for seedance-2.0-fast (cheaper, 4s max) or any other AtlasCloud-supported model by editing the Seedance - Start Generation HTTP Request node body.

Add more platforms: Since Blotato supports 9 platforms (YouTube Shorts, LinkedIn, Pinterest, Threads, etc.), duplicate the Create post node and change the platform parameter to publish everywhere at once.

Change publishing schedule: Replace the Webhook trigger with a Schedule Trigger to run the full pipeline automatically every day at a set time.

Select a different concept: Claude Cowork generates 3 video concepts per run. Change selected_concept_id in the JSON payload (1, 2, or 3) to test different concepts on the same trend data.

Adjust video duration: The workflow currently uses duration: -1 (auto) for the Seedance node. Set it to 4 for faster/cheaper generation, or test higher values depending on your AtlasCloud plan limits.


🎥 Full tutorial: Watch on YouTube


👋 Need help or want to customize this?

📩 Contact: LinkedIn 📺 YouTube: @DRFIRASS 🚀 Workshops: n8n courses (in French)

Need help customizing?

Contact me for consulting and support : Linkedin / Youtube / 🚀 n8n courses (in French)

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 - Webhook Cowork

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 2 - Normalize Payload

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

Block 3 - Save Trend to Sheets

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

Block 4 - Select Concept

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

Block 5 - Message a model

Type / Role
@n8n/n8n-nodes-langchain.anthropic - anthropic
Config choices
Version 1

Block 6 - Parse Claude Output

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

Block 7 - Seedance - Start Generation

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

Block 8 - Wait Before Poll

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

Block 9 - Seedance - Poll Status

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

Block 10 - If

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

Block 11 - Wait

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

Block 12 - Extract Video URL

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

Block 13 - Log Video to Sheets

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

Block 14 - Create post Tiktok

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 15 - Wait Tiktok post

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

Block 16 - Get post Tiktok

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 17 - Update row in sheet

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

Block 18 - Update row in sheet1

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

Block 19 - Create post Instagram

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 20 - Wait Instagram post

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

Block 21 - Get post Instagram

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 22 - Sticky Note

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

Block 23 - Sticky Note2

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

Block 24 - Sticky Note3

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

Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automate TikTok and Instagram trend videos with Claude, Seedance 2.0 and Blotato
Complexity advanced
Nodes 26
Categories Content Creation, Multimodal AI
Author Dr. Firas
Published 21 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15203/15203.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 Automate TikTok and Instagram trend videos with Claude, Seedance 2.0 and Blotato do?

TikTok Viral Trend Detector → Seedance 2.0 → Auto Publish with Blotato Documentation : [Notion Guide](https://automatisation.notion.site/Claude Cowork n8n Trend Detector 3483d6550fd980609c96c...

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.