Turn new YouTube uploads into WordPress blog posts

By General Input

Each morning, draft and publish a companion blog post on your WordPress site for every new YouTube video you uploaded the day before.

Integrations

  • YouTube
  • WordPress

Type

Agentic Task

Categories

  • Marketing

Every morning at 8am Eastern Time, check my YouTube channel for new uploads from the last 24 hours and publish a companion blog post on my WordPress site for each one. Use a cron trigger that runs daily at 8am ET.

Steps the agent should follow:

1. Call YouTube List Channels with mine=true to find my channel, and read the uploads playlist ID from contentDetails.relatedPlaylists.uploads.

2. Call YouTube List Playlist Items against that uploads playlist to get the most recent videos. Keep only the items whose publishedAt is within the last 24 hours. If there are none, finish the run with no posts created.

3. For each candidate video, call YouTube Get Video with the videoId, requesting snippet, statistics, and contentDetails so the agent has the full title, description, tags, view count, like count, and duration. Note that YouTube transcripts are not exposed in this catalog, so the agent must work from the title, description, and tags rather than a full transcript.

4. Before drafting, call WordPress List Posts with a search query for the video ID (and per_page of 20, recent first). If any returned post's content already contains the video ID, skip that video so we never publish a duplicate companion post.

5. For every video that has not been blogged, draft a 600 to 800 word companion blog post that: opens with a hook tied to the video's topic; embeds the YouTube video at the top of the post by placing the URL https://www.youtube.com/watch?v={videoId} on its own line so WordPress auto-converts it into a YouTube embed block; summarizes the key points the video covers using the title, description, and tags; and closes with a clear call to action telling readers to watch the full video and subscribe to my channel.

6. Call WordPress Create a Post for each draft with status set to publish, the post title set to the video's title (or a slightly refined SEO-friendly variant), an appropriate category that matches the video topic, and a small footer line at the bottom of the content that includes the literal video ID (for example: "Video ID: {videoId}") so the duplicate check in step 4 will find it on future runs.

Integrations: youtube and wordpress. Workflow type: agent.

Related prompts

Explore more prompts
Shoppable link console for your WordPress recipe archiveContent decay review board for your WordPress pagesTranslation coverage grid for your published WordPress postsContent audit and refresh desk for your marketing siteTurn every WordPress post into a narrated audio versionLet your content team refresh live pages without a Cloudflare loginAudio coverage console for your WordPress blog archiveResurface evergreen blog posts for another social pushEditorial desk app for your Airtable content calendarMonday brief: what competitors are pitching on YouTube