AppsPricingBlogTry it
Gmail logo
YouTube Data logo

Connect Gmail to YouTube Data

Build an AI agent that works across Gmail and YouTube Data, on a schedule or when you click Run.

20 source actions
19 target actions
Reverse direction supported

Why Connect Gmail & YouTube Data?

Read what you need from Gmail

Your agent uses Gmail's documented actions to pull the records it needs, each time it runs.

Run a YouTube Data action

Then it uses one of 19 documented actions, such as Add Playlist Items, Channel Statistics, Create Comment Thread.

Test it, then put it on a schedule

Run it once on your own data and check the result. Then set it to run daily, on weekdays or weekly.

Available Triggers & Actions

Gmail logo

Gmail

Triggers (5)

New Attachment Received

Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.

polling
New Email Matching Search

Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.

polling
New Email Received

Emit new event when a new email is received.

polling
New Labeled Email

Emit new event when a new email is labeled.

polling
New Sent Email

Emit new event for each new email sent. (Maximum of 100 events emited per execution)

polling

Actions (20)

Add Label to Email

Add label(s) to an email message. See the docs

Approve Workflow

Suspend the workflow until approved by email. See the documentation

Archive Email

Archive an email message. See the documentation

Bulk Archive Emails

Archive multiple emails at once. See the documentation

Create Draft

Create a draft from your Google Workspace email account. See the documentation

Create Label

Create a new label in the connected account. See the documentation

Delete Email

Moves the specified message to the trash. See the documentation

Download Attachment

Download an attachment by attachmentId to the /tmp directory. See the documentation

Find Email

Find an email using Google's Search Engine. See the docs

Get Current User

Returns the authenticated Gmail user's name, email address, and mailbox stats (total messages and threads). Call this first when the user says 'my emails', 'my inbox', or needs identity context. Use the returned emailAddress to identify the user's own messages in **Find Email** results. See the documentation.

Get Send As Alias

Get a send as alias for the authenticated user. See the documentation

List Labels

List all the existing labels in the connected account. See the docs

List Send as a Delegate Options

Retrieves available options for the Send as a Delegate field.

List Send As Aliases

List all send as aliases for the authenticated user. See the documentation

List Signature Options

Retrieves available options for the Signature field.

List Thread Messages

List messages in a thread. See the docs

Remove Label from Email

Remove label(s) from an email message. See the docs

Send Email

Send an email from your Google Workspace email account. See the documentation

Update Signature for Email in Organization

Update the signature for a specific email address in an organization. A Google Cloud service account with delegated domain-wide authority is required for this action. See the documentation

Update Signature for Primary Email Address

Update the signature for the primary email address. See the documentation

YouTube Data logo

YouTube Data

Triggers (10)

New Comment In Channel

Emit new event for each new comment or reply posted to a Youtube channel (or any of its videos).

polling
New Comment Posted

Emit new event for each new comment or reply posted to a Youtube video.

polling
New Liked Videos

Emit new event for each new Youtube video liked by the authenticated user.

polling
New Subscriber

Emit new event for each new Youtube subscriber to a user Channel.

polling
New Subscription

Emit new event for each new subscription from authenticated user.

polling
New Videos

Emit new event for each new Youtube video the user posts.

polling
New Videos by Handle

Emit new event for each new Youtube video tied to a handle.

polling
New Videos by Search

Emit new event for each new YouTube video matching the search criteria.

polling
New Videos in Playlist

Emit new event for each new Youtube video added to a Playlist.

polling
New Videos in Subscribed Channels

Emit new event for each new YouTube video posted to a subscribed channel.

polling

Actions (19)

Add Playlist Items

Adds resources to a playlist. See the documentation for more information

Channel Statistics

Returns statistics from my YouTube Channel or by id. See the documentation for more information

Create Comment Thread

Creates a new top-level comment in a video. See the documentation for more information

Create Playlist

Creates a playlist. See the documentation for more information

Delete Playlist

Deletes a playlist. See the documentation for more information

Delete Playlist Items

Deletes a playlist item. See the documentation for more information

List Activities

Returns a list of channel activity events that match the request criteria. See the documentation for more information

List Language Options

Retrieves available language options for the Language (hl) field.

List Playlist Videos

List videos in a playlist. See the documentation for more information

List Playlists

Returns a collection of playlists that match the API request parameters. See the documentation for more information

List Videos

Returns a list of videos that match the API request parameters. See the documentation for more information

Reply To Comment

Creates a reply to an existing comment. See the documentation for more information

Search Videos

Returns a list of videos that match the search parameters. See the documentation for more information

Update Channel

Updates a channel's metadata. See the documentation for more information

Update Playlist

Modifies a playlist. For example, you could change a playlist's title, description, or privacy status. See the documentation for more information

Update Video Details

Updates a video's metadata. See the documentation for more information

Upload Channel Banner

Uploads a channel banner image to YouTube. See the documentation for more information

Upload Thumbnail

Uploads a custom video thumbnail to YouTube and sets it for a video. Note: Account must be verified. See the documentation for more information

Upload Video

Post a video to your channel. See the documentation for more information

Integration Features

20 documented Gmail actions
19 documented YouTube Data actions
Plain-English agent instructions
Daily, weekday or weekly schedule, or run on demand
Execution monitoring
A supported YouTube Data to Gmail direction

Capability Examples

Gmail trigger → YouTube Data action

Catalog example
GmailGmail

New Attachment Received

YouTube DataYouTube Data

Add Playlist Items

YouTube Data trigger → Gmail action

Reverse direction
YouTube DataYouTube Data

New Comment In Channel

GmailGmail

Add Label to Email

How It Works

1

Connect Apps

Authenticate your Gmail and YouTube Data accounts

2

Describe the Job

Say what to read from Gmail and what to do in YouTube Data

3

Choose an Action

Select the documented YouTube Data operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Scheduled or On-demand Runs

Runs daily, on weekdays or weekly at a set time, or when you click Run. It does not fire on live Gmail events yet.

Automated Actions

Use 19 documented YouTube Data actions each time the agent runs.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Describe the job in plain English. The agent picks theGmail and YouTube Data actions it needs.

Your Own Accounts

You connect your own Gmail and YouTube Data accounts. App connections need a paid plan.

Execution Review

Test the workflow and review provider responses before relying on it in production.

YouTube Data logoGmail logo

Reverse Integration Available

Also connect YouTube Data to Gmail for bidirectional automation

View Integration
Gmail logo

All Gmail Integrations

Explore all available Gmail connections

View All Integrations
YouTube Data logo

All YouTube Data Integrations

Explore all available YouTube Data connections

View All Integrations

Ready to Connect Gmail & YouTube Data?

Build this agent in Mazaal AI and test it on your ownGmail and YouTube Data data.

Start building

Rather not build it yourself? We set up one Gmail to YouTube Data agent on your accounts for A$490: a 30-minute call, a test on your real data, and 14 days of fixes. Plan billed separately. Email Enod