Using Zapier to Sync Object Data with Google Sheets

Liferay 7.4+

Here you’ll learn how to use webhooks to trigger sync tasks between Liferay Objects and Google Sheets using Zapier. Syncing your data in this way requires a premium Zapier account, Google Spreadsheet, and active DXP 7.4 instance. The DXP instance must also have a published Object with the desired fields for sending or receiving data to the Google Spreadsheet.

Syncing Object Data to a Google Sheet

Follow these steps to sync Object data to a Google Sheet:

  1. Log in to Zapier and click Create Zap.

    Create a Zap.

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

    Click Trigger 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.

    Select Catch Hook for trigger event.

  4. Copy the generated webhook URL.

    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.

    Define an action that sends a request to the webhook endpoint whenever an 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.

    Click the test trigger button.

  8. Verify the test was successful and click Continue.

    Verify the test was successful.

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

    Select Google Sheets.

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

    Select Create Spreadsheet Row.

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

    Connect the Google Sheets app to a Google account.

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

    Select the desired Spreadsheet and Worksheet.

    important

    When using the Create Spreadsheet Row action, you must have text in the first column header. Otherwise, the Zap sends your data to the top of the sheet rather than the bottom.

  13. Map the Sheet’s columns to data fields in the Object’s structure and click Continue.

    Map the Sheet's columns to Object fields.

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

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

  15. Turn on your Zap.

    Turn on your Zap.

Capabilities

Product

Contact Us

Connect

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