Learn how to automate article generation using OpenRouter and Pabbly Connect. This detailed guide walks you through the integration process with Google Sheets and WordPress.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for Automation

To generate 100% unique articles, we need to access Pabbly Connect. Start by visiting the Pabbly website and signing up for a free account if you don’t have one yet. This process takes only a few minutes and provides access to numerous automation tasks every month.

Once logged in, navigate to the Pabbly Connect dashboard. Click on the ‘X Now’ button to proceed to the workflow section. Here, you can create and manage all your automation workflows.


2. Creating a Workflow in Pabbly Connect

Creating a workflow in Pabbly Connect is straightforward. Click on the ‘Create Workflow’ button. A pop-up will appear, prompting you to name your workflow. Choose a name like ‘Generate Unique Articles’ and select the folder to save it. Click on ‘Create’ to proceed.

  • Name your workflow appropriately.
  • Select the folder where the workflow will be saved.
  • Click on ‘Create’ to finalize the setup.

After creating the workflow, you will see two main sections: Trigger and Action. The Trigger is where the automation starts, and the Action is what happens afterward. This setup is crucial for the integration process.


3. Setting Up the Trigger with Google Sheets

In this step, we will set up the trigger using Google Sheets in Pabbly Connect. Search for Google Sheets in the trigger application section. Choose the trigger event as ‘New or Updated Spreadsheet Row’. This event will initiate the workflow whenever a new topic is added to your Google Sheet.

Next, connect your Google Sheets account by copying the webhook URL provided by Pabbly Connect. Go to your Google Sheets, click on Extensions, then on Add-ons, and select Get Add-ons. Search for Pabbly Connect Webhooks and install it. After installation, navigate back to Extensions, select Pabbly Connect Webhooks, and click on Initial Setup.

  • Paste the webhook URL in the specified field.
  • Set the trigger column to the column where your data will be added (e.g., Column A).
  • Send a test to confirm the connection is successful.

Once the test is successful, submit the setup. This connection allows Pabbly Connect to receive data from Google Sheets, triggering the next steps in the workflow.


4. Generating Unique Articles Using OpenRouter

Now that the trigger is set up, we will use Pabbly Connect to integrate with OpenRouter for generating unique articles. In the action application section, search for OpenRouter and select it. Choose the action event as ‘Create Chat Completions’.

To connect OpenRouter with Pabbly Connect, you will need an API token. Go to your OpenRouter account, create a new key, and copy it. Return to Pabbly Connect, click on ‘Add New Connection’, and paste the token to establish the connection.

Select the model (e.g., GPT 3.5 Turbo) for generating content. Input your prompt to generate an article based on the topic from Google Sheets. Save and test the action to ensure it generates the article correctly.

After testing, you will receive a response with the generated article content. This is the unique article that will be posted to your WordPress account in the next step.


5. Posting the Generated Article to WordPress

The final step is to post the generated article to your WordPress site using Pabbly Connect. In the action application section, search for WordPress and select it. Choose the action event as ‘Create a Post’.

To connect your WordPress account, enter your login credentials in the provided fields. Once connected, map the title and content of the post from the previous steps. For the post title, use the topic from the Google Sheets, and for the post content, use the generated article from OpenRouter.

Fill in the post type as ‘Posts’. Map the title and content fields correctly. Click on ‘Save and Send Test Record’ to publish the post.

Upon successful completion, check your WordPress account to see the newly created post. This demonstrates how Pabbly Connect effectively automates the entire process, from generating unique articles to posting them seamlessly.


Conclusion

In this tutorial, we explored how to leverage Pabbly Connect to generate 100% unique articles using OpenRouter, Google Sheets, and WordPress. This automation streamlines the process, allowing for quick article generation and posting.

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

With just a few simple steps, you can set up this workflow and enhance your content creation capabilities, saving time and effort while ensuring uniqueness in your articles.