IntegrationsBuilt-in Providers

YouTube

Connect YouTube to your Appstrate agents.

Overview

YouTube is Google's video platform, allowing your agents to manage videos, channels, and analyze metrics.

Authentication Mode

PropertyValue
Typeoauth2
HeaderAuthorization: Bearer <token>
Default scopesyoutube.readonly

Available Scopes

ScopeDescription
youtube.readonlyRead-only access (videos, channels, playlists)
youtubeFull access (manage account)
youtube.uploadUpload videos
youtube.force-sslManage videos, comments, captions (SSL required)
youtubepartnerYouTube Partner (content and rights management)
youtube.channel-memberships.creatorRead channel memberships

Authorized URIs

The agent can access the following endpoints through the sidecar proxy:

  • https://www.googleapis.com/youtube/*
  • https://youtube.googleapis.com/*
  • https://www.googleapis.com/upload/youtube/*

Connect YouTube

  1. Enable the YouTube Data API v3 in a Google Cloud project
  2. Configure the OAuth consent screen
  3. Create OAuth 2.0 credentials (Client ID and Client Secret)
  4. Add the Appstrate redirect URI as an authorized redirect URI
  5. Enter the Client ID and Client Secret in the YouTube provider settings on Appstrate

Usage in an Agent

Once connected, the agent can call YouTube APIs through the sidecar proxy. Example prompt:

Every week, analyze the performance of the 10 latest channel videos.
Compare views, likes, and comments with the previous week.
Generate a report with the trends and post it to the "YouTube Analytics" Google Sheet.

On this page