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, supporting a wide range of YouTube resources and operations. Specifically for the Live Streaming resource and the Get Live Chat Messages operation, it retrieves live chat messages from an active YouTube live stream using the provided live chat ID.
This functionality is useful for workflows that need to monitor or analyze live chat interactions during a YouTube live broadcast. For example, you can use this node to:
- Collect live chat messages in real-time for sentiment analysis.
- Archive chat messages for later review or moderation.
- Trigger other workflow actions based on specific chat content or user interactions.
Properties
| Name | Meaning |
|---|---|
| Live Chat ID | The unique identifier of the live chat associated with a YouTube live broadcast. This ID is required to fetch live chat messages. |
Output
The node outputs an array of JSON objects representing the live chat messages retrieved from the specified live chat session. Each item in the output corresponds to a message or batch of messages returned by the YouTube API.
The exact structure of each message object follows YouTube's live chat message format, typically including details such as:
- Message text
- Author information
- Timestamp
- Message type (e.g., text message, super chat)
- Any associated metadata
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for the "N8N Tools API" service to validate subscription and access rights.
- Uses YouTube Data API v3 endpoints via helper classes internally.
- Proper OAuth2 credentials or API keys for YouTube API access must be configured in n8n.
- The node sends a validation request to the external N8N Tools API before executing the main operation.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error about invalid subscription or API key, verify that your API key credential for the external validation service is correct and active.
- Permission errors from YouTube API: Ensure that the OAuth2 credentials used have sufficient permissions to access live streaming data and live chat messages.
- Empty or missing live chat ID: The live chat ID must be valid and correspond to an active live broadcast; otherwise, no messages will be returned.
- Rate limits: YouTube API enforces quota limits; excessive requests may result in quota exhaustion errors. Implement appropriate delays or pagination handling.