π¬ Create MiniMax Hailuo short videos from Google Sheets and post with PostWire
β‘ 14 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.
Description
Quick Overview
This workflow runs daily, pulls the next βreadyβ idea from Google Sheets, uses MiniMax to generate a short-form video plan and render a 9:16 Hailuo video, then publishes it to TikTok, Instagram Reels, and YouTube Shorts via PostWire and logs results back to the sheet.
How it works
- Runs every day at 10:00 and reads Google Sheets rows where the status is set to ready.
- Takes the first available idea and updates the row status to generating to prevent duplicate processing.
- Uses MiniMax (text) to turn the idea and style into a JSON plan containing a video prompt, caption idea, and a YouTube Shorts title.
- Uses MiniMax Hailuo (text-to-video) to render a 6-second vertical (9:16) video and downloads the generated file.
- Uses PostWire to publish the video to TikTok, Instagram, and YouTube with platform-aware captions and a YouTube title.
- Writes the publishing links back to Google Sheets and marks the row as posted, or records the error details and emails a fix request via Gmail if any platform or the render fails.
Setup
- Add Google Sheets credentials and select the target spreadsheet and sheet in all Google Sheets nodes.
- Create a sheet with columns such as idea, style, status, posted_at, links, note, and a row_number field used to update the correct row.
- Add a MiniMax API credential for both the text planning and Hailuo video generation steps.
- Install/configure the PostWire community node, create a PostWire account, connect TikTok/Instagram/YouTube, and add your PostWire API key credential.
- Add a Gmail credential and set the notification email address in the Channel settings step.
π Nodes Used
Google Sheets, Gmail, Schedule Trigger, Filter, MiniMax
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File