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
The node provides integration with YouTube's API through a comprehensive set of operations grouped by resource types. Specifically, for the Comments resource and the Delete Comment operation, it allows users to delete a specific comment on YouTube by providing its Comment ID.
This node is beneficial in scenarios where automated management of YouTube comments is required, such as moderating content, removing inappropriate or spam comments, or cleaning up comment sections programmatically within an n8n workflow.
Practical example:
- Automatically deleting flagged comments from a YouTube video after running a sentiment analysis or moderation check.
- Integrating with other systems to remove comments based on external triggers or criteria.
Properties
| Name | Meaning |
|---|---|
| Comment ID | The unique identifier of the YouTube comment to be deleted. This is a required string input. |
Output
The output of the Delete Comment operation is a JSON object representing the result of the deletion request. Typically, this will be an empty response or a confirmation that the comment was successfully deleted. If an error occurs, the node can return an error message describing the failure.
The node does not output binary data for this operation.
Dependencies
- Requires an active subscription and valid API key credential for the "N8N Tools API" service to validate usage.
- Requires OAuth2 credentials or API credentials configured for accessing the YouTube Data API v3.
- The node internally uses helper classes to interact with various YouTube API endpoints, including the Comments API.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error about invalid subscription or API key, verify that the API key credential is correctly configured and has the necessary permissions.
- Comment not found or already deleted: If the specified Comment ID does not exist or has been deleted, the API may return an error. Ensure the Comment ID is correct.
- Permission errors: Deleting comments requires appropriate permissions on the YouTube channel. Make sure the authenticated user has rights to moderate or delete comments.
- Rate limits: YouTube API enforces quota limits; excessive requests may cause failures. Implement error handling and retries if needed.