# 7 Clone Viral Reels with AI Avatar

### Description

This fully automated AI Avatar Reel Repurposing system lets you take any Instagram Reel and instantly transform it into your own branded AI avatar video, WITHOUT having to film or edit yourself. It combines content analysis, script rewriting, and HeyGen AI avatars to download reels, rewrite scripts and captions into a short 30-second format, regenerate the video with your chosen avatar and voice, and automatically post across every major social media platform including Instagram, TikTok, YouTube, Facebook, LinkedIn, Pinterest, Twitter/X, and Threads. Everything runs end-to-end in the background, so you only paste a link, and the system handles downloading, rewriting, recording, and publishing your content every single day.

### Platforms

<table data-full-width="false"><thead><tr><th data-type="checkbox">n8n</th><th data-type="checkbox">Make</th><th data-type="checkbox">Zapier</th></tr></thead><tbody><tr><td>true</td><td>true</td><td>false</td></tr></tbody></table>

### Templates

<https://drive.google.com/drive/folders/1Hyqe_JVSuLZ59JrKTOBbN4GaXwwoAxnk?usp=drive_link>

### Tutorials

#### n8n

{% embed url="<https://www.youtube.com/watch?v=BdKqEkdvlgQ>" %}

#### Make

{% embed url="<https://youtu.be/YZn6MuUIW0A>" %}

* Make template does not automatically check if your Airtable record has a background URL. Instead, it will create a Heygen avatar video WITHOUT a background.
* If you want to create avatar videos with an image or video background, edit the CREATE VIDEO module as follows:
  * enable parameter `matting` to yes
  * scroll down and select `background type`
  * select image or video background
  * drop in `backgroundUrl` variable from Airtable

### Overview

Here’s how the automation works:

**1. Trigger: Airtable Input**

\* Paste the Instagram Reel link into the \`ReelURL\` column (optional: add a \`BackgroundURL\`).

**2. Reel Processing**

\- Transcribe the Reel audio

\- Rewrite into \~30 seconds of spoken text

\- Generate SEO-optimized caption

\- Create a viral overlay sentence for attention, that can be used as the title

**3. Trigger 2: Human Approval**

\- Edit or approve the Script, Caption, and Overlay in Airtable

\- Check the \`Approved\` box to confirm content is ready

**4. Create Avatar Video**

\- Call Heygen API (requires paid API plan), specifying your avatar ID and voice ID

\- Create avatar video, optionally passing in an image/video background if you have a green screen avatar

**5. Get Video**

\- Wait awhile, then fetch completed avatar video

**6. Publish to Social Media**

\- Pass the video URL directly to the Blotato Publish node - no upload step required

\- Connect Blotato to your social accounts

\- Choose your social accounts

\- Either post immediately or schedule for later

### Setup

* [Install the Blotato and Apify community nodes](https://help.blotato.com/api/n8n/n8n-blotato-node)
* [**Airtable**](https://airtable.com/) Create a free account, then visit the [Personal Access Token Page](https://airtable.com/create/tokens) and create a new key (make sure to add `data.records:read`, `data.records:write`, `schema.bases:read` in Scopes and add your base in Access). Then create Airtable credential. Clone [this Airtable Database](https://airtable.com/appKGAkMPhWAhL9dF/shriczYSic1SRJzU2). Copy your newly made Airtable Database URL and paste it in both Airtable Triggers under `Base URL` and `Table URL`.
* [**Blotato**](https://blotato.com) Sign up on Blotato, then go to [Dashboard → API Keys](https://my.blotato.com/settings/api) to create your key. Then create Blotato credential.
* [**Apify**](https://apify.com) Create a free account, then visit [Account → Integrations → API Tokens](https://console.apify.com/settings/integrations) to generate your token. Then create Apify credential.
* [**OpenAI**](https://platform.openai.com/) Create a free account, then go to the [API Keys page](https://platform.openai.com/api-keys) and create a new key. Then create OpenAI credential.
* [**HeyGen\_API**](https://www.heygen.com) Sign up and visit the [API access page](https://app.heygen.com/settings?from=\&nav=Subscriptions%20%26%20API) to request an API key. Then paste the generated API Key under `HeyGen_API` in the Setup Node.
* [**Avatar\_ID**](https://www.heygen.com) After creating/choosing an avatar in HeyGen, go to **Avatars** in the dashboard → copy the avatar ID from the developer panel. Then paste the Avatar ID under `Avatar_ID` in the Setup Node.
* [**Voice\_ID**](https://www.heygen.com) In the HeyGen **Voices** section, select your desired voice and copy its ID from the developer panel or API docs. Then paste the Voice ID under `Voice_ID` in the Setup Node.
* Follow the 3 setup instruction in BROWN sticky notes in this template.
* If you want a background image/video behind your avatar, also add a publicly accessible link to the Background Video on Airtable Database in the field `BackgroundURL`. I only recommend doing this AFTER the full workflow is operational.

### Tips & Tricks

* While testing: enable only 1 social platform, and deactivate the rest for testing purposes. Update the AI agent node’s prompt to return a 5-second script, rather than 30 seconds, to reduce the processing duration.
* Go to Heygen and check that your avatar video is being processed.
* After the workflow finishes, check your social media account for the final post.
* If successful, then enable another social media node, and continue testing.
* Update prompt to match your niche / industry

### Troubleshooting

* Sometimes the Apify Scraper fails, let it loop to try again (usually works 2nd time)
* OpenAI API account must have billing funded
* make sure you copied your avatar ID correctly, not the group avatar ID
* If your script is long, it takes more time for your video to finish

If you need help troubleshooting your automation:

* the [API Dashboard](https://my.blotato.com/api-dashboard) is your best friend
* go to Blotato and click the ORANGE BUTTON in the bottom right corner to send me a message

Other helpful links:

**👉** [**Blotato API Docs**](https://help.blotato.com/api)

✅ [**Troubleshoot Errors**](https://my.blotato.com/api-dashboard)

📷 [**Media Requirements**](https://help.blotato.com/api/media)
