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 "Get Video Categories" operation under the "Videos" resource in this YouTube Enhanced node allows users to retrieve a list of video categories available on YouTube. This is useful for workflows that need to categorize videos, filter content by category, or display category options dynamically.
Typical use cases include:
- Automatically tagging uploaded videos with appropriate categories.
- Filtering or organizing video data based on category.
- Building user interfaces that allow selection from YouTube's official video categories.
For example, a workflow could fetch video categories and then prompt a user to select one when uploading a new video, ensuring consistent categorization.
Properties
| Name | Meaning |
|---|---|
| Max Results | Maximum number of video categories to return (1 to 50). |
| Page Token | Pagination token to retrieve the next set of results if there are more than maxResults. |
| Language | Language code (e.g., "en", "pt") to localize the category names where supported. |
Output
The output JSON contains an array of video category objects as returned by the YouTube Data API v3. Each category typically includes fields such as:
id: The unique identifier of the video category.snippet.title: The localized title of the category.snippet.assignable: Whether the category can be assigned to videos.
The node outputs these categories in the json field of each item, allowing subsequent nodes to process or filter them.
No binary data 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 for YouTube API access.
- The node internally uses the YouTube Data API v3 endpoints via helper classes bundled in the node.
Troubleshooting
- Invalid subscription or API key error: If you receive an error about invalid subscription or API key, verify that your API key credential is correct and has the necessary permissions.
- Quota exceeded or permission errors from YouTube API: Ensure your YouTube OAuth2 credentials have sufficient quota and scopes enabled.
- Pagination issues: If you do not get all categories, try using the
Page Tokenproperty to paginate through results. - Language codes: Using unsupported or incorrect language codes may result in default English titles or errors.