Quick overview
Turn a JSON shot brief into a timed shot list, prompts, and WebVTT review cues. Invalid requests return field-specific errors to the form or production tool that sent them.
How it works
- Accepts a POST request from a storyboard, spreadsheet automation, or production tool with a project name and an ordered shots array.
- Validates the project and shot count, checks that each shot contains a subject, movement and camera direction, and checks that its duration is an integer from 1 to 60 seconds.
- Calculates cumulative start and end times and assembles one copy-ready prompt from the subject, movement and camera direction for each shot.
- Returns the prompts, total duration, timed shots and a WebVTT cue track as JSON. Invalid requests receive HTTP 422 with field-specific messages.
Setup
- Import the workflow and open Shot Brief Webhook. Use its Test URL during setup. Configure webhook authentication before publishing the workflow for a shared endpoint.
- Send a JSON POST with project and shots. Each shot needs subject, movement, camera and durationSeconds. The example request is included on the workflow canvas.
- Read the returned shots and totalSeconds fields in your calling tool. Save the webVtt value as shots.vtt and open it in a compatible editor or media player to review the timing.
Requirements
- An n8n instance with the built-in Webhook, Code and Respond to Webhook nodes. No third-party API credentials are required.
Customization
- Adjust field limits in Validate and Time Shots if your source application uses a different brief format.
Additional info
For manual video generation, copy a shot prompt into VidFomo Video Studio and add a reference image if the shot has one. VidFomo is an optional handoff and this workflow makes no calls to it. https://vidfomo.com/video