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 enhanced integration with YouTube's Data API v3 and Analytics, enabling a wide range of operations on various YouTube resources. Specifically for the Community Posts resource, it supports operations such as retrieving community posts, creating new posts, updating existing posts, deleting posts, managing post comments, liking posts, fetching post analytics, and scheduling posts.

The Update Community Post operation allows users to modify an existing community post by specifying its unique Post ID and providing updated content or parameters (though the exact update fields are not detailed in the provided snippet, the operation is supported).

This node is beneficial for YouTube channel managers, marketers, and content creators who want to automate and manage their YouTube community engagement directly within n8n workflows. For example, you can automatically update community posts based on external triggers, schedule posts for future publication, or analyze post performance metrics.

Properties

Name Meaning
Post ID The unique identifier of the community post to update or delete. Required for this operation.

Note: The provided input properties JSON only includes "Post ID" relevant for update and delete operations on community posts. Other properties related to community posts (like text content) exist but were not included here.

Output

The node outputs an array of JSON objects representing the results of the executed operations. For the Update Community Post operation, the output JSON contains the response from the YouTube API reflecting the updated community post details.

Each output item includes:

  • json: The data returned by the YouTube API for the updated community post.
  • itemData.item: The index of the input item that triggered this output.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the external "N8N Tools API" service, which acts as a proxy or enhancer for YouTube API calls.
  • Requires OAuth2 credentials for YouTube API access.
  • The node uses multiple internal helper classes to interact with different YouTube API endpoints, including one specifically for community posts.
  • Proper configuration of these credentials in n8n is necessary before using the node.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that your API key credential is correct and has an active subscription.
  • Permission Errors: Ensure that the OAuth2 credentials have sufficient permissions/scopes to update community posts on the target YouTube channel.
  • Missing Post ID: The "Post ID" property is required; omitting it will cause errors.
  • API Rate Limits: YouTube API enforces rate limits; excessive requests may result in quota errors.
  • Continue On Fail: If enabled, the node will continue processing other items even if some fail, returning error details per item.

Links and References


If you need details on other properties or operations, please provide additional input definitions or specify the operation/resource.

Discussion