N8N Tools - YouTube Enhanced icon

N8N Tools - YouTube Enhanced

Comprehensive YouTube Data API v3 and Analytics integration for N8N workflows

Actions83

Overview

The node provides enhanced integration with YouTube's API, supporting a wide range of YouTube-related operations. Specifically for the Video Upload resource and the Schedule Video operation, it allows users to schedule a previously uploaded YouTube video to be published at a specified future date and time.

This is useful in scenarios where content creators want to automate the timing of their video releases without manual intervention. For example, a user can upload videos in advance and then schedule them to go live at optimal times for audience engagement or marketing campaigns.

Properties

Name Meaning
Publish At The scheduled date and time when the video should be published on YouTube. This must be provided as a date-time value.

Output

The node outputs JSON data representing the response from the scheduling API call. This typically includes confirmation details about the scheduled publish time and the video ID. The output is structured per input item, allowing batch processing.

No binary data output is involved in this operation.

Example output snippet (conceptual):

{
  "videoId": "abc123xyz",
  "publishAt": "2024-07-01T15:00:00Z",
  "status": "scheduled"
}

Dependencies

  • Requires an active subscription and valid API key for the external "N8N Tools" API service.
  • Requires OAuth2 credentials for YouTube API access.
  • The node internally uses helper classes that wrap YouTube API endpoints for video upload management.
  • Proper configuration of these credentials in n8n is necessary for successful execution.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
  • Permission errors from YouTube API: Ensure that the OAuth2 credentials have sufficient permissions/scopes to manage video publishing.
  • Incorrect date-time format: The "Publish At" property must be a valid ISO 8601 date-time string; otherwise, the scheduling request may fail.
  • Video ID not found or invalid: Scheduling requires a valid existing YouTube video ID; ensure the video exists and belongs to the authenticated channel.

Links and References

Discussion