Using Pabbly 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 Pabbly. Syncing your data in this way requires an Pabbly 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:
-
Sign in to Pabbly, navigate to the All Apps page, and click Pabbly Connect.
-
On the Dashboard page, click Create Workflow.
-
Enter a name and click Create.
-
For the Trigger, select the Webhook app.
-
Copy the generated webhook URL.
-
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.
-
Adding an Object entry to trigger the webhooko and then click Capture Response in Pabbly.
This allows the Webhook app to determine the Object’s data structure automatically.
-
For the Action, select the Google Sheets app.
-
In the Action Event dropdown menu, select Add New Row and click Connect.
-
Connect the desired Google account to the app and click Save.
-
Select the desired Spreadsheet and Sheet to sync with the Object.
-
Map the Sheet’s columns to data fields in the Object’s structure.
-
Click the Save & Send Test Request button and verify the test was successful.
If successful, the Workflow is activated and ready to use.