Skip to main content
Community template Uses AIContent CreationMultimodal AI

Clone viral TikToks with AI avatars & auto-post to 9 platforms using Perplexity & Blotato - n8n workflow template

This workflow is perfect for: Content creators looking to repurpose viral content Social media managers who want to scale short-form content across multiple platforms Entrepreneurs and marketers aiming to save time and boost visibility with AI-powered automation Reproducing…

Template by Dr. Firas · Original listing (opens in a new tab)

Starts on
App event
Nodes
37 nodes
Level
Advanced
Setup
About 34 min

Workflow preview

How this workflow runs

  1. 1

    Trigger: Get TikTok URL via Telegram

    Starts the workflow when a message is received by the Telegram bot.

  2. 2

    Download TikTok Video (RapidAPI)

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

  3. 3

    Extract Video Thumbnail

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

  4. 4

    Upload Thumbnail to Cloudinary

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

  5. 5

    Analyze Thumbnail (GPT-4o Vision)

    Calls the OpenAI API for chat, image, or audio generation.

  6. 6

    Extract Overlay Text (GPT-4o)

    Calls the OpenAI API for chat, image, or audio generation.

  7. 7

    Download TikTok Audio

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

  8. 8

    Transcribe Audio to Script (GPT)

    Calls the OpenAI API for chat, image, or audio generation.

  9. 9

    Generate Unique Template ID

    Runs custom JavaScript to transform or manipulate the data flowing through the workflow.

  10. 10

    Save Original Video to Google Sheets

    Reads from or writes rows to a Google Sheets spreadsheet.

Creator's notes and setup

Written by Dr. Firas for the original listing.

Clone a viral TikTok with AI and auto-post it to 9 platforms using Perplexity & Blotato

Who is this for?

This workflow is perfect for:

  • Content creators looking to repurpose viral content
  • Social media managers who want to scale short-form content across multiple platforms
  • Entrepreneurs and marketers aiming to save time and boost visibility with AI-powered automation

What problem is this workflow solving?

Reproducing viral video formats with your own branding and pushing them to multiple platforms is time-consuming and hard to scale. This workflow solves that by:

  • Cloning a viral TikTok video’s structure
  • Generating a new version with your avatar
  • Rewriting the script, caption, and overlay text
  • Auto-posting it to 9 social media platforms — without manual uploads

What this workflow does

From a simple Telegram message with a TikTok link, the workflow:

  1. Downloads a TikTok video and extracts its thumbnail, audio, and caption
  2. Transcribes the audio and saves original text into Google Sheets
  3. Uses Perplexity AI to suggest a new content idea in the same niche
  4. Rewrites the script, caption, and overlay using GPT-4o
  5. Generates a new video with your avatar using Captions.ai
  6. Adds subtitles and overlay text with JSON2Video
  7. Saves metadata to Google Sheets for tracking
  8. Sends the final video to Telegram for preview
  9. Auto-publishes the video to Instagram, YouTube, TikTok, Facebook, LinkedIn, Threads, X (Twitter), Pinterest, and Bluesky via Blotato

Setup

  1. Connect your Telegram bot to the trigger node.
  2. Add your OpenAI, Perplexity, Cloudinary, Captions.ai, and Blotato API keys.
  3. Make sure your Google Sheet is ready with the appropriate columns.
  4. Replace the default avatar name in the Captions.ai node with yours.
  5. Fill in your social media account IDs in the "Assign Platform IDs" node.
  6. Test by sending a TikTok URL to your Telegram bot.

How to customize this workflow to your needs

  • Change avatar output style: adjust resolution, voice, or avatar ID.
  • Refine script structure: tweak GPT instructions for different tone/format.
  • Swap Perplexity with ChatGPT or Claude if needed.
  • Filter by platform: disable any Blotato nodes you don’t need.
  • Add approval step: insert a Telegram confirmation node before publishing.
  • Adjust subtitle style or overlay text font in JSON2Video.

Documentation: Notion Guide


n8n nodes used (8 types)

What every node does (37)
  • Assign Social Media IDs (Set)Sets or transforms workflow data — prepares, renames, or injects fields before the next step.
  • Upload Video to Blotato (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • INSTAGRAM (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • YOUTUBE (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • TIKTOK (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • FACEBOOK (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • THREADS (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • TWETTER (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • LINKEDIN (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • BLUESKY (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • PINTEREST (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Trigger: Get TikTok URL via Telegram (Telegram Trigger)Starts the workflow when a message is received by the Telegram bot.
  • Download TikTok Video (RapidAPI) (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Extract Video Thumbnail (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Upload Thumbnail to Cloudinary (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Analyze Thumbnail (GPT-4o Vision) (Open AI)Calls the OpenAI API for chat, image, or audio generation.
  • Extract Overlay Text (GPT-4o) (Open AI)Calls the OpenAI API for chat, image, or audio generation.
  • Download TikTok Audio (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Transcribe Audio to Script (GPT) (Open AI)Calls the OpenAI API for chat, image, or audio generation.
  • Generate Unique Template ID (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.
  • Save Original Video to Google Sheets (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Suggest Similar Idea (Perplexity) (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Clean Perplexity Response (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.
  • Rewrite Script, Caption, Overlay (GPT-4o) (Open AI)Calls the OpenAI API for chat, image, or audio generation.
  • Split Rewritten Content into Sections (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.
  • Generate New Video ID (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.
  • Save Rewritten Video to Google Sheets (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Fetch Available Avatars (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Generate Video with Avatar (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Wait for Avatar Rendering (3 min) (Wait)Pauses the workflow for a set time or until a condition is met (used for polling / async jobs).
  • Fetch Avatar Video URL (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Add Overlay Text with JSON2Video (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Wait for Caption Rendering (Wait)Pauses the workflow for a set time or until a condition is met (used for polling / async jobs).
  • Fetch Final Video from JSON2Video (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Update Final Video URL in Sheet (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Send Video URL via Telegram (Telegram)Sends or receives messages through a Telegram bot.
  • Send Final Video Preview (Telegram)Sends or receives messages through a Telegram bot.

FAQ

Clone viral TikToks with AI avatars & auto-post to 9 platforms using Perplexity & Blotato: questions

How do I import the "Clone viral TikToks with AI avatars & auto-post to 9 platforms using Perplexity & Blotato" workflow into n8n?

Copy the workflow JSON from this page, open the n8n editor, click on an empty canvas and paste with Ctrl+V (Cmd+V on macOS). You can also download the .json file and choose Import from File in the workflow menu. Save the workflow, then attach credentials before activating it.

Which nodes and credentials does "Clone viral TikToks with AI avatars & auto-post to 9 platforms using Perplexity & Blotato" use?

It uses Google Sheets, HTTP Request, Set, Telegram, Telegram Trigger and Wait, plus 2 more. Any node that connects to an external service needs your own credential — open each node after import and select or create one. Trigger, logic and transformation nodes usually need no credentials.

Can it run on n8n Cloud and on self-hosted n8n?

The workflow format is the same on both. If a node appears as unknown or outdated after import, update n8n to a recent version or, on self-hosted instances, install the required community node package. Features such as $env access are available on self-hosted instances only.

How can I customise "Clone viral TikToks with AI avatars & auto-post to 9 platforms using Perplexity & Blotato"?

Start by changing the trigger (schedule, webhook or app event) and the destination nodes to match your stack — it is listed under Content Creation, Multimodal AI. Edit prompts, field mappings and filters in the relevant nodes, use expressions like {{ $json.field }} to map data, and test with a manual execution before activating.

n8n is a trademark of n8n GmbH. AltFTool is not affiliated with, endorsed by or sponsored by n8n. Community templates are credited to their creators and link to the original listing; AltFTool originals are written and tested by the AltFTool team.

About this page

Free n8n workflow templates to copy and import

The AltFTool n8n library collects free n8n workflow templates for AI agents, Gmail, Google Sheets, Telegram and other apps. Each workflow page shows a preview, the list of nodes and the credentials it needs, and lets you copy or download the JSON to import into your own n8n.

Search the templates by app or task, or browse them by category and by node. The Workflow Inspector checks any workflow JSON for triggers, credentials and hardcoded keys before you share it, and the expressions cheat sheet gives copy-paste n8n expression examples. AltFTool is not affiliated with n8n.

People also search for

  • n8n workflow templates
  • n8n templates
  • n8n automation examples
  • n8n json workflows
  • n8n nodes
  • free n8n workflow templates
  • n8n ai agent template
  • n8n expressions cheat sheet