N8N Tools - YouTube Enhanced icon

N8N Tools - YouTube Enhanced

Comprehensive YouTube Data API v3 and Analytics integration for N8N workflows

Actions83

Overview

The node provides an enhanced integration with the YouTube Data API v3 and Analytics, enabling comprehensive management and analytics of YouTube resources within n8n workflows. Specifically, for the Playlists resource and the Update Playlist operation, it allows users to update existing YouTube playlists by modifying properties such as title, description, tags, and privacy status.

This node is beneficial in scenarios where automated or bulk updates to YouTube playlists are needed, such as:

  • Updating playlist metadata to reflect new branding or content focus.
  • Changing privacy settings of playlists programmatically.
  • Adding or modifying descriptive information and tags to improve discoverability.

Example use case: Automatically updating a playlist's title and description based on changes in your content strategy or seasonal campaigns without manual intervention.

Properties

Name Meaning
Playlist ID The unique identifier of the YouTube playlist to update.
Title The new title for the playlist (max 100 characters).
Description The new description text for the playlist (max 5000 characters).
Tags Comma-separated list of tags associated with the playlist.
Privacy Status The visibility setting of the playlist. Options: Public, Private, Unlisted.

Output

The node outputs JSON data representing the updated playlist details returned from the YouTube API after the update operation. This typically includes the playlist's ID, updated metadata fields (title, description, tags, privacy status), and other relevant information confirming the successful update.

No binary data output is involved in this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the external "N8N Tools API" service used for validation.
  • Requires OAuth2 credentials or API authentication tokens for accessing the YouTube Data API.
  • The node internally uses helper classes to interact with various YouTube API endpoints.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that the API key credential is correctly configured and active.
  • Missing or Incorrect Playlist ID: Ensure the Playlist ID provided exists and is accessible by the authenticated user.
  • API Quotas or Permissions: Updates may fail if the authenticated account lacks permissions or has exceeded YouTube API quotas.
  • Field Length Limits: Title and description have maximum length constraints; exceeding these will cause errors.
  • Continue On Fail Behavior: If enabled, the node will continue processing subsequent items even if some updates fail, returning error details per item.

Links and References

Discussion