N8N Tools - YouTube Enhanced icon

N8N Tools - YouTube Enhanced

Comprehensive YouTube Data API v3 and Analytics integration for N8N workflows

Actions83

Overview

This node enables interaction with YouTube's API through a comprehensive integration that supports multiple YouTube resources and operations. Specifically, for the Comments resource with the Create Comment operation, it allows users to post new comments on YouTube videos or as replies to existing comments.

Typical use cases include automating engagement by posting comments on videos or threads, managing community interactions programmatically, or integrating comment creation into larger workflows such as content moderation or social media campaigns.

For example, you could use this node to automatically add a welcome comment to newly uploaded videos or reply to user comments based on certain triggers in your workflow.

Properties

Name Meaning
Text The text content of the comment to be created.
Parent ID The ID of the parent comment or video where the comment will be posted.
  • Text is required and represents the actual comment message.
  • Parent ID is optional; if provided, the comment will be a reply to the specified comment. If omitted, the comment is posted directly on the video identified by the parent ID.

Output

The node outputs JSON data representing the response from the YouTube API after creating the comment. This typically includes details about the newly created comment such as its ID, author information, text content, and metadata.

If multiple input items are processed, the output is an array of such JSON objects, each corresponding to one created comment.

No binary data output is involved in this 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 for YouTube API access configured in n8n.
  • The node internally uses helper classes to interact with YouTube's Comments API.

Troubleshooting

  • Invalid subscription or API key error: 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.
  • YouTube API errors: Errors related to comment creation (e.g., invalid parent ID, quota exceeded) will be returned from the YouTube API. Check that the parent ID corresponds to a valid video or comment and that your account has permission to comment.
  • Continue on Fail: If enabled, the node will continue processing other items even if some fail, returning error details per item.

Links and References


This summary focuses exclusively on the Comments resource and the Create Comment operation as requested.

Discussion