N8N Tools - YouTube Enhanced icon

N8N Tools - YouTube Enhanced

Comprehensive YouTube Data API v3 and Analytics integration for N8N workflows

Actions83

Overview

The node "N8N Tools - YouTube Enhanced" provides a comprehensive integration with the YouTube Data API v3 and Analytics, enabling users to interact with various YouTube resources such as videos, channels, playlists, comments, analytics, live streaming, and more. Specifically, for the Playlists resource with the List Playlists operation, this node allows users to retrieve a list of playlists associated with a specified YouTube channel.

This operation is beneficial when you want to programmatically access all playlists from a particular YouTube channel, for example:

  • To display or analyze playlists on an external website or app.
  • To automate playlist management workflows.
  • To gather data for reporting or content curation purposes.

Properties

Name Meaning
Channel ID The unique identifier of the YouTube channel whose playlists you want to list.
Max Results Maximum number of playlists to return in one request. Allowed values: 1 to 50.
Page Token Token for pagination to retrieve the next set of results if available.
Language Optional language code (e.g., "en", "pt") to specify the language context for the results.

Output

The output is a JSON array where each item corresponds to a playlist retrieved from the specified channel. Each JSON object contains detailed information about a playlist as returned by the YouTube Data API, including but not limited to:

  • Playlist ID
  • Title
  • Description
  • Privacy status
  • Item count
  • Thumbnails
  • Other metadata related to the playlist

If pagination is used, subsequent pages can be fetched using the Page Token property.

The node does not output binary data for this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the "N8N Tools API" service.
  • Requires OAuth2 credentials for YouTube API access.
  • The node internally uses helper classes to communicate with YouTube APIs.
  • No additional environment variables are explicitly required beyond standard n8n credential setup.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that your API key credential is correct and has the necessary permissions.
  • Quota Limits: YouTube API enforces quota limits; exceeding these may cause errors. Monitor your quota usage in Google Cloud Console.
  • Missing or Incorrect Channel ID: Ensure the Channel ID provided is valid and correctly formatted.
  • Pagination Issues: If you receive incomplete results, use the Page Token property to paginate through all playlists.
  • Network or API Errors: Transient network issues or YouTube API downtime can cause failures. Retry after some time or check API status.

Links and References

Discussion