youtube / trigger / schema v1
New Video
Fires when the channel uploads a new video
Prerequisites
- Add the youtube plugin inside this workflow.
Parameters
| Parameter | Type | Description |
|---|---|---|
YouTube channelchannel | text Required | The channel to watch. Paste its @handle or URL. |
Title containstitleContains | text Optional | Only fire when the video title contains this text |
Ignore ShortsignoreShorts | boolean Optional | Skip Shorts (videos ~60s or shorter) |
Inputs and outputs
Inputs
No ports declared.
Outputs
on_event- On New Video (output)videoId- Video ID (output)videoUrl- Video URL (output)title- Title (output)description- Description (output)channelId- Channel ID (output)channelTitle- Channel Name (output)thumbnailUrl- Thumbnail URL (output)publishedAt- Published At (output)isLive- Is Live Broadcast (output)isShort- Is a Short (output)
Output data schema
[
{
"key": "videoId",
"type": "string",
"description": "Video ID",
"label": "Video ID"
},
{
"key": "videoUrl",
"type": "string",
"description": "Video URL",
"label": "Video URL"
},
{
"key": "title",
"type": "string",
"description": "Title",
"label": "Title"
},
{
"key": "description",
"type": "string",
"description": "Description",
"label": "Description"
},
{
"key": "channelId",
"type": "string",
"description": "Channel ID",
"label": "Channel ID"
},
{
"key": "channelTitle",
"type": "string",
"description": "Channel Name",
"label": "Channel Name"
},
{
"key": "thumbnailUrl",
"type": "string",
"description": "Thumbnail URL",
"label": "Thumbnail URL"
},
{
"key": "publishedAt",
"type": "string",
"description": "Published At",
"label": "Published At"
},
{
"key": "isLive",
"type": "boolean",
"description": "Is Live Broadcast",
"label": "Is Live Broadcast"
},
{
"key": "isShort",
"type": "boolean",
"description": "Is a Short",
"label": "Is a Short"
}
]Examples and troubleshooting have not yet been reviewed for this contract.
Version and compatibility
This reference follows the current authoring contract. Existing workflows retain their saved node revisions.
Contract identifier
c188f4affbfd474f12ef7df844a4e4f6db063ad1499605a69db4fa7e4f513264