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" integrates with the YouTube Data API v3 and Analytics API to provide a comprehensive set of operations for managing YouTube content and retrieving analytics data. Specifically, the Report Video Abuse operation under the Videos resource allows users to report abuse on a specified YouTube video by its ID.

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

  • Automatically reporting inappropriate or abusive videos based on custom criteria.
  • Integrating YouTube abuse reporting into moderation workflows.
  • Managing video content and gathering analytics for channels, playlists, and videos.

Practical example: A content moderation workflow that scans comments or video metadata for violations and automatically reports offending videos using this node's Report Video Abuse operation.


Properties

Name Meaning
Video ID The unique identifier of the YouTube video to report abuse for.
Max Results Maximum number of results to return (used in some operations but not directly relevant here). Allowed values: 1 to 50.
Page Token Pagination token for paged responses (used in some operations but not directly relevant here).
Language Language code (e.g., "en", "pt") to specify language context (used in some operations but not directly relevant here).

Note: For the Report Video Abuse operation, only the Video ID property is required and relevant.


Output

The output of the Report Video Abuse operation is a JSON object representing the response from the YouTube API after submitting an abuse report for the specified video. The exact structure depends on the YouTube API response but typically includes confirmation of the report submission or error details if the report failed.

If multiple items are processed, the node outputs an array of JSON objects, each corresponding to one input item.

No binary data output is involved in 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 internally uses several helper classes to interact with different YouTube API endpoints.
  • 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 for the external service is correct and active.
  • YouTube API errors: Errors returned from YouTube API (e.g., invalid video ID, quota exceeded) will be surfaced. Check the video ID correctness and API quota limits.
  • Permission issues: Ensure the OAuth2 credentials have sufficient permissions/scopes to report video abuse.
  • Continue on Fail: If enabled, the node will continue processing other items even if one fails, returning error details per item.

Links and References

Discussion