🎬 Create and publish short video clips with Reap, OpenAI, Instagram, YouTube, TikTok

⚑ 22 views · 🎬 Content Creation & Video

πŸ’‘ Pro Tip β€” Since TikTok doesn’t have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β€” drop it into your workflow and skip the parsing.

View All Scrapers

Description

Quick overview

This workflow turns a source video into a short-form clip using Reap, generates platform-specific captions and metadata with OpenAI, and optionally publishes the result to Instagram Reels, YouTube Shorts, and TikTok via Zernio.

How it works

  1. Runs manually when you click Execute workflow and validates the source video URL plus clip generation settings.
  2. Sends the source video to Reap to generate portrait clips with captions, polls Reap until processing completes, and fetches the generated clips.
  3. Selects the clip with the highest Reap virality score and uses OpenAI to generate Instagram, TikTok, and YouTube Shorts copy, then parses and validates the text against character and hashtag rules.
  4. Validates publishing settings (including dry-run vs live mode) and routes the run to Instagram, YouTube, and/or TikTok based on the enabled toggles.
  5. If Instagram is enabled, creates an Instagram Reel container via the Instagram Graph API, waits and checks processing status until finished, then publishes the Reel.
  6. If YouTube is enabled, downloads the selected clip and uploads it to YouTube as a Short with the generated title and description.
  7. If TikTok is enabled, uploads the video to Zernio and creates a TikTok post, retrying automatically when Zernio reports temporary β€œat capacity” errors.

Setup

  1. Add credentials for Reap API (HTTP Bearer Auth) and OpenAI.
  2. If publishing to Instagram, add an Instagram Graph API Bearer token and set your Instagram user ID and Graph API version in Publishing Settings.
  3. If publishing to YouTube, connect a YouTube OAuth account and set the privacy status, category ID, and region in Publishing Settings.
  4. If publishing to TikTok, add a Zernio API Bearer token, connect TikTok in Zernio, and set the Zernio TikTok account ID plus required TikTok consent and privacy settings in Publishing Settings.
  5. Update the Content Input and Social/Video settings values for your video, then run with dry_run enabled first and switch dry_run off only when you are ready to publish.

Requirements

Customization

Additional info

The workflow includes a START HERE guide with setup instructions for Reap, OpenAI, Instagram, YouTube, and Zernio.

Reap is used for AI video clipping and processing. Users can create an account at https://reap.video.

TikTok publishing is handled through Zernio. Setup instructions and the required account configuration are included inside the workflow.

It is recommended to run the workflow with dry_run enabled first. After validating the generated clip, captions, and platform settings, disable dry_run to enable live publishing.

πŸ”— Nodes Used

HTTP Request, YouTube, OpenAI

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup