Recipe
Published November 14, 2024

Using Zapier to Sync Object Data with Google Sheets

Recipes are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve Recipes!

Introduction

You can use Liferay Objects with data integration tools to create automated tasks for syncing Object data with external services. These tasks are triggered using webhooks and can connect to Google applications, Microsoft Office, and more.

This recipe guides you through the steps required to use webhooks to trigger sync tasks between Liferay Objects and Google Sheets using Zapier.

Prerequisites

  • An active DXP 7.4 instance

  • Premium Zapier account

  • Google Spreadsheet

  • A published Object with the desired fields for sending or receiving data to the Google Spreadsheet

Steps

  1. To begin, log in to your Zapier account. Once logged in, navigate to the Create section and select Zap to initiate the workflow creation process.

  2. Click the Trigger step and select Webhooks by Zapier.

    Note

    Webhooks is a premium Zapier feature.

  3. Click the Trigger Event dropdown menu, select Catch Hook, and click Continue.

  4. Copy the generated webhook URL.

  5. In your Liferay instance, use the copied URL to define an Object action that sends a request to the webhook endpoint whenever a new Object entry is added.

  6. Add a test Object entry to trigger the webhook.

    This allows the Webhooks module to determine the Object's data structure automatically.

  7. Click the Test Trigger button.

  8. Verify the test was successful and click Continue.

  9. Click the Action step and select the Google Sheets app.

    Note

    If you don't see the Action step, add a new step.

  10. Click the Action Event dropdown menu and select Create Spreadsheet Row.

    Note

    Ensure you're selecting the Create Spreadsheet Row option.

  11. Connect the Google Sheets app to a Google account and then click Continue.

  12. Select the desired Spreadsheet and Worksheet to sync with the Object.

    Note

    Ensure you have text in the first column header of your sheet.

  13. Map the sheet's columns to data fields in the Object's structure and click Continue.

  14. Click the Test Action button and verify the test is successful.

  15. Turn on your Zap.

Conclusion

Congratulations! You now know how to sync Object Data with Google Sheets using Zapier.

Tips

Tips

Recipe
10 Minutes

Capabilities

Product

Education

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy