Trigger Template
Start a clipping workflow from a saved template using a long-form video URL
POST
Endpoint
Find
workflowId in the workflow URL: https://portal.overlap.ai/workflows/{workflowId}/trigger.Authentication
Request Body
Required fields arecompanyId, workflowId, and url. Every other field is optional and overrides the saved template only for this run.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
companyId | string | Yes | Your Overlap company or organization identifier. |
workflowId | string | Yes | The workflow/template identifier to launch. |
url | string | Yes | Publicly accessible long-form video URL to process. |
orientation | string | No | Override output orientation, such as horizontal or vertical. |
minLengthTarget / maxLengthTarget | number | No | Override clip duration bounds in seconds. |
broll | boolean | No | Enable or disable automatic b-roll for this run. |
subtitles | boolean | No | Enable or disable subtitles for this run. |
subtitleConfig | object | No | Override subtitle styling when the workflow includes a subtitle node. |
titleOverlay | boolean | No | Enable or disable the title overlay when the workflow includes a title overlay node. |
titleConfig | object | No | Override title overlay prompt and styling. To set fixed title text instead of an AI-generated title, include generateTitle: false along with text (see Node Config). |
watermarkUrl | string | No | Override the watermark asset URL. |
keywords | string[] | No | Transcription enrichment keywords. Maximum 150. |
promptAdjustment | string | No | Text appended to the workflow’s clipping prompt. |
pinnedTimestamps | object[] | No | Source-video timestamp ranges to include as clips for this run. |
pinnedTimestampsOnly | boolean | No | When true, return only the clips from pinnedTimestamps; defaults to also discovering clips. |
pinnedTimestampMode | string | No | Use search_within to find individual clips only inside pinnedTimestamps; omit it for guaranteed timestamp clips. |
nodeConfigs | object | No | Advanced node-level overrides keyed by workflow node type. |
Google Drive Source URLs
You can use a Google Drive video as theurl value when triggering a workflow. Before sending the request, verify both of these requirements:
- Use a direct Google Drive file link. The URL should include
/file/, for examplehttps://drive.google.com/file/d/FILE_ID/view?usp=sharing. Folder links, preview links, and other Drive URLs that do not include/file/are not supported source-file links. - Make the file accessible to Overlap. Either set the file to public access, or share it directly with the Overlap service account:
[email protected].
Override Behavior
Overrides only apply when the referenced workflow contains the matching node. For example,subtitleConfig is ignored if the workflow does not include a subtitles node.
For advanced integrations, use nodeConfigs, nodeConfigOverrides, or actionConfigs to update action node configuration directly. Supported node keys include find_clips, convert_to_vertical, add_subtitles, add_broll, add_music, add_watermark, apply_branding, add_title_overlay, and other workflow action nodes.
If a workflow contains the target node but the override shape is invalid, the request returns an INVALID_NODE_CONFIG error.
Node Config Overrides
See frontend-configurable override fields and per-node examples
Response
triggerId- Save this value and pollGET /workflow-results/{triggerId}.status- Usuallypendingimmediately after triggering.message- Human-readable confirmation or context.
Processing Time
- Horizontal clips: about 3 minutes per hour of input video.
- Vertical clips: about 10 minutes per hour of input video.
- Actual runtime varies by workflow configuration, video length, and video complexity.
Get workflow results
Poll for status and retrieve generated clips with your triggerId