N8N Tools - YouTube Enhanced
Actions83
- Videos Actions
- Channels Actions
- Playlists Actions
- Search Actions
- Analytics Actions
- Get Channel Analytics
- Get Video Analytics
- Get Playlist Analytics
- Get Content Owner Analytics
- Get Audience Retention
- Get Demographics
- Get Geographic Data
- Get Device Data
- Get Traffic Source Data
- Get Revenue Data
- Get Ad Performance Data
- Get Subscriber Analytics
- Get Playback Location Data
- Get Video Performance Data
- Get Playlist Performance Data
- Get Annotation Performance Data
- Get Card Performance Data
- Get Sharing Service Data
- Get Live Streaming Data
- Get Content Type Data
- Get Time Based Data
- Comments Actions
- Subscriptions Actions
- Live Streaming Actions
- Video Upload Actions
- Community Posts Actions
- Thumbnails Actions
- Captions Actions
- Channel Memberships Actions
- Super Chat & Thanks Actions
Overview
The "Start Live Stream" operation in the "Live Streaming" resource allows users to transition a YouTube live broadcast into a live streaming state. This means it starts the live stream for a given broadcast ID, making the broadcast go live on YouTube.
This node is beneficial in scenarios where automated control over YouTube live broadcasts is needed, such as:
- Scheduling and starting live streams automatically from workflows.
- Integrating live stream start triggers with other systems or events.
- Managing multiple live broadcasts programmatically without manual intervention.
For example, a content creator could use this node in an automation workflow to start their scheduled live stream exactly at a certain time or after some preparatory steps are completed.
Properties
| Name | Meaning |
|---|---|
| Broadcast ID | The unique identifier of the live broadcast to start streaming. |
Output
The output JSON contains the response from the YouTube API regarding the transition of the live broadcast to the "live" state. This typically includes details about the broadcast's new status and metadata confirming that the live stream has started.
No binary data output is produced by this operation.
Example output structure (simplified):
{
"id": "broadcastId",
"status": {
"lifeCycleStatus": "live"
},
"snippet": {
"title": "Broadcast Title",
"scheduledStartTime": "2024-06-01T12:00:00Z"
}
}
Dependencies
- Requires an active subscription and valid API key for the external N8N Tools API service.
- Requires OAuth2 credentials for YouTube API access to perform live streaming operations.
- The node uses the YouTube Data API v3 via helper classes bundled in the node implementation.
- Proper configuration of credentials in n8n is necessary to authenticate requests.
Troubleshooting
- Invalid subscription or API key error: If you receive an error indicating invalid subscription or API key, verify that your API key credential is correct and active.
- Permission errors from YouTube API: Ensure that the OAuth2 credentials have the required scopes to manage live broadcasts.
- Broadcast ID not found or invalid: Confirm that the provided Broadcast ID exists and belongs to the authenticated user's channel.
- Network or timeout issues: Check network connectivity and retry if transient errors occur.