N8N Tools - YouTube Enhanced icon

N8N Tools - YouTube Enhanced

Comprehensive YouTube Data API v3 and Analytics integration for N8N workflows

Actions83

Overview

This node provides an enhanced integration with the YouTube Data API v3 and Analytics, enabling a wide range of operations across multiple YouTube resources. Specifically for the Playlists resource and the Delete Playlist Item operation, it allows users to remove an item (a video) from a specified playlist on YouTube.

Use cases include managing playlist contents programmatically within automated workflows, such as cleaning up playlists by removing outdated or unwanted videos, or dynamically updating playlists based on external triggers.

For example, you could automate the removal of certain videos from a playlist after a specific event or time period, helping maintain curated content without manual intervention.

Properties

Name Meaning
Max Results Maximum number of results to return (range 1-50).
Page Token Pagination token to retrieve the next set of results in paginated responses.
Language Language code (e.g., "en" for English, "pt" for Portuguese) to specify language context.

Note: These properties are common input parameters available for multiple resources including playlists, but for the Delete Playlist Item operation specifically, the key required property is the identifier of the playlist item to delete (not explicitly listed here but typically required).

Output

The node outputs JSON data representing the result of the delete operation. This usually includes confirmation of deletion or details about the deleted playlist item. The output is structured as an array of items, each containing a json field with the API response data and metadata about the processed 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.
  • Requires OAuth2 credentials for YouTube API access.
  • The node internally uses helper classes to interact with various 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 errors related to invalid subscription or API key, verify that your API key credential is correct and has the necessary permissions.
  • Permission Errors: Deleting playlist items requires appropriate YouTube API scopes and user permissions. Ensure the OAuth2 credentials have sufficient rights.
  • Missing Required Parameters: Make sure to provide all required identifiers such as the playlist item ID to delete.
  • API Rate Limits: YouTube API enforces quota limits; hitting these may cause failures. Consider handling rate limiting or reducing request frequency.
  • Continue On Fail: The node supports continuing execution on failure for individual items, which can help process bulk deletions even if some fail.

Links and References

Discussion