Learn how to automate WordPress posts for your published YouTube videos using Pabbly Connect. Step-by-step guide for seamless integration with Google Gemini. This comprehensive guide reveals exactly how to connect your applications and automate repetitive tasks — accessible for professionals of all technical backgrounds.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for YouTube and WordPress Integration

To create a WordPress post for your published YouTube videos, you first need to access Pabbly Connect. Start by navigating to the Pabbly Connect website and signing in to your account. If you are a new user, you can sign up for free and enjoy 100 free tasks every month.

Once you have signed in, you will see the Pabbly Connect dashboard. From here, you will create a new workflow by clicking the ‘Create Workflow’ button in the top right corner. Enter a name for your workflow, such as ‘Create WordPress Post for Published YouTube Videos,’ and select a folder to organize your workflow.


2. Setting Up the Trigger with YouTube in Pabbly Connect

The next step is to set up the trigger in Pabbly Connect. Select YouTube as your trigger application and choose the event ‘New Video in Channel with Video URL.’ This ensures that whenever a long video is published on your YouTube channel, Pabbly Connect captures the event.

  • Click on ‘Connect’ to link your YouTube account.
  • Authorize Pabbly Connect to access your YouTube data.
  • Select your channel ID from the drop-down menu.

After setting up the trigger, click on ‘Save and Send Test Request’ to verify that Pabbly Connect successfully captures the latest video details from your YouTube channel. You will receive a response containing the video title and description, confirming that the trigger is functioning correctly.


3. Filtering Videos to Exclude YouTube Shorts

In this step, we will use Pabbly Connect to filter out YouTube Shorts from the automation process. This is crucial because we only want to create posts for long videos. Add a new action step and select ‘Filter by Pabbly Connect’ as the application.

  • Set the filter type to ‘Does Not Contain’ for the title of the video.
  • Input ‘shorts’ as the value to ensure only long videos proceed.

Once the filter is applied, click on ‘Save and Send Test Request’ to confirm that the filter condition is true. This means that only videos without ‘shorts’ in their title will continue to the next step of content generation.


4. Generating Content Using Google Gemini

Now that we have filtered the videos, it’s time to generate content using Google Gemini through Pabbly Connect. Add another action step and select Google Generative AI as the application, with the action event set to ‘Generate Content.’ This will allow you to create content based on the title of the long video.

Connect Google Gemini to Pabbly Connect using your API key. Input your prompt, which should include the title of the video. Specify that the content should be generated in HTML format.

After setting up the content generation, click on ‘Save and Send Test Request’ to generate the content. You will receive a response with the generated content, confirming that the integration is working effectively.


5. Posting the Generated Content on WordPress

The final step is to post the generated content on your WordPress account using Pabbly Connect. Add another action step and select WordPress as the application, with the action event set to ‘Create a Post.’ This will enable you to publish the content generated from Google Gemini directly to your WordPress site.

Connect your WordPress account by entering your username, password, and base URL. Map the title and content fields to the respective data from the previous steps. Set the post status to ‘Publish’ to make the content live.

After completing the setup, click on ‘Save and Send Test Request’ to successfully create the post. Check your WordPress account to confirm that the new post has been published with the correct title and content.


Conclusion

In this tutorial, we explored how to use Pabbly Connect to automate the process of creating WordPress posts for your published YouTube videos. By integrating YouTube, Google Gemini, and WordPress, you can streamline your content creation process efficiently.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.