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 perform a wide range of operations on YouTube resources within n8n workflows. Specifically for the Videos resource and the Rate Video operation, this node allows users to submit a rating (like or dislike) for a specified YouTube video by its ID.

This functionality is beneficial in scenarios where automated workflows need to interact with YouTube videos programmatically, such as:

  • Automatically liking or disliking videos based on certain triggers or criteria.
  • Managing video ratings as part of content moderation or engagement strategies.
  • Integrating YouTube video interactions into broader social media automation pipelines.

Example use case: A workflow that monitors new videos from a channel and automatically rates them positively if they meet quality standards.

Properties

Name Meaning
Video ID The unique identifier of the YouTube video to be rated.
Max Results Maximum number of results to return (used in other operations; default 25, max 50).
Page Token Pagination token for navigating through paged results (used in other operations).
Language Language code (e.g., "en", "pt") to specify language context (used in other operations).

For the Rate Video operation specifically, only the Video ID property is required and relevant.

Output

The node outputs JSON data representing the result of the rating operation on the specified video. This typically includes confirmation of the action performed or any response data returned by the YouTube API related to the rating.

No binary data output is involved in the Rate Video operation.

Dependencies

  • Requires an active subscription and valid API key for the external "N8N Tools API" service, which acts as a proxy or enhancer for YouTube API calls.
  • Requires OAuth2 credentials or API authentication tokens configured in n8n to authorize requests to YouTube on behalf of the user.
  • The node internally uses multiple helper classes to interact with different YouTube API endpoints, including a dedicated YouTube API wrapper.

Troubleshooting

  • Invalid subscription or API key error: 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.
  • Permission errors from YouTube API: Ensure that the OAuth2 credentials used have sufficient scopes to rate videos on the authenticated user's behalf.
  • Missing or incorrect Video ID: The Video ID must be provided and valid; otherwise, the operation will fail.
  • API quota limits: Exceeding YouTube API quotas may cause failures; monitor usage and adjust accordingly.

Links and References

Discussion