Generate short-form video scripts and render 9:16 clips with OpenAI and Creatomate
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.openai.com and api.creatomate.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Check Action and Budget Validity (Code): runs custom JavaScript code
- Route by Video Task (Switch): routes items into 4 branches
- Post to OpenAI for Hook Variations (HTTP Request): calls api.openai.com (POST)
- Post to Creatomate for Rendering (HTTP Request): calls api.creatomate.com (POST)
- Fetch Creatomate Render Status (HTTP Request): calls an HTTP API (GET)
- Execute Preflight Script Check (Code): runs custom JavaScript code
- Handle and Normalize Input Errors (Code): runs custom JavaScript code
- Build SEO Kit from Script (Code): runs custom JavaScript code
- Verify Render Job Submission (Code): runs custom JavaScript code
- Check Video Readiness (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Other OpenAI + Creatomate templates (13)
HTTP calls to: api.openai.com, api.creatomate.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This webhook-driven workflow generates short-form video scripts and publishing copy with OpenAI, runs a local copy/duration audit, and renders approved 9:16 videos via Creatomate, returning either a creative kit, an audit checklist, a render…