N8N Tools - YouTube Enhanced
Actions83
- Videos Actions
- Channels Actions
- Playlists Actions
- Search Actions
- Analytics Actions
- Get Channel Analytics
- Get Video Analytics
- Get Playlist Analytics
- Get Content Owner Analytics
- Get Audience Retention
- Get Demographics
- Get Geographic Data
- Get Device Data
- Get Traffic Source Data
- Get Revenue Data
- Get Ad Performance Data
- Get Subscriber Analytics
- Get Playback Location Data
- Get Video Performance Data
- Get Playlist Performance Data
- Get Annotation Performance Data
- Get Card Performance Data
- Get Sharing Service Data
- Get Live Streaming Data
- Get Content Type Data
- Get Time Based Data
- Comments Actions
- Subscriptions Actions
- Live Streaming Actions
- Video Upload Actions
- Community Posts Actions
- Thumbnails Actions
- Captions Actions
- Channel Memberships Actions
- Super Chat & Thanks Actions
Overview
This node provides enhanced integration with YouTube's Data API v3 and Analytics, enabling a wide range of operations on YouTube resources within n8n workflows. Specifically, for the Subscriptions resource and the Delete Subscription operation, the node allows users to delete a YouTube subscription by specifying its Subscription ID.
This functionality is useful in scenarios where you want to automate management of your YouTube subscriptions, such as cleaning up unwanted subscriptions or managing subscriptions programmatically as part of a larger workflow.
Practical example:
- Automatically remove a subscription when a certain condition is met (e.g., after processing related content).
- Bulk unsubscribe from channels based on criteria evaluated in an n8n workflow.
Properties
| Name | Meaning |
|---|---|
| Subscription ID | The unique identifier of the YouTube subscription to delete. This is a required string input. |
Output
The node outputs JSON data representing the result of the delete subscription operation. Typically, this will be a confirmation of deletion or relevant response data from the YouTube API indicating success or failure.
If an error occurs during the operation and "Continue On Fail" is enabled, the output will include an error message associated with the specific item.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for the external "N8N Tools API" service to validate usage before making YouTube API calls.
- Requires OAuth2 credentials for YouTube API access to perform subscription management.
- The node uses internal helper classes that wrap YouTube API endpoints for various resources, including subscriptions.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error about invalid subscription or API key, verify that the provided API key credential is correct and active.
- Permission errors: Ensure that the OAuth2 credentials used have sufficient permissions/scopes to manage YouTube subscriptions.
- Subscription ID not found: If the specified Subscription ID does not exist or is incorrect, the YouTube API will return an error. Double-check the ID value.
- API quota limits: YouTube API enforces quota limits; excessive requests may cause failures. Monitor quota usage in Google Cloud Console.