Rules

Rule is a statement that guides the ingestion of incoming events from Publisher to Target. It prescribes the actions which should be taken when certain conditions are met for delivering the events. You can tailor the rule configurations, update matching criteria, and modify target actions as required to accommodate changing business needs.

Following are a couple of examples of rules:

  • In a Travel Bureau, whenever a trip is booked through their online platform, the event should be delivered to multiple target services, such as reservation management, customer service and support, and personalized recommendations. To achieve this, you can create a rule with no condition and multiple targets.

  • In a marketing software managing several campaigns and trade shows for a product with various features, each feature department needs to be notified of customer interactions regularly. To achieve this, you can create a rule with a condition to match a feature. The rule can then direct the events to the specific feature department through webhook.

Key Aspects

Event Sources

Event source refers to the publisher from where the configured event will be dispatched to Signals. Each rule can have only one publisher and one event associated with it.

Learn how to create a publisher

Filter

Rules deploy filters to find out the necessary events that need to be delivered to the target. These filters are based on event schema such as publisher, event details, or specific values within the event payload. This filtering capabilities of Signals assist you in precisely discovering the required events for triggering downstream processes in the target.

Dispatch Actions

Targets process the incoming events according to a few actions that involve data extraction and transformation of the event schema. They also implement an invocation policy that determines whether events have to be delivered instantly or should meet any condition to be delivered as a batch. These events further trigger a downstream process through different consumer types.

Refer to Target types and Dispatch Actions.

Multiple Target Association

Rules in Signals support multiple targets, allowing users to define multiple actions to be taken when any event matches the rule. This enables you to manage complex event routing and orchestration scenarios, where events may need to trigger multiple downstream processes in one or many targets.

Last Updated 2025-04-11 18:35:15 +0530 +0530