Create or update the rows of HubDB if the custom object records of HubSpot are created or updated.
In this example, the custom object for the events has 5 properties: topic, details, date, speakers, location. The topic is the primary display property.
The table of HubDB should have the respective columns like the properties of the custom object.
Create a workflow to have a enrollment trigger for the custome object and set triggering worflow when topic is known OR details is known and so on. And add custome code action below this trigger. In this action the secret and the property to include in code including Record ID and those 5 properties should be set. Copy the custom-code.js in the code field. Remember to change the yourSecretValue and dbTableId values.
- Dynamic pages using HubDB as the data source
- Only want to exposure part of data for custom objects
- When it's better to use HubDB than custom objects