See llms.txt for all machine-readable content.

Back to Templates

Create MiniMax Hailuo short videos from Google Sheets and post with PostWire

Created by

Created by: PostWire || postwire
PostWire

Last update

Last update 2 days ago

Categories

Share


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

  1. Runs every day at 10:00 and reads Google Sheets rows where the status is set to ready.
  2. Takes the first available idea and updates the row status to generating to prevent duplicate processing.
  3. Uses MiniMax (text) to turn the idea and style into a JSON plan containing a video prompt, caption idea, and a YouTube Shorts title.
  4. Uses MiniMax Hailuo (text-to-video) to render a 6-second vertical (9:16) video and downloads the generated file.
  5. Uses PostWire to publish the video to TikTok, Instagram, and YouTube with platform-aware captions and a YouTube title.
  6. 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

  1. Add Google Sheets credentials and select the target spreadsheet and sheet in all Google Sheets nodes.
  2. 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.
  3. Add a MiniMax API credential for both the text planning and Hailuo video generation steps.
  4. Install/configure the PostWire community node, create a PostWire account, connect TikTok/Instagram/YouTube, and add your PostWire API key credential.
  5. Add a Gmail credential and set the notification email address in the Channel settings step.