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 enhanced integration with YouTube's Data API v3 and Analytics, enabling users to retrieve detailed analytics and metrics related to YouTube subscriptions growth. Specifically, the "Get Growth Metrics" operation under the "Subscriptions" resource fetches subscriber growth data for a specified YouTube channel within a given date range.
This node is beneficial for content creators, marketers, and analysts who want to monitor how their subscriber base evolves over time. For example, it can be used to track the effectiveness of marketing campaigns or content strategies by analyzing subscriber growth trends between two dates.
Properties
| Name | Meaning |
|---|---|
| Start Date | The start date for the analytics data period from which subscriber growth metrics are retrieved. This is a required datetime input. |
| End Date | The end date for the analytics data period up to which subscriber growth metrics are retrieved. This is a required datetime input. |
Output
The output JSON contains the subscriber growth data returned by the YouTube API for the specified channel and date range. This typically includes metrics such as the number of subscribers gained or lost during the period, presented in a structured format suitable for further processing or reporting in workflows.
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.
- Requires OAuth2 credentials for accessing the YouTube API.
- The node internally uses helper classes that wrap YouTube API endpoints for analytics and subscriptions.
- Proper configuration of these credentials in n8n is necessary for successful execution.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
- Authorization Errors (401/403): These errors suggest issues with authentication tokens or permissions. Ensure that the OAuth2 credentials have the necessary scopes and are not expired.
- Missing Required Parameters: Both "Start Date" and "End Date" must be provided; missing these will cause errors.
- API Rate Limits: Excessive requests may lead to rate limiting by YouTube or the external API service. Implement retry logic or reduce request frequency if needed.
- Network Issues: Connectivity problems can cause request failures; check network status and proxy settings if applicable.