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 "Analyze Sentiment" operation under the "Comments" resource in this YouTube Enhanced node allows users to perform sentiment analysis on one or more YouTube comments by their IDs. This feature is useful for content creators, marketers, and community managers who want to understand the emotional tone of comments on their videos, helping them gauge audience reactions and manage community engagement effectively.
Practical examples include:
- Automatically analyzing viewer sentiment on recent comments to identify positive or negative feedback trends.
- Filtering comments based on sentiment to prioritize responses or moderation.
- Integrating sentiment data into broader analytics workflows to assess video performance and audience satisfaction.
Properties
| Name | Meaning |
|---|---|
| Comment IDs | Comma-separated list of YouTube comment IDs to analyze sentiment for. |
Output
The node outputs a JSON array where each element corresponds to the sentiment analysis result of a comment ID provided. The structure typically includes sentiment scores or labels (e.g., positive, neutral, negative) for each comment analyzed.
If multiple comment IDs are provided, the output contains an array of results with individual sentiment details per comment.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for the external "N8N Tools API" service, which validates subscription and access rights.
- Uses YouTube Data API v3 via helper classes internally to interact with comments.
- Proper configuration of credentials in n8n for both the N8N Tools API and YouTube OAuth2 API is necessary.
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 correctly configured and active.
- Comment IDs Format: Ensure that the "Comment IDs" input is a valid comma-separated string of existing YouTube comment IDs; invalid or non-existent IDs may cause errors or empty results.
- API Rate Limits: Exceeding YouTube API or N8N Tools API rate limits can cause request failures; consider implementing retry logic or reducing request frequency.
- Continue On Fail: If enabled, the node will continue processing other items even if some comment IDs fail, returning error details per failed item.