Add a Cache Event Trigger

Use a cache event trigger to run a flow as soon as a given data object has a Create, Update, or Delete event.

1. In the flow builder, select Add Trigger. The Edit Trigger page opens.

2. In the Trigger type field, choose Cache Event.

3. In the Connector field, choose the connector that contains the cache event you want to use to define the trigger.

4. In the Trigger field, select the data object you want to use to define the trigger.

5. In the Subscribed Events field, choose the events to subscribe to for the selected trigger. The options are Create, Update, and Delete.

6. In the Event Origin field, choose the origins of the data to subscribe to for the selected trigger.

7. If you want to limit your flow runs by defining the specific trigger conditions, select Add Item in the Filter Expressions section to include a filter. This ensures that the flow runs only when relevant criteria are satisfied, reducing the number of costly flow runs. For example, if you only want to see information for a specific company, you would select the company_code for the Property Name and the corresponding value (1) for the Value. This is shown in Figure 1.

Figure 1

8. Select Save. The Edit Trigger page closes.

9. Select Save and Deploy to Staging, or select the arrow and Save Draft Version.

Next, you can continue setting up your flow by adding Flow Steps.

Was this helpful? Give us feedback.