⚙️ YouTube Channel -> Uploaded Videos Workflow Formula By steve


Get all of the videos (the uploaded playlist) for a given channel on YouTube (or a list of channels). This will get the upload playlist for each channel and then get all the videos for all of the upload playlists.

Getting Started

Import this formula to add the 2 chained workflows into your account. Start by executing the (1/2) workflow and provide the Channel ID(s) you want to get all the videos for. Then enter your YouTube API key and you’ll get results back. Please be aware of your YouTube Data API usage, as this may result in charges from the Google API.

⚙️  YouTube Channel -> Uploaded Videos (1/2)

Inputs

YouTube Channel IDs
List
➡️ Channel ID

The channel ID to look up. For example, in the URL https://www.youtube.com/channel/UCArmutk8nAbYQdaYzgqKOwA/ the channel ID would be UCArmutk8nAbYQdaYzgqKOwA. If you only know the username (the URL doesn’t contain /channel/), then see the YouTube User Channels endpiont to get the channel ID from the username.

Part Example: id,snippet,contentDetails,statistics

Parts to return in the response.

  • auditDetails
  • brandingSettings
  • contentDetails
  • contentOwnerDetails
  • id
  • localizations
  • snippet
  • statistics
  • status
  • topicDetails

Extractors

  • YouTube Channel Details .
⚙️  YouTube Channel -> Uploaded Videos (2/2)

YouTube Channel -> Uploaded Videos (1/2) (External Trigger) Extractor: YouTube Channel Details items[0].contentDetails.relatedPlaylists.uploads ➡️ Playlist ID

Playlist ID to return videos for

YouTube Playlist Videos - Pagination Token (Self-Loop) Pagination Limit: Unlimited ➡️ Pagination Token

Pagination token from the previous response. Leave this blank at first and then look for the nextPageToken value in the response’s root collection to get the next page of results.

Limit Example: 50

Number of videos to return from the playlist per request.

Pagination Token Example: QWRTSl9pMXBPTTB4Ulk1VVNxMFtPQjFrVEdMRFowbjhTdHFfaWdpUlBYVFBNLWFpc0M5Q3pPaXRTYXhKU1JKbDFsVjgxVDRQTjVYbUgxdw==

Pagination token from the previous response. Leave this blank at first and then look for the nextPageToken value in the response’s root collection to get the next page of results.

Part Example: id,snippet

Parts to return in the response per the “part” values allowed here: https://developers.google.com/youtube/v3/docs/videos/list

Extractors

  • YouTube Playlist Videos .items
Posted by steve on April 9, 2020, 3:29 p.m. 🚩  Report