You'll run your next platform for a decade. 12 criteria to choose it well.
Get your copy
Virtocommerce
Home Integrations Event Bus x Virto Commerce

Event Bus x Virto Commerce

Enterprise commerce environments often need more than direct HTTP webhook delivery. When event driven processes span multiple systems, require reliable message queuing, or need to trigger complex automation workflows, Virto’s Event Bus module connects commerce events to the message queue infrastructure of your choice — Azure Event Grid being the primary documented integration.

Event Bus in Virto

Virto Commerce’s Event Bus module enables commerce events and changes to be published to a message queue, triggering asynchronous background processes in response to platform activity. It uses a publish-subscribe model where publishers emit events without knowing which subscribers will handle them, and subscribers decide which events they want to act on.

The module supports configurable event filtering using JsonPath expressions and payload preprocessing using Scriban templates, so events can be shaped for the specific requirements of the destination system before they are delivered.

What Event Bus Covers

Publish-subscribe event routing — Commerce events from any installed Virto module can be published to a message queue, where downstream systems or automation workflows subscribe to the events they need to handle, without point-to-point coupling between Virto and each consuming system.

Azure Event Grid integration — The module is designed to work with Azure Event Grid as the message queue, enabling commerce events to trigger Azure Automation, Logic Apps, and other Azure services. This allows complex automation workflows to be built around Virto events without writing custom integration code inside the commerce platform.

Configurable event filtering and payload shaping — Events can be filtered using JsonPath expressions so only relevant events reach the destination, and payloads can be preprocessed using Scriban templates to match the format the receiving system expects.

API and configuration based setup — The Event Bus module can be configured through API calls or through application configuration files, giving both technical teams and automated deployment pipelines a path to set up and manage event routing.

Implementation Approach

Virto Commerce integrates with enterprise systems through a combination of APIs, middleware, and integration accelerators — designed to reduce implementation effort while preserving the flexibility that enterprise-specific workflows require.

Key considerations: which message queue or event grid infrastructure is already in place, which Virto commerce events need to trigger downstream processes, what filtering and payload shaping the destination system requires, and whether event bus or webhooks is the right mechanism for a given integration scenario.

Use Cases

Triggering Azure automation when orders are created

When a new order is placed in Virto, downstream automation may need to run compliance checks, metadata tagging, status updates, email notifications. Publishing the order created event to Azure Event Grid allows Azure Automation or Logic Apps to handle those downstream processes without custom code inside Virto.

THE RESULT

Order workflows trigger automation across connected Azure services without adding business logic to Virto’s commerce layer.

GUIDE

Event Bus documentation