Loading
Loading
  • Home

  • Automation with Zapier

  • Zapier tutorials

Zapier tutorials

3 min read

How to automatically share new YouTube videos on Discord

By Khamosh Pathak · July 18, 2023
A hero image of the YouTube app logo connected to the Discord app logo on a light yellow background.

In the world of algorithmic feeds, it's easy for your new videos to get lost in the sea of ever-flowing content. Delivering your new YouTube videos directly to your engaged Discord community is a great way to keep your videos from drowning.

With a Zap—Zapier's automated workflows—you can automate sharing your latest videos without adding a manual task to your plate. And if you're curating great channels for a community, you'll be happy to know that this works for any public channel.

New to Zapier? It's workflow automation software that lets you focus on what matters. Combine user interfaces, data tables, and logic with 6,000+ apps to build and automate anything you can imagine. Sign up for free.

How to share YouTube videos in a Discord channel message

Zapier lets you create automated workflows called Zaps, which send your information from one app to another. You can create your own Zap from scratch without any coding knowledge, but we also offer quick templates to get you started. 

If you'd like to start with a template, click on it below, and you'll be taken to the Zap editor. You'll need to create a Zapier account if you don't already have one. Then, follow the directions below to set up your Zap.

Send new YouTube videos in Discord channel messages

Send new YouTube videos in Discord channel messages
  • YouTube logo
  • Discord logo
YouTube + Discord

Set up your YouTube trigger

Let's start with the trigger—the event that starts your Zap. If you're using the Zap template, this will be selected for you. Otherwise, search for and select YouTube as the trigger app and New Video In Channel as the trigger event, then click Continue.

A trigger step in the Zap editor with YouTube selected as the trigger app and New Video in Channel as the trigger event.

Connect your YouTube account, if you haven't already, then click Continue

Next identify which YouTube channel you want Zapier to watch for new videos by adding the appropriate YouTube channel ID to the Channel field.

A channel ID is a string of characters that's different from a YouTube URL, username, or channel name. To find one for your own account, head to YouTube's Advanced Account Settings page and copy the channel ID from there. For any public YouTube channel, you can use a service like Comment Picker to find the channel ID for any account. After adding the channel ID, click Continue.

A series of numbers and letters entered in the Channel field in a trigger step in the Zap editor.

Now it's time to test your trigger step. The data collected in your test will be used to test up the rest of your Zap. You'll need to have at least one video on your YouTube channel to run your test. If you don't have a video in your account, upload one now before you test your trigger step.

When you're ready, click Test trigger. Zapier will automatically show the three most recent videos. Take your pick, and click Continue with selected record to run your test. 

Three different test data options with the third selected.

Set up your Discord action

Now it's time to set up the action—the event your Zap will perform once it's triggered. If you're using the Zap template, these will already be selected for you. Otherwise, search for and select Discord as your action app and Send Channel Message as your action event. Click Continue.

An action step in the Zap editor with Discord selected for the action app and Send Channel Message selected for the action event.

Next, connect your Discord account, if you haven't already. If you're adding your account for the first time, you'll need to choose the server you want to connect, and give Zapier permission to access your Discord account. Then click Continue.

A Discord permissions pop-up with requests for different channel and account settings checked off with green checkmarks.

Now it's time to customize your message. First, choose where you want to send the message in the Channel field. 

If you're using the Zap template, Zapier will automatically populate the Message Text field with video details like the channel name, video title, and YouTube URL. Change the text as much as you like by typing in the text field. You can add additional data from your previous YouTube step, like the publishing time, description, or embed link, by clicking in the field and selecting items from the Insert Data dropdown.

Text in the Message Text field that announces a new YouTube video along with data selected from the previous YouTube trigger step.

You're also free to customize the Bot Name (by default, this will be called "Zapier Bot") and Bot Icon (using an image link) if you'd like. 

Bot Name and Bot Icon fields in a Discord action step.

Once you're done setting up your action step, click Continue.

Next, test your action step by clicking Test action. If your test is successful, you should see the latest YouTube video correctly added to the Discord channel.

You can also check your Discord channel to make sure everything is formatted correctly. Here's what it looked like in our channel.

A Discord channel message that announces a new YouTube video.

If everything looks right, your Zap is now ready to use. Now every time a new video is uploaded to the selected channel, it will automatically show up in the Discord channel of your choice with all the important details.

Related reading:

Get productivity tips delivered straight to your inbox

We’ll email you 1-3 times per week—and never share your information.

tags
mentioned apps

Related articles

Improve your productivity automatically. Use Zapier to get your apps working together.

Sign up
A Zap with the trigger 'When I get a new lead from Facebook,' and the action 'Notify my team in Slack'