N8N Tools - YouTube Enhanced icon

N8N Tools - YouTube Enhanced

Comprehensive YouTube Data API v3 and Analytics integration for N8N workflows

Actions83

Overview

The "List Channels" operation of the YouTube Enhanced node allows users to retrieve a list of YouTube channels based on specified criteria. This operation is useful for workflows that need to gather channel information, such as monitoring multiple channels, aggregating channel data for analytics, or automating content management tasks.

Typical use cases include:

  • Fetching a list of channels owned by a user or matching certain search parameters.
  • Paginating through large sets of channels using tokens.
  • Filtering results by language preference.

For example, a marketing team might use this node to list all channels related to a specific topic or region and then analyze their content or subscriber counts.

Properties

Name Meaning
Max Results Maximum number of channels to return. Accepts values from 1 to 50.
Page Token Pagination token to retrieve the next set of results in a paginated response.
Language Language code (e.g., "en" for English, "pt" for Portuguese) to filter channel data.

Output

The output is an array of JSON objects where each object represents a channel retrieved from YouTube. The structure corresponds to the raw API response for channels, typically including details such as channel ID, title, description, statistics, and other metadata.

If pagination is used, the output may also include tokens for fetching subsequent pages.

No binary data is output by this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the external YouTube-related API service ("N8N Tools API").
  • The node uses OAuth2 credentials or API keys configured in n8n to authenticate requests to YouTube APIs.
  • Proper configuration of these credentials in n8n is necessary for successful execution.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly set up and has the necessary permissions.
  • Pagination Issues: Using an incorrect or expired page token may result in empty or repeated results. Ensure the page token is obtained from a previous successful response.
  • Language Code Errors: Providing an unsupported or malformed language code may cause the API to ignore the filter or return errors. Use standard ISO language codes.
  • API Rate Limits: Exceeding the allowed number of requests per time period can cause failures. Implement delays or reduce max results if needed.

Links and References

Discussion