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 node provides integration with YouTube's extensive API capabilities, including live streaming management. Specifically, for the Live Streaming resource and the Delete Live Broadcast operation, it allows users to delete a live broadcast on YouTube by specifying its broadcast ID. This is useful in scenarios where a scheduled or ongoing live broadcast needs to be removed from the channel, such as canceling an event or cleaning up outdated broadcasts.
Practical examples:
- Automatically deleting canceled live events from your YouTube channel.
- Managing live broadcasts programmatically within a workflow to maintain channel content hygiene.
- Integrating with other systems to remove live broadcasts based on external triggers or conditions.
Properties
| Name | Meaning |
|---|---|
| Broadcast ID | The unique identifier of the live broadcast to delete. |
Output
The node outputs JSON data representing the response from the YouTube API after attempting to delete the specified live broadcast. The structure typically includes confirmation of deletion or error details if the operation failed.
No binary data output is involved in this operation.
Example output JSON (conceptual):
{
"status": "success",
"message": "Live broadcast deleted successfully",
"broadcastId": "abc123"
}
Or in case of failure:
{
"error": "Broadcast not found or already deleted"
}
Dependencies
- Requires an active subscription and valid API key credential for the external service referred to as "N8N Tools API" for validation.
- Requires OAuth2 credentials or API authentication tokens to access YouTube Data API v3.
- The node internally uses helper classes that wrap YouTube API endpoints, including a dedicated Live Streaming API handler.
- Proper configuration of these credentials in n8n is necessary before using the node.
Troubleshooting
- Invalid subscription or API key error: If you receive errors about invalid subscription or API key, verify that your API key credential is correct and has the required permissions.
- Broadcast not found: Ensure the provided Broadcast ID exists and belongs to the authenticated user's channel.
- Permission denied: The authenticated user must have rights to manage the live broadcast; check OAuth scopes and channel ownership.
- Network or API errors: Check connectivity and YouTube API quota limits.
If the node is set to continue on fail, errors for individual items will be returned in the output JSON under an error field.