{
  "id": "k4OOOtn0KfZuohl9",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "8 Repurpose Tiktoks On Autopilot",
  "tags": [],
  "nodes": [
    {
      "id": "2cded6ff-5c8e-4a2e-924b-6445877adcff",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1712,
        768
      ],
      "parameters": {
        "color": 5,
        "width": 1376,
        "height": 452,
        "content": "# 1. RSS Feed Triggers on New Tiktok Video"
      },
      "typeVersion": 1
    },
    {
      "id": "5f99eb6d-7183-4b14-bfc7-92ed3493c055",
      "name": "Get Tiktok Page",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1280,
        880
      ],
      "parameters": {
        "url": "={{ $('RSS Feed Trigger').item.json.link }}",
        "options": {
          "response": {
            "response": {
              "fullResponse": true,
              "responseFormat": "text"
            }
          }
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "User-Agent",
              "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/91.0.4472.124"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "7addacfe-eedb-48d1-8b07-a9b2633560be",
      "name": "Get Video URL",
      "type": "n8n-nodes-base.code",
      "position": [
        -1088,
        880
      ],
      "parameters": {
        "mode": "runOnceForEachItem",
        "jsCode": "const html = $json.data;\nconst headers = $json.headers || {};\nconst cookies = headers['set-cookie'] || [];\n\nif (!html) {\n  throw new Error(\"HTML body is undefined. Check the previous node's output.\");\n}\nconst regex = /<script id=\"__UNIVERSAL_DATA_FOR_REHYDRATION__\" type=\"application\\/json\">([\\s\\S]*?)<\\/script>/;\nconst match = html.match(regex);\n\nif (match) {\n  const jsonStr = match[1];\n  const data = JSON.parse(jsonStr);\n  const videoUrl = data?.__DEFAULT_SCOPE__?.[\"webapp.video-detail\"]?.itemInfo?.itemStruct?.video?.playAddr;\n  if (!videoUrl) {\n    throw new Error(\"Could not find video URL in the JSON data.\");\n  }\n  return { json: { videoUrl, cookies: cookies.join('; ') } };\n} else {\n  throw new Error(\"Could not find __UNIVERSAL_DATA_FOR_REHYDRATION__ script in the HTML.\");\n}"
      },
      "typeVersion": 2
    },
    {
      "id": "84eeb233-b681-4b63-a6c1-a4de9647c7ab",
      "name": "Get Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -896,
        880
      ],
      "parameters": {
        "url": "={{ $('Get Video URL').item.json.videoUrl }}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          },
          "allowUnauthorizedCerts": true
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "User-Agent",
              "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
            },
            {
              "name": "Referer",
              "value": "https://www.tiktok.com/"
            },
            {
              "name": "Accept",
              "value": "video/mp4,video/webm,video/*;q=0.9,application/octet-stream;q=0.8"
            },
            {
              "name": "Accept-Language",
              "value": "en-US,en;q=0.5"
            },
            {
              "name": "Connection",
              "value": "keep-alive"
            },
            {
              "name": "Cookie",
              "value": "={{ $json.cookies }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "14167e9e-8a3a-4137-8497-188392334953",
      "name": "Upload to Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -576,
        880
      ],
      "parameters": {
        "name": "={{ $('RSS Feed Trigger').item.json.title }}.mp4",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "0ANSpa7k65PNYUk9PVA",
          "cachedResultUrl": "https://drive.google.com/drive/folders/0ANSpa7k65PNYUk9PVA",
          "cachedResultName": "Videos"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "1ITgbl9F8jZF4C4XHXjwwxJiD7cbq5i5R",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1ITgbl9F8jZF4C4XHXjwwxJiD7cbq5i5R",
          "cachedResultName": "Tiktoks-Brand"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "d90ebf75-938c-44b9-829c-cb37cf279b82",
      "name": "RSS Feed Trigger",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -1584,
        880
      ],
      "parameters": {
        "feedUrl": "https://rss.app/feeds/nwErPI1Emqr5BcgA.xml",
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "bc129442-5303-4220-9227-1a23911e9814",
      "name": "Instagram [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "maxTries": 2,
      "position": [
        112,
        160
      ],
      "parameters": {
        "options": {},
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "28",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/28",
          "cachedResultName": "sabrina_ramonov"
        },
        "postContentText": "={{ $('RSS Feed Trigger').item.json.title }}",
        "postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2,
      "waitBetweenTries": 5000
    },
    {
      "id": "cf968917-9506-4c35-8ee1-eea013e13fde",
      "name": "Facebook [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        112,
        560
      ],
      "parameters": {
        "options": {},
        "platform": "facebook",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "369",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/369",
          "cachedResultName": "Sabrina Ramonov"
        },
        "facebookPageId": {
          "__rl": true,
          "mode": "list",
          "value": "161711670360847",
          "cachedResultUrl": "https://backend.blotato.com/v2/YOUR_AWS_SECRET_KEY_HERE",
          "cachedResultName": "Blotato"
        },
        "postContentText": "={{ $('RSS Feed Trigger').item.json.title }}",
        "postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "aab4225c-19af-4e81-b6ac-1c0ee4a3f716",
      "name": "Pinterest [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        112,
        1568
      ],
      "parameters": {
        "options": {},
        "platform": "pinterest",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "358",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/358",
          "cachedResultName": "sabrina_ramonov"
        },
        "postContentText": "={{ $('RSS Feed Trigger').item.json.title }}",
        "pinterestBoardId": {
          "__rl": true,
          "mode": "id",
          "value": ""
        },
        "postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "54956553-bd10-4337-a422-d3cc96168236",
      "name": "Youtube [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        112,
        352
      ],
      "parameters": {
        "options": {},
        "platform": "youtube",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "111",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/111",
          "cachedResultName": "Sabrina Ramonov \ud83c\udf44"
        },
        "postContentText": "={{ $('RSS Feed Trigger').item.json.title }}",
        "postContentMediaUrls": "={{ $('Upload media').item.json.url }}",
        "postCreateYoutubeOptionTitle": "={{ $('RSS Feed Trigger').item.json.title.slice(0, 100) }}"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "6a6aceef-6687-4f75-8707-ae5ce9d6e896",
      "name": "Linkedin [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        112,
        752
      ],
      "parameters": {
        "options": {},
        "platform": "linkedin",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "4590",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/4590",
          "cachedResultName": "Sabrina Ramonov \ud83c\udf44"
        },
        "postContentText": "={{ $('RSS Feed Trigger').item.json.title }}",
        "postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "35041be8-8e02-4241-aab8-0cf15d190f17",
      "name": "Twitter [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        112,
        944
      ],
      "parameters": {
        "options": {},
        "platform": "twitter",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "38",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/38",
          "cachedResultName": "Sabrina_Ramonov"
        },
        "postContentText": "={{ $('RSS Feed Trigger').item.json.title.slice(0, 280) }}",
        "postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "11cb676f-8632-4e62-8e2c-3be713f90f5a",
      "name": "Threads [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        112,
        1152
      ],
      "parameters": {
        "options": {},
        "platform": "threads",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "2537",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/2537",
          "cachedResultName": "sabrina_ramonov"
        },
        "postContentText": "={{ $('RSS Feed Trigger').item.json.title.slice(0, 500) }}",
        "postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "a902469d-182e-4d0a-b1ac-1b7cf8002161",
      "name": "Bluesky [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        112,
        1360
      ],
      "parameters": {
        "options": {
          "scheduledTime": "2025-10-31T00:00:00"
        },
        "platform": "bluesky",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "6036",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/6036",
          "cachedResultName": "sabrinaramonov.bsky.social"
        },
        "postContentText": "={{ $('RSS Feed Trigger').item.json.title.slice(0, 280) }}",
        "postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "b629130c-3cda-4039-b850-6bae01d00bb5",
      "name": "Merge1",
      "type": "n8n-nodes-base.merge",
      "position": [
        528,
        672
      ],
      "parameters": {
        "numberInputs": 8
      },
      "typeVersion": 3.2
    },
    {
      "id": "02e211b5-1d2b-422b-8ae0-a37480f842d9",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1680,
        1024
      ],
      "parameters": {
        "color": 2,
        "width": 304,
        "height": 176,
        "content": "# Setup 1\n1. Sign up for https://rss.app\n2. Create RSS feed for your Tiktok profile\n3. Configure your RSS feed \"Number of Posts\" set to 1\n4. Paste RSS feed URL into \"Feed URL\""
      },
      "typeVersion": 1
    },
    {
      "id": "f3692f95-d77e-45bc-89d2-3a8f9618b7b1",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        464,
        1104
      ],
      "parameters": {
        "color": 7,
        "width": 288,
        "height": 192,
        "content": "# Error Report\n\n\ud83d\udc49 View run logs and results.\n\n\ud83d\udc49 API Dashboard:\n https://my.blotato.com/api-dashboard"
      },
      "typeVersion": 1
    },
    {
      "id": "73efef80-77c1-48b3-818a-da3fd62ce9cd",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -192
      ],
      "parameters": {
        "color": 4,
        "width": 1020,
        "height": 1948,
        "content": "# 2. Repurpose Everywhere Using [Blotato](https://www.blotato.com/)\n\n## IMPORTANT\nDo not post the same image/video over and over again, otherwise it will be flagged as spam. Make sure to disclose AI generated content if you're using avatars.\n\n\ud83d\udc49  **Blotato API Docs**: https://help.blotato.com/api\n\u2705  **Troubleshoot Errors**: https://my.blotato.com/api-dashboard\n\ud83d\udcf7  **Media Requirements**: https://help.blotato.com/api/media\n\ud83d\udee0\ufe0f  **Contact help**: log into blotato > click support button in bottom right corner"
      },
      "typeVersion": 1
    },
    {
      "id": "36c2b3b4-a65e-41c5-83d8-70956e1b31d4",
      "name": "Upload media",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "maxTries": 2,
      "position": [
        -192,
        880
      ],
      "parameters": {
        "mediaUrl": "=https://drive.google.com/uc?export=download&id={{ $('Upload to Google Drive').item.json.id }}",
        "resource": "media"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2,
      "waitBetweenTries": 5000
    },
    {
      "id": "6c080af7-d915-41f4-9a1d-3e36b11dbd8b",
      "name": "Sticky Note31",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1008,
        240
      ],
      "parameters": {
        "color": 6,
        "width": 656,
        "height": 480,
        "content": "## Setup\n\n* Ensure you have \"Verified Community Nodes\" enabled in your n8n Admin Panel. Then, install \"Blotato\" verified community node.\n* **[Blotato](https://blotato.com)**\n  Sign up for Blotato, then go to [Dashboard \u2192 API Keys](https://my.blotato.com/settings/api) to create your key. Then create Blotato credential. Connect your social accounts, and select which accounts to post to.\n* **[RSS.app](https://rss.app)**\n  Create an account, then visit [Feeds](https://rss.app/myfeeds), click \"Add Feed\", input your Tiktok profile URL, and generate the RSS feed. Copy paste RSS feed URL into the RSS Feed Trigger node. Within rss.app, configure your RSS feed setting \"Number of Posts\" to 1.\n\n## Tips and Tricks\n\n* While testing: enable only 1 social platform, and deactivate the rest for testing purposes. You can also use the option \"Scheduled Time\" while testing, so that posts are scheduled in the future, not posted immediately.\n* After the workflow finishes, check your social media account for the final post.\n* If successful, then enable another social media node, and continue testing."
      },
      "typeVersion": 1
    },
    {
      "id": "a1f72ddc-57b4-4df6-b902-6729540f2bb5",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1712,
        48
      ],
      "parameters": {
        "color": 6,
        "width": 640,
        "height": 672,
        "content": "# FULL TUTORIAL\n\n## Tutorial\n\nhttps://help.blotato.com/api/templates/8-repurpose-tiktoks-on-autopilot\n\n## Description\n\nThis automation detects when you post a Tiktok video, automatically downloads the video without watermark, stores it in Google Drive, and reposts your Tiktok video to other social media platforms. All on autopilot. So you can grow your presence on multiple platforms, without more work. You can also easily add steps to customize captions per platform.\n\n## Overview\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**1. Trigger: RSS Feed**\n* RSS feed triggers when you post a new Tiktok video\n\n**2. Fetch Video**\n- Download the newly posted Tiktok video\n- Store video in Google Drive\n\n**3. Publish to Social Media**\n- Connect Blotato to your social accounts\n- Choose your social accounts\n- Either post immediately or schedule for later\n"
      },
      "typeVersion": 1
    },
    {
      "id": "f2909c07-5ca9-4a9a-adca-dbd9e323bdb8",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -688,
        1040
      ],
      "parameters": {
        "color": 2,
        "width": 336,
        "height": 144,
        "content": "# Setup 2\n1. Connect your Google Drive account\n2. Select \"Parent Drive\"\n3. Select \"Parent Folder\""
      },
      "typeVersion": 1
    },
    {
      "id": "2bad3c87-3830-4be6-8a4d-d3824a1f3ff3",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        384,
        128
      ],
      "parameters": {
        "color": 2,
        "width": 288,
        "height": 144,
        "content": "# Setup 3\n\n- Connect your Blotato account\n- Select your social media accounts"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "f0fbbea5-d801-4223-bb1e-26f33d495d69",
  "connections": {
    "Merge1": {
      "main": [
        []
      ]
    },
    "Get Video": {
      "main": [
        [
          {
            "node": "Upload to Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload media": {
      "main": [
        [
          {
            "node": "Instagram [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Youtube [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Facebook [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Linkedin [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Twitter [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Threads [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Pinterest [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Bluesky [BLOTATO]",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video URL": {
      "main": [
        [
          {
            "node": "Get Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Tiktok Page": {
      "main": [
        [
          {
            "node": "Get Video URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Feed Trigger": {
      "main": [
        [
          {
            "node": "Get Tiktok Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bluesky [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 6
          }
        ]
      ]
    },
    "Threads [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 5
          }
        ]
      ]
    },
    "Twitter [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Youtube [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Facebook [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Linkedin [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Instagram [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pinterest [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 7
          }
        ]
      ]
    },
    "Upload to Google Drive": {
      "main": [
        [
          {
            "node": "Upload media",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}