N8N Tools - YouTube Enhanced icon

N8N Tools - YouTube Enhanced

Comprehensive YouTube Data API v3 and Analytics integration for N8N workflows

Actions83

Overview

This node integrates with YouTube's API to manage captions on YouTube videos. Specifically, the "Delete Caption" operation allows users to remove a caption track from a video by specifying its unique Caption ID. This is useful for content creators or managers who want to clean up or update the captions associated with their videos, ensuring that outdated or incorrect captions are removed.

Practical examples:

  • Removing an incorrectly uploaded caption track.
  • Deleting auto-generated captions that are no longer needed.
  • Managing multiple caption tracks by deleting obsolete language versions.

Properties

Name Meaning
Caption ID The unique identifier of the caption track to delete.

Output

The output JSON contains the response from the YouTube API after attempting to delete the specified caption. Typically, this will be an empty object or confirmation of deletion if successful. If there is an error (e.g., invalid Caption ID), the output will contain an error message describing the issue.

No binary data is output by this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the external service providing enhanced YouTube API access.
  • Requires OAuth2 credentials for YouTube API access.
  • The node uses the "Captions API" helper class internally to perform caption-related operations.
  • Proper configuration of these credentials in n8n is necessary for the node to function correctly.

Troubleshooting

  • Invalid Caption ID: If the Caption ID does not exist or is incorrect, the API will return an error. Verify the Caption ID before attempting deletion.
  • Authentication Errors: Errors related to invalid API keys or expired OAuth tokens may occur. Ensure credentials are valid and have appropriate permissions.
  • Permission Issues: The authenticated user must have permission to modify captions on the specified video.
  • API Quotas: Exceeding YouTube API quota limits can cause failures; monitor usage accordingly.

Common error messages:

  • "N8N Tools API: Invalid subscription or API key. Please check your credentials." β€” Indicates issues with the external API key or subscription.
  • Errors indicating missing or invalid Caption ID β€” Check the input property value.

Links and References

Discussion