YouTube
youtubeYouTube is a video-sharing platform with user-generated content, live streaming, and monetization opportunities, widely used for marketing, education, and entertainment
Acciones disponibles (14)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get Channel ActivitiesYOUTUBE_GET_CHANNEL_ACTIVITIESAcciónGets recent activities from a youtube channel including video uploads, playlist additions, likes, and other channel events.
YOUTUBE_GET_CHANNEL_ACTIVITIESAcciónGets recent activities from a youtube channel including video uploads, playlist additions, likes, and other channel events.
Parámetros de entrada
partstringComma-separated list of activity resource properties to include (e.g., 'snippet', 'contentDetails', 'id').
channelIdstringObligatorioThe YouTube channel ID to retrieve activities for. Channel IDs typically start with 'UC'.
pageTokenstringPagination token from a previous response to get the next page of results.
maxResultsintegerMaximum number of activities to return.
publishedAfterstringReturn activities published after this date-time (RFC 3339 format: YYYY-MM-DDTHH:MM:SSZ).
publishedBeforestringReturn activities published before this date-time (RFC 3339 format: YYYY-MM-DDTHH:MM:SSZ).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get channel ID by handleYOUTUBE_GET_CHANNEL_ID_BY_HANDLEAcciónRetrieves the youtube channel id for a specific youtube channel handle.
YOUTUBE_GET_CHANNEL_ID_BY_HANDLEAcciónRetrieves the youtube channel id for a specific youtube channel handle.
Parámetros de entrada
channel_handlestringObligatorioThe YouTube channel handle (e.g., @Google) for which to retrieve the corresponding channel ID. This handle must start with an '@' symbol.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Channel StatisticsYOUTUBE_GET_CHANNEL_STATISTICSAcciónGets detailed statistics for youtube channels including subscriber counts, view counts, and video counts.
YOUTUBE_GET_CHANNEL_STATISTICSAcciónGets detailed statistics for youtube channels including subscriber counts, view counts, and video counts.
Parámetros de entrada
idstringObligatorioComma-separated list of YouTube channel IDs. Channel IDs typically start with 'UC'.
partstringComma-separated list of channel resource properties to include. Use 'statistics' for subscriber count.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List captionsYOUTUBE_LIST_CAPTION_TRACKAcciónRetrieves a list of caption tracks for a youtube video, returning an empty list if no captions exist or failing if the video id is invalid or not found.
YOUTUBE_LIST_CAPTION_TRACKAcciónRetrieves a list of caption tracks for a youtube video, returning an empty list if no captions exist or failing if the video id is invalid or not found.
Parámetros de entrada
partstringSpecifies a comma-separated list of one or more caption resource parts that the API response will include. Valid parts are 'id' and 'snippet'.
videoIdstringObligatorioThe YouTube video ID for which the API should return caption tracks.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List channel videosYOUTUBE_LIST_CHANNEL_VIDEOSAcciónLists videos from a specified youtube channel, ensuring results are of `type: 'video'`.
YOUTUBE_LIST_CHANNEL_VIDEOSAcciónLists videos from a specified youtube channel, ensuring results are of `type: 'video'`.
Parámetros de entrada
partstringSpecifies `search` resource properties to include; it must be `snippet` for this action. The `snippet` includes basic video details like ID, title, description, and thumbnails.
channelIdstringObligatorioThe unique ID of the YouTube channel for which videos are to be retrieved.
pageTokenstringToken for pagination; use `nextPageToken` from a previous response for the next page, or `prevPageToken` for the previous page.
maxResultsintegerThe maximum number of videos to return per page.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List user playlistsYOUTUBE_LIST_USER_PLAYLISTSAcciónRetrieves playlists owned by the authenticated user, implicitly using mine=true.
YOUTUBE_LIST_USER_PLAYLISTSAcciónRetrieves playlists owned by the authenticated user, implicitly using mine=true.
Parámetros de entrada
partstringSpecifies a comma-separated list of one or more playlist resource properties to include in the response. Common values are 'snippet', 'id', and 'contentDetails'.
pageTokenstringToken for pagination to retrieve a specific page of results.
maxResultsintegerMaximum number of playlists to return.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List user subscriptionsYOUTUBE_LIST_USER_SUBSCRIPTIONSAcciónRetrieves the authenticated user's youtube channel subscriptions, allowing specification of response parts and pagination.
YOUTUBE_LIST_USER_SUBSCRIPTIONSAcciónRetrieves the authenticated user's youtube channel subscriptions, allowing specification of response parts and pagination.
Parámetros de entrada
partstringSpecifies the comma-separated subscription resource parts to include. Valid parts are `id`, `snippet`, `contentDetails`, and `subscriberSnippet`.
pageTokenstringToken for a specific page of results, obtained from a previous response. Omit for the first page.
maxResultsintegerMaximum number of subscription items to return per page.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download YouTube caption trackYOUTUBE_LOAD_CAPTIONSAcciónDownloads a specific youtube caption track, which must be owned by the authenticated user, and returns its content as text.
YOUTUBE_LOAD_CAPTIONSAcciónDownloads a specific youtube caption track, which must be owned by the authenticated user, and returns its content as text.
Parámetros de entrada
idstringObligatorioUnique YouTube-assigned ID of the caption track to download.
tfmtstringDesired format for the caption track. Supported formats: 'srt' (SubRip), 'sbv' (SubViewer), 'vtt' (WebVTT).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search YouTubeYOUTUBE_SEARCH_YOU_TUBEAcciónSearches youtube for videos, channels, or playlists using a query term, returning the raw api response.
YOUTUBE_SEARCH_YOU_TUBEAcciónSearches youtube for videos, channels, or playlists using a query term, returning the raw api response.
Parámetros de entrada
qstringObligatorioSearch query term. Supports: - Basic text: 'machine learning' - Exact phrases: '"exact phrase"' - Exclusions: 'python -snake' - Multiple terms: 'AI OR ML' - Channel search: '@channelhandle' or channel name
partstringComma-separated list of search resource properties (e.g., 'id', 'snippet') to include in the API response.
typestringRestricts search to 'video', 'channel', or 'playlist'; comma-separate for multiple types (e.g., 'video,channel').
pageTokenstringPagination token from a previous response's 'nextPageToken' or 'prevPageToken', used to retrieve a specific page of results.
maxResultsintegerMaximum number of items to return per page.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Subscribe to channelYOUTUBE_SUBSCRIBE_CHANNELAcciónSubscribes the authenticated user to a specified youtube channel, identified by its unique `channelid` which must be valid and existing.
YOUTUBE_SUBSCRIBE_CHANNELAcciónSubscribes the authenticated user to a specified youtube channel, identified by its unique `channelid` which must be valid and existing.
Parámetros de entrada
channelIdstringObligatorioUnique identifier (ID) of the YouTube channel to subscribe to (typically starts with 'UC').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update thumbnailYOUTUBE_UPDATE_THUMBNAILAcciónSets the custom thumbnail for a youtube video using an image from thumbnailurl; the authenticated user must have permission to edit the video.
YOUTUBE_UPDATE_THUMBNAILAcciónSets the custom thumbnail for a youtube video using an image from thumbnailurl; the authenticated user must have permission to edit the video.
Parámetros de entrada
videoIdstringObligatorioIdentifier of the YouTube video for which to update the thumbnail.
thumbnailUrlstringObligatoriouriPublicly accessible URL of the new thumbnail image. Must be JPG, GIF, or PNG; under 2MB. Recommended: 16:9 aspect ratio, 1280x720 resolution (minimum 640px width).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update videoYOUTUBE_UPDATE_VIDEOAcciónUpdates metadata for a youtube video identified by videoid, which must exist; an empty list for tags removes all existing tags.
YOUTUBE_UPDATE_VIDEOAcciónUpdates metadata for a youtube video identified by videoid, which must exist; an empty list for tags removes all existing tags.
Parámetros de entrada
tagsstring[]New tags, replacing all existing. An empty list removes all. No change if omitted or `None`.
titlestringNew video title. No change if omitted or `None`.
videoIdstringObligatorioThe video's unique YouTube ID, typically found in its URL.
categoryIdstringNew YouTube category ID. No change if omitted or `None`.
descriptionstringNew video description. No change if omitted or `None`.
privacyStatusstringNew privacy status ('public', 'private', or 'unlisted'). No change if omitted or `None`.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload videoYOUTUBE_UPLOAD_VIDEOAcciónUploads a video from a local file path to a youtube channel; the video file must be in a youtube-supported format.
YOUTUBE_UPLOAD_VIDEOAcciónUploads a video from a local file path to a youtube channel; the video file must be in a youtube-supported format.
Parámetros de entrada
tagsarrayObligatorioList of keyword tags (strings) for the video, used to improve discoverability.
titlestringObligatorioThe title for the video.
categoryIdstringObligatorioYouTube category ID (e.g., '22' for People & Blogs). See YouTube Data API docs for a full list of category IDs.
descriptionstringObligatorioDetailed description of the video content, optionally including keywords and context.
privacyStatusstringObligatorioPrivacy status: 'public', 'private' (uploader/specified users only), or 'unlisted' (link accessible, not publicly listed).
videoFilePathstringObligatorioLocal file path (absolute or relative) of the video to be uploaded.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Video detailsYOUTUBE_VIDEO_DETAILSAcciónRetrieves specified information parts (e.g., snippet, contentdetails, statistics) for a youtube video, identified by its id.
YOUTUBE_VIDEO_DETAILSAcciónRetrieves specified information parts (e.g., snippet, contentdetails, statistics) for a youtube video, identified by its id.
Parámetros de entrada
idstringObligatorioThe YouTube video ID (typically an 11-character string) for which details are to be retrieved.
partstringComma-separated list of video resource parts that the API response will include. Valid parts: 'snippet' (title, description, thumbnails), 'contentDetails' (duration, definition, dimension), 'statistics' (view count, like count, comment count), 'status' (upload status, privacy status), 'player' (embed HTML), 'topicDetails' (associated topics), 'recordingDetails' (recording location and date), 'liveStreamingDetails' (live broadcast details), and 'localizations' (localized metadata).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Triggers (4)
Los triggers son eventos externos que pueden iniciar un flujo en tus agentes (ej: nuevo email, mensaje recibido, registro creado).
New YouTube ActivityYOUTUBE_NEW_ACTIVITY_TRIGGERTriggerTriggers when a new activity is detected on a YouTube channel.
YOUTUBE_NEW_ACTIVITY_TRIGGERTriggerTriggers when a new activity is detected on a YouTube channel.
Configuración
channel_idstringObligatorioThe ID of the YouTube channel
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
activityobjectObligatorioActivity details
event_typestringType of YouTube activity event
Instrucciones
**Instructions for Setting Up the Trigger:** - Make sure you have authorized access to the YouTube Data API.
New Item in YouTube PlaylistYOUTUBE_NEW_PLAYLIST_ITEM_TRIGGERTriggerTriggers when a new item is added to a YouTube playlist.
YOUTUBE_NEW_PLAYLIST_ITEM_TRIGGERTriggerTriggers when a new item is added to a YouTube playlist.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
playlist_idstringObligatorioThe ID of the YouTube playlist
Payload del evento
event_typestringType of YouTube playlist item event
itemobjectObligatorioPlaylist item details
Instrucciones
**Instructions for Setting Up the Trigger:** - Make sure you have authorized access to the YouTube Data API.
New Playlist in YouTube ChannelYOUTUBE_NEW_PLAYLIST_TRIGGERTriggerTriggers when a new playlist is added to a YouTube channel.
YOUTUBE_NEW_PLAYLIST_TRIGGERTriggerTriggers when a new playlist is added to a YouTube channel.
Configuración
channel_idstringObligatorioThe ID of the YouTube channel
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
event_typestringType of YouTube playlist event
playlistobjectObligatorioPlaylist details
Instrucciones
**Instructions for Setting Up the Trigger:** - Make sure you have authorized access to the YouTube Data API.
New YouTube Channel SubscriptionYOUTUBE_NEW_SUBSCRIPTION_TRIGGERTriggerTriggers when a new channel is subscribed.
YOUTUBE_NEW_SUBSCRIPTION_TRIGGERTriggerTriggers when a new channel is subscribed.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
event_typestringType of YouTube subscription event
subscriptionobjectObligatorioSubscription details
Instrucciones
**Instructions for Setting Up the Trigger:** - Make sure you have authorized access to the YouTube Data API.