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
This node integrates with YouTube's API to perform a wide range of operations across multiple YouTube resources. Specifically, for the Live Streaming resource and the Create Live Broadcast operation, it allows users to schedule a new live broadcast on their YouTube channel by specifying details such as the title, scheduled start time, and privacy status.
This functionality is beneficial for content creators and marketers who want to automate the scheduling of live events on YouTube directly from their workflows. For example, a user can set up an automated workflow that creates a live broadcast event at a specific date and time without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Scheduled Start Time | The date and time when the live broadcast is scheduled to start (required). |
Note: Although not listed in the provided properties JSON, the code also uses these input parameters for creating a live broadcast:
- Title: The title of the live broadcast.
- Privacy Status: The privacy setting of the broadcast (e.g., public, private, unlisted).
These are inferred from the code snippet handling the createLiveBroadcast operation:
a=await w.createLiveBroadcast({title:s,scheduledStartTime:i,privacyStatus:n});
where s = title, i = scheduledStartTime, and n = privacyStatus.
Output
The node outputs JSON data representing the response from the YouTube API after creating the live broadcast. This typically includes details about the newly created broadcast such as its ID, title, scheduled start time, privacy status, and other metadata returned by YouTube.
The output is structured as an array of items, each containing a json field with the API response and an itemData field indicating the index of the input item processed.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for the "N8N Tools API" service to validate subscription and access rights.
- Requires OAuth2 credentials for YouTube API access.
- The node depends on internal helper classes that wrap YouTube API endpoints, including a
LiveStreamingApiclass responsible for live streaming operations. - The node sends a validation request to the external N8N Tools API before executing the main operation.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error related to invalid subscription or API key, verify that the API key credential is correctly configured and active.
- YouTube API Errors: Errors from YouTube API calls (e.g., invalid parameters, permission issues) will be surfaced. Ensure that OAuth2 credentials have the necessary scopes and permissions.
- Missing Required Parameters: The
scheduledStartTimeproperty is required; omitting it will cause errors. - Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details per item.
Links and References
- YouTube Live Streaming API Documentation
- YouTube Data API Overview
- n8n Documentation - Creating Custom Nodes
If you need further details on other operations or resources, please let me know!