Skip to content

Connect X to YouTube

A new video does best when people hear about it straight away, and X is where many audiences pick up new links. Connecting YouTube and X announces each upload as soon as it is live, with a post written for X rather than a pasted title.

Build your own

Build any X and YouTube automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what should happen between X and YouTube in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

For example, ask your assistant

Only post new videos to X if they are longer than 3 minutes, and use a different template for Shorts.

When a new video goes up, have AI write three different X posts and publish one now, one the next day and one three days later.

Use cases

Why people connect X and YouTube

How the two apps work together

  • The script checks your YouTube channel for newly public videos every few minutes, since YouTube does not send webhooks for this.
  • It writes the post text, optionally with AI, and publishes it to X through your connected account.
  • It keeps a record of video IDs it has already posted, so the same video is not announced twice.
  • Creators announce every upload on X

    When a video goes public, a post with the title, link and a short hook goes out on X. Followers on X hear about it the same day.

  • Marketing teams post clips and quotes from long videos

    AI picks a strong quote from the video description or captions and drafts a post with the timestamp link. The team gets more than one post per video.

  • Social managers keep a consistent posting schedule

    Older videos are posted on X on a set schedule, for example one evergreen video every Tuesday. The account stays active between uploads.

  • Founders share product demos as they publish

    Demo and tutorial videos are announced on the company X account with the product name and link. Sales and support can point people to the post.

More apps

X, YouTube and other apps in one automation

An automation isn't limited to two apps. Add the next step in another app and it runs as part of the same automation.

Review X posts in Slack before posting

When my YouTube channel publishes a video, post a draft X announcement in #social on Slack and publish it to X only after someone reacts with a check mark.

Announce new videos on X and LinkedIn

When a new video goes public on my YouTube channel, post a short announcement on X and a longer version with three takeaways on LinkedIn.

Evergreen video schedule from a sheet

Every Tuesday at 10am, take the next video from my Evergreen sheet, post it on X with the caption in the sheet and mark the row as posted.

Setup

Connect X and YouTube once

Every idea on this page uses the same two connections, so you set them up once. If one is missing, your assistant tells you and links to the right place.

X

Social

  1. In the X Developer Console, create an app and buy credits.
  2. Under User authentication settings, choose OAuth 2.0 as a Web App (confidential) with the callback https://clickruntime.com/oauth/callback.
  3. Use the scopes tweet.read, tweet.write, users.read and offline.access, adding media.write for images.
  4. Enter the client ID and secret under Connections in the ClickRuntime dashboard. You can use an OAuth 1.0a consumer key and access token for your own account instead.

YouTube

Video / Social

  1. In Google Cloud Console, enable the YouTube Data API v3 for your project.
  2. Under Credentials, create an API key and restrict it to the YouTube Data API. In the ClickRuntime dashboard, save it as a secret on Connections & secrets.
  3. For channel actions, set up the OAuth consent screen with the https://www.googleapis.com/auth/youtube scope, then create a Web OAuth client with the redirect URI https://clickruntime.com/oauth/callback.
  4. In the ClickRuntime dashboard, open Connections, choose YouTube and enter your OAuth client ID and secret, then authorise your channel.

FAQ

Questions about connecting X and YouTube

How does ClickRuntime post to X?
Through your own X developer app, connected in your ClickRuntime dashboard. Posts appear on your account as normal.
Does posting to X cost anything?
X charges for API access on a pay-per-use or monthly basis. A few posts a week cost very little, but check X's current pricing.
Can I review the post before it goes out?
Yes. Ask for the draft by email first and post it yourself, or let it post automatically once you trust the wording.
Will it post old videos?
No. It remembers the videos it has seen when it starts and only announces new ones.
Can it post a thread instead of a single post?
Yes. The script can post a first post and then replies to it, as long as your X API access allows posting.
Can it include the video thumbnail?
It can attach the thumbnail image if your X access supports media uploads. Otherwise the link preview usually shows it.
Can I limit it to certain playlists?
Yes. Ask for only videos added to a specific playlist, and the script checks that playlist instead of the whole channel.

Tell your assistant what X and YouTube should do together

Free plan. No credit card.