Learn how to seamlessly import MySQL data into Google Sheets using Pabbly Connect. Follow our step-by-step guide for effortless integration. Revolutionize your productivity approach with just a few strategic clicks. Uncover professional methods for connecting applications and creating workflows that reclaim hours of your week.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for MySQL Integration

To import MySQL data into Google Sheets, the first step is accessing Pabbly Connect. Start by opening a new tab and searching for Pabbly Connect.

Once you’re on the Pabbly Connect landing page, you can either sign up for a free account or log in if you already have one. Signing up is quick, taking only about two minutes, and provides you with 100 tasks free each month.


2. Creating a Workflow in Pabbly Connect

After logging into Pabbly Connect, you’ll be directed to the dashboard where you can create a new workflow. Click on the ‘Create Workflow’ button and name your workflow, such as ‘Import MySQL Data into Google Sheets’.

  • Select the folder where you want to save your workflow.
  • Click on ‘Create’ to proceed to the workflow setup.
  • You will see two main sections: Trigger and Action.

In the Trigger section, select ‘Schedule by Pabbly’ as your trigger application. This will allow you to schedule when your workflow runs. Since you want it to run once, choose the option for a one-time schedule.


3. Setting Up MySQL Connection in Pabbly Connect

Next, you will need to set up a connection to your MySQL database through Pabbly Connect. In the Action section, select MySQL as the application and choose the option for a custom query.

Click on ‘Connect’ and then ‘Add New Connection’. Fill in the required details such as database username, password, host, database name, and port. After entering these details, click on ‘Save’ to establish the connection.

  • Ensure you have all the database credentials ready.
  • Once connected, you can input your SQL query to fetch data.
  • Test your connection to confirm that it’s successful.

After saving, you can run a query, such as ‘SELECT * FROM new_contacts’ to retrieve data from your MySQL database.


4. Processing MySQL Data with Iterator in Pabbly Connect

After retrieving the data from MySQL, the next step is to process this data using the Iterator feature in Pabbly Connect. Add another action step by selecting ‘Iterator’ from the list of applications.

Choose the option for processing arrays as your action event. Connect the Iterator to your previous MySQL query response. This allows you to handle each record individually for further mapping.

Make sure to toggle off the simple response option to receive data in an advanced format. Click on ‘Save and Send Test Request’ to confirm that the data is properly processed. You will receive the first expanded data set from your MySQL database.

This processed data will be used in the final action step to map into Google Sheets.


5. Importing Data into Google Sheets Using Pabbly Connect

The final step is to import the processed data into Google Sheets through Pabbly Connect. Select Google Sheets as your action application and choose the action event ‘Add New Row’.

Connect your Google Sheets account by clicking on ‘Connect’ and then ‘Add New Connection’. After signing in, select the appropriate spreadsheet where you want to import the data.

Map the data fields from the iterator response to the corresponding columns in your Google Sheet. Ensure that you map all necessary fields such as ID, first name, last name, phone number, and email address. Click on ‘Save and Send Test Request’ to check if the data is imported successfully.

Once the test is successful, you will see the new row added to your Google Sheet with the data from your MySQL database, confirming that the integration works seamlessly.


Conclusion

In this tutorial, we demonstrated how to efficiently import MySQL data into Google Sheets using Pabbly Connect. By following the steps outlined, you can automate data imports without coding, making it easier to manage your data.

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