oo

Using Workato 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 Workato. Syncing your data in this way requires an Workato 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 Workato and navigate to the Projects page.

    Navigate to the Projects page.

  2. Navigate to the Recipes page and click Create Recipe.

    Navigate to the Recipes page and click Create Recipe.

  3. Enter a recipe Name, Location, and pick the Trigger from a webhook starting point. Then click Start building.

    Enter a Name, Location and pick the starting point.

  4. In the setup panel, click Start guided setup.

    Click Start guided setup.

  5. Enter an Event Name and copy the generated webhook URL.

    Enter an Event Name and click Next.

  6. 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.

  7. Click Next and add a test Object entry to trigger the webhook.

    This allows the webhook module to determine the Object’s data structure automatically.

    Trigger the webhook.

  8. Verify if the test successfully determined the Object’s data structure and click Setup Webhook

    Verify if the test successfully determined the object's data structure.

  9. For the Action, select Action in an app.

    For the Action, select Action in an app.

  10. Select the Google Sheets app.

    Select the Google Sheets app.

  11. Select the Add Row action.

    Select the Add Row action.

  12. Connect the app to a Google account.

    Connect the app to a Google account.

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

    Select the desired Spreadsheet and Worksheet.

  14. Map the Sheet’s columns to data fields in the Object’s structure.

    Map the Sheet's columns.

  15. Click Save.

    Click Save.

  16. Navigate to Assets page, click the kebab Button and select Start to activate the recipe.

    Activate the recipe.

Capability:
Feature: