How to post YouTube uploads to Discord automatically

Every YouTube channel has a public feed of its latest uploads. The social alerts template checks that feed on a schedule with the <strong>Check a feed</strong> step and posts in your server when there's a new video. The same step works with any RSS or Atom feed, such as a blog, a podcast or a news site. Schedules need a bot that stays connected, so it runs on Buildcord Boost, the $8-a-month plan.

5 stepsNo codeUses the YouTube and RSS alerts templateUpdated

Steps

  1. Find the channel's ID

    On the YouTube channel's page, open its about panel, choose Share channel, then Copy channel ID. It starts with UC.

  2. Start from the social alerts template

    Open the social alerts template in Buildcord. It makes a bot with a Schedule flow, a Check a feed step and the announcement already drawn.

  3. Give it the feed

    In the Check a feed step, paste https://www.youtube.com/feeds/videos.xml?channel_id= followed by the channel ID.

  4. Write the announcement

    In the step on the Something new way out, choose your channel and write the message. The video's title is {feed.item.title} and its link {feed.item.link}, which Discord turns into a player.

  5. Deploy

    Paste your token and deploy to a gateway bot. The first check notes where the feed is up to, and the next upload is posted.

Good to know

  • Turn on Announce what's there the first time in the step to post the latest video straight away, which is handy for testing.
  • Ping a role in the announcement, such as @Uploads, so members who want alerts get notified.
  • Watching several channels is one Check a feed step for each, side by side in the same schedule.
  • For Twitch streams going live, see go-live notifications.

Questions

How quickly does a new video get posted?

As soon as the next scheduled check sees it in the feed. YouTube's feed can take a few minutes to show a new upload.

Do I need a YouTube API key?

No. The channel's feed is public, so the Check a feed step reads it without a key.

Does it work with other sites?

Yes, any site with an RSS or Atom feed: blogs, podcasts, news sites, and many forums and subreddits.

More guides

Draw the first flow.

A command, a reply and a deploy is a working bot. It takes a few minutes.

Start buildingOpen dashboard