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 enhanced integration with YouTube's Data API v3 and Analytics, enabling a wide range of operations on YouTube resources. Specifically for the Captions resource with the Translate Caption operation, it allows users to translate an existing caption track into a target language. This is useful for content creators or managers who want to provide subtitles in multiple languages to reach a broader audience.
Practical examples include:
- Translating English captions of a video into Spanish to increase accessibility.
- Automatically generating translated captions for videos to comply with localization requirements.
- Managing multilingual content by programmatically handling caption translations within automated workflows.
Properties
| Name | Meaning |
|---|---|
| Caption ID | The unique identifier of the caption track to be translated. |
| Target Language | The language code (e.g., "es" for Spanish, "fr" for French) specifying the desired translation language for the caption. |
Output
The node outputs JSON data representing the result of the caption translation request. This typically includes details about the newly created translated caption track or the status of the translation operation as returned by the underlying YouTube API.
No binary data output is involved in this operation.
Dependencies
- Requires an active subscription and valid API key for the external "N8N Tools API" service, which validates usage before proceeding.
- Requires OAuth2 credentials or API credentials configured for accessing YouTube Data API v3.
- The node internally uses helper classes that wrap YouTube API endpoints for captions management.
Troubleshooting
- Invalid API Key or Subscription: If the node throws an error related to invalid subscription or API key, verify that the API key credential is correct and that your subscription to the external validation service is active.
- Caption ID Not Found: Errors may occur if the provided Caption ID does not exist or is not accessible with the current credentials. Double-check the Caption ID value.
- Unsupported Language Code: Ensure the target language code is valid and supported by YouTube's caption translation feature.
- API Quotas and Limits: Exceeding YouTube API quotas can cause failures; monitor quota usage and apply for higher limits if necessary.
Links and References
- YouTube Captions API Documentation
- YouTube Data API v3 Overview
- ISO 639-1 Language Codes (for valid language codes)