WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Tutorials» How to Automatically Create WordPress Post from YouTube Video

How to Automatically Create WordPress Post from YouTube Video

Last updated on July 14th, 2014 by Editorial Staff
105 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Automatically Create WordPress Post from YouTube Video

Recently one of our users asked us for a way to automate the process of creating a new post in WordPress whenever they upload a new video on their YouTube channel. Adding a YouTube video in WordPress is extremely simple, but it requires you to manually log in, create a post, and then embed the video. In this article, we will show you how to automatically create new WordPress post whenever a YouTube video is uploaded.

We will use a free tool called IFTTT to do this.

What is IFTTT?

IFTTT stands for “if this then that”. It is a powerful service that lets you automate certain tasks based on your specified criteria. For example:

If this happens: ‘A new video is uploaded to YouTube’.
Then do that: ‘Create new post in WordPress’.

The example above is called a recipe. You can create a recipe for many web based services. Check out our article on how to automate WordPress and social media with IFTTT for more examples.

Creating YouTube to WordPress Recipe in IFTTT

First thing you need to do is go to IFTTT website and sign up (it’s free).

Once you are logged in, you need to click on the Create button to start creating your first recipe.

Creating a new recipe in IFTTT

This will bring you to the create a recipe wizard. You need to choose a trigger by clicking on ‘this’ link.

Step 1 choosing an action

You will now see a number of channels that can be used with IFTTT. Scroll down or search for YouTube and click to select it.

IFTTT choose a channel

When you click on YouTube, it will take you to the next step asking you to activate a YouTube channel. You need to click on the activate button to allow IFTTT access to your YouTube account.

Activate YouTube Channel to continue

Once you have activated your YouTube account, you can choose a trigger. IFTTT will show you a few choices. For this example, you need to click on ‘New Video Uploaded’.

Choose New Video Uploaded as trigger for this recipe

This will bring you to the next step which usually allows you to choose fields from your selected trigger. However the trigger we have selected does not have any fields to choose from. Simply click on ‘Create Trigger’ button.

Finish trigger creation

You will now come to the ‘That’ part of your recipe. This is where you define the action to perform when the recipe is triggered. Click on ‘that’ to continue.

Click on that to define actions

IFTTT will now ask you to choose an action channel. Search for or scroll down to select WordPress.

Choose WordPress as the channel for your action

Again you will be asked to activate the channel. Click on the activate button and provide your WordPress site URL, username, and password.

Activate WordPress as channel in IFTTT

IFTTT will now show you actions you can choose to perform on your WordPress site. You need to click on ‘Create a Post’.

In the next step, you need to choose ingredients from YouTube channel to add into your WordPress post. As you can see in the screenshot below, we have chosen to add YouTube video title as the WordPress post title. We have used description and URL in the post area.

Adding ingredients to your recipe

As you scroll down, you can choose whether you want to publish the post immediately, publish privately, or save as a draft. Click on the ‘Create Action’ button to continue.

Select a post status

IFTTT will now display your recipe details. You need to save it by clicking on ‘Create Recipe’ button.

Finish recipe setup

Important: By default IFTTT has URL shortening turned on which means that your YouTube URL will be shortened by IFTTT and WordPress will not be able to embed your video. To solve this issue, you need to disable URL shortening in IFTTT. Start by clicking on your username on top right corner of the IFTTT dashboard and then click on Preferences. Next, scroll down to the URL shortening section and disable it.

Disable URL Shortening in IFTTT

That’s all, your IFTTT recipe is ready now. It will automatically check YouTube for new videos every 15 minutes. If it finds a new video, then IFTTT will automatically create a new WordPress post from that YouTube video.

We hope this article helped you create new posts in WordPress from YouTube video uploads. Don’t forget to check out our 9 useful YouTube tips to spice up your WordPress site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Google+.

105 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

19 Comments

Leave a Reply
  1. Mike says:
    Oct 23, 2019 at 4:01 pm

    Hi, this is a good thing on IFTTT for NEW videos, but what if I wanted to generate posts from existing videos on youtube, for example, videos in a playlist. Is there a way to do that?

    Reply
    • WPBeginner Support says:
      Oct 24, 2019 at 10:06 am

      For the moment we do not have a recommended retroactive method for creating the posts.

      Reply
  2. Zakir A. Qureshi says:
    Apr 7, 2018 at 4:04 pm

    Hello Every One if i do AutoBlog With YouTube is there any issue of Copyright Please guide Me Thanks .

    Reply
    • WPBeginner Support says:
      Apr 8, 2018 at 2:50 pm

      Hi Zakir,

      If you created the video and own the rights, then there wouldn’t be a copyright issue.

      Reply
  3. John says:
    Jul 11, 2017 at 3:39 am

    Please I tried to use the ifttt to WordPress after connected it does not create post at my website. When I check the report on ifttt it say. Something wrong with WordPress services.

    Reply
    • WPBeginner Support says:
      Jul 11, 2017 at 3:11 pm

      Hey John,

      Try to connect again. If it doesn’t work then you probably have xmlrpc disbaled. If you are using 2-step verification for login, then you will need to create application specific password for IFTTT to use.

      Reply
  4. Nick Barban says:
    Mar 28, 2016 at 7:32 pm

    Hi found this article by accident. I was investigating autoblogging after an article i read on google+ from WP B. ive signed up with IFTTT but i dont know know wether im being blind or stupid ;) i ve tried to set up an application password but I cant find anywhere to set this up within my wordpress site. Im guessing that as im using clef authentication to log in, this is causing the problem. Can i get round this problem by deactivating clef and relogging in via login and password? will that give me the option to set up application passwords. And can i reactivate clef once this is set up and the application passwords still work. Primary reason for setting this up is to have a live autoblog update of new videos being posted on YouTube. Im likely to be posting quite a few this year. Thanks for your help in advance. Nick

    Reply
    • WPBeginner Support says:
      Mar 29, 2016 at 8:50 pm

      You can try deactivating Clef for testing and if it works then ask Clef support how to get around that.

      Reply
  5. WPBeginner Staff says:
    Feb 18, 2015 at 6:55 pm

    You are welcome.

    Reply
  6. WPBeginner Staff says:
    Feb 15, 2015 at 9:37 pm

    No, IFTTT does not add embed code in your posts. It only adds the YouTube video URL. WordPress then gets the embed code using oEmbed. You may want to take a look at this guide about how to make your videos responsive in WordPress Using Fitvids.

    Reply
    • Jose_Martino says:
      Feb 16, 2015 at 4:14 am

      Thank for explaining the nature of the problem better, however, I still havent been able to fix the issue with the oembed adding the old flash code when using IFTTT.

      I did add the Fitvids plugin and configured as mentioned in the article, but issue still persist. I did not notice that if I manually add the youtube url to an article the proper ifram code is used, but I still see the problem only occurring when I use IFTTT.

      Do you have any ideas as to what may causing this issue. I’ve been dealing with this issue for a while and it has been frustrating not finding the fix. Other then this problem, it works great! Thanks again for answering.

      Reply
    • Jose_Martino says:
      Feb 16, 2015 at 4:59 am

      wow, I just noticed what I was doing wrong, I choose embed code instead of URL in the recipe. With the URL, the recipe works as you mention, URL is translated by the website automatically into iframe code.

      If you use the EmbedCode ingredient the embed code is added to the post but it uses the flash code. Thank God I read your post, and realized I could just use the URL ingredient and did not need to used EMbedCode.

      Thanks again for all your help

      Reply
  7. Jose_Martino says:
    Feb 14, 2015 at 5:16 pm

    I use this service for posting my youtube videos, however, I recently became aware that ifft uses the old youtube embed code to post the youtube videos on your word press page, and therefore when a visitor views your article on the phone the videos do not display. I wish IFTTT would upgrade to use the iframe format of the embed code, because otherwise it is a great function

    Reply
  8. Rareș Ghinga says:
    Dec 8, 2014 at 9:57 am

    It says that it will scan for NEW videos. What about older uploads/favorites?

    Reply
  9. WPBeginner Staff says:
    Nov 29, 2014 at 5:17 pm

    This can be caused by a security plugin installed on your site.

    Also make sure that your WordPress Address and Site Address are the same URLs in settings. If you have a setup where WordPress is installed in a different directory than the site address, then you will need to use the WordPress address on IFTTT.

    Reply
  10. Michiel Andreae says:
    Nov 28, 2014 at 1:31 pm

    Great idea. I was looking for exactly this. Unforunately my IFTTT can’t connect to my WordPress site. It returns “Live channel fields value is not a valid WordPress url”. Any idea how I can fix this?

    Reply
  11. jc says:
    Jul 27, 2014 at 6:03 pm

    you have a super website and this is information I am looking for right now. I already have an account and will set this up today. as always, thanks so very much for sharing all of this pertinent information. whilei am fairly new to WordPress, these articles are a great help. you explain directions in a very clear, concise and easy to understand manner. thanks again!

    Reply
  12. Syntocode Tomisin says:
    Jul 17, 2014 at 5:40 am

    Wow! great service from IFTTT..Thanks for sharing :)

    Reply
  13. Mohammed says:
    Jul 14, 2014 at 12:08 pm

    Thank you,
    IFTTT great service I already use it on many sites.

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
WP Mail SMTP logo
WP Mail SMTP
Fix WordPress email delivery issues. #1 SMTP plugin. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2021 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2021)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2021)
    • SiteGround Reviews from 4464 Users & Our Experts (2021)
    • Bluehost Review from Real Users + Performance Stats (2021)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2021 – Step by Step Guide
Deals & Coupons (view all)
EWWW Image Optimizer
EWWW Image Optimizer Coupon
Get 15% OFF on EWWW Image Optimizer WordPress plugin for image resizing.
LiveChat logo
LiveChat Inc Coupon
Get a 30 day free trial and 30% OFF LiveChat, one of the best live chat service providers for WordPress users.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
  • Growth Fund
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon
  • AIOSEO

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress Security by Sucuri.