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 an enhanced integration with the YouTube Data API v3, specifically supporting a wide range of YouTube resources and operations. For the Videos resource, the Delete Video operation allows users to delete a specified YouTube video by its ID.
Typical use cases include:
- Automating video management workflows where videos need to be programmatically removed from a channel.
- Cleaning up outdated or unwanted content in bulk as part of a content lifecycle management process.
- Integrating video deletion into larger automation flows that respond to external triggers or conditions.
Example: A user can set up a workflow that deletes videos flagged for removal based on certain criteria (e.g., low engagement or policy violations) by providing the video IDs to this node.
Properties
| Name | Meaning |
|---|---|
| Video ID | The unique identifier of the YouTube video to delete. |
| Max Results | Maximum number of results to return (not applicable for delete but available generally). |
| Page Token | Pagination token for paged requests (not applicable for delete but available generally). |
| Language | Language code (e.g., "en", "pt") for localized data (not applicable for delete). |
For the Delete Video operation, only the Video ID property is required and relevant.
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will be a confirmation response from the YouTube API indicating success or failure of the deletion request.
- The output JSON contains the API response details.
- If multiple items are processed, each item's result is included separately.
- In case of errors and if "Continue On Fail" is enabled, error messages are returned per item.
No binary data output is produced by this operation.
Dependencies
- Requires an active subscription and valid API key credential for the external "N8N Tools API" service used for validation.
- Requires OAuth2 credentials or API credentials configured for accessing the YouTube Data API.
- The node internally uses helper classes to interact with YouTube API endpoints.
- No additional environment variables are explicitly required beyond standard n8n credential setup.
Troubleshooting
- Invalid subscription or API key: If the node throws an error about invalid subscription or API key, verify that the API key credential is correct and has access to the N8N Tools API.
- YouTube API errors: Errors such as "video not found" or "permission denied" may occur if the video ID is incorrect or the authenticated user lacks permission to delete the video.
- Rate limits: Deleting many videos in rapid succession may hit YouTube API rate limits; consider adding delays or handling retries.
- Continue On Fail: Enable this option to allow the node to continue processing other items even if some deletions fail, capturing errors in the output.
Links and References
- YouTube Data API v3 - Videos: delete
- YouTube Data API Overview
- n8n Documentation - Credentials
- N8N Tools API - General Info (for subscription and API key management)