melso
AutomationUse casesChangelog
Start your business
Codex and YouTube

Connect Codex to YouTube

Give your Codex agent access to YouTube in Melso — 48 tools it can call while it works through a task.

Set it up in Melso

  1. 1In Melso, open Settings → Agent Apps and hit Connect on YouTube.
  2. 2Finish the OAUTH2 sign-in in the window that opens. Melso stores the connection, not your credentials.
  3. 3Open your Codex agent, go to its Agent Apps tab, and allow YouTube.
  4. 4Give the agent a task. It calls YouTube itself when the work needs it.
Get Melso
What you get

What YouTube gives your agent

The tools, permissions, and events YouTube exposes — the same ones your agent can use once the app is authorized.

What you sign in with

YouTube connects with OAUTH2.

  • Client id
  • Client secret

Permissions

https://www.googleapis.com/auth/youtubehttps://www.googleapis.com/auth/youtube.channel-memberships.creatorhttps://www.googleapis.com/auth/youtube.force-sslhttps://www.googleapis.com/auth/youtube.readonlyhttps://www.googleapis.com/auth/youtube.uploadhttps://www.googleapis.com/auth/youtubepartnerhttps://www.googleapis.com/auth/youtubepartner-channel-audit

Tools YouTube exposes

YOUTUBE_ADD_VIDEO_TO_PLAYLIST

Add Video to Playlist

Tool to add a video to a playlist by inserting a playlist item. Use when organizing videos into playlists or building curated collections.

YOUTUBE_CREATE_CHANNEL_SECTION

Insert Channel Section

Tool to create a new channel section for the authenticated user's YouTube channel. Use when organizing channel content into sections like featured playlists, recent uploads, or featured channels.

YOUTUBE_CREATE_COMMENT_REPLY

Insert Comment Reply

Tool to create a reply to an existing YouTube comment. Use when responding to user comments or engaging in conversations on videos.

YOUTUBE_CREATE_PLAYLIST

Create Playlist

Tool to create a new YouTube playlist on the authenticated user's channel. Use when organizing videos into collections or building curated playlists.

YOUTUBE_DELETE_CHANNEL_SECTION

Delete Channel Section

Tool to delete a YouTube channel section. Use when you need to remove a channel section from a channel. The channel section must exist and the authenticated user must have permission to delete it.

YOUTUBE_DELETE_COMMENT

Delete Comment

Tool to delete a YouTube comment owned by the authenticated user or channel. Use when you need to remove a comment from a video. The comment must exist and be owned by the authenticated channel.

YOUTUBE_DELETE_PLAYLIST

Delete Playlist

Tool to delete a YouTube playlist owned by the authenticated user/channel. Use when you need to permanently remove a playlist from YouTube. Requires explicit confirmation via `confirmDelete: true` to prevent accidental deletions.

YOUTUBE_DELETE_PLAYLIST_ITEM

Delete Playlist Item

Tool to delete a playlist item (remove a video from a playlist). Use when removing specific videos from playlists.

Events your agent can react to

YOUTUBE_NEW_ACTIVITY_TRIGGER

New YouTube Activity

Triggers when a new activity is detected on a YouTube channel.

YOUTUBE_NEW_PLAYLIST_ITEM_TRIGGER

New Item in YouTube Playlist

Triggers when a new item is added to a YouTube playlist.

YOUTUBE_NEW_PLAYLIST_TRIGGER

New Playlist in YouTube Channel

Triggers when a new playlist is added to a YouTube channel.

YOUTUBE_NEW_SUBSCRIPTION_TRIGGER

New YouTube Channel Subscription

Triggers when a new channel is subscribed.

Example prompts

  • Use YouTube to check recent changes and summarize them in the issue.
  • When a customer writes in, pull their data from YouTube before replying.
  • Audit our open items in YouTube and notify the channel of anything stale.

Useful links

  • YouTube website
  • Melso Agent Apps docs

More in Video & Audio

  • YouTube
  • ElevenLabs
  • HeyGen
  • LMNT
  • Listen Notes
melso

Run your company with AI agents.

Start your business

Product

  • Home
  • Automation
  • Melso vs Polsia
  • Use cases
  • Changelog
  • Download

Resources

    Company

    • About
    • Contact Sales

    © 2026 Melso. All rights reserved.