Real‑time Data Exchange in Znode (Multi‑Step, Event‑Based, and Callback‑Based Integrations)

Overview

The Commerce Connector with real‑time, multi‑step data exchange capabilities enables organizations to build flexible, event‑driven, and callback‑based integrations with external systems such as ERPs, pricing engines, inventory systems, and file‑based platforms.


This feature includes:

  • Multi‑step integration pipelines
  • Real‑time event triggering
  • Real‑time storefront callbacks
  • HTTP‑based execution framework
  • Backward compatibility with existing scheduled exchanges

These capabilities allow Znode to automatically react to business events, retrieve live data during storefront requests, and orchestrate complex workflows across APIs, SFTP, and Blob Storage.


Key Features

Multi‑Step Data Exchanges

Data Exchanges support unlimited sequential steps.

Capabilities

  • Add unlimited integration steps
  • Execute steps sequentially
  • Configure an independent mapper per step
  • Reuse data from previous steps
  • Apply transformations only where required
  • Reference prior step outputs using step prefixes

Example

Step1.Account.Name

Step2.SalesOrderNumber

Supported Transmission Modes

ModeUsage
APIReal‑time and lightweight integrations
SFTPLegacy ERP file‑based integrations
Blob StorageLarge file exchanges
Import HandlerBulk Znode imports

Trigger Execution Framework (HTTP)

  • A new Trigger Execution (HTTP) section is available in Manage Data Exchange.
  • Trigger Execution must be enabled for all multi‑step exchanges.
  • Supported trigger types:
    • Znode Event (Push Model)
    • Znode Callback (Pull Model)


Real‑Time Execution Models

Znode Event – Push‑Based Execution

Automatically executes a Data Exchange when a configured Znode system event occurs.

Supported Event Modules

  • Account
  • Order
  • Product
  • Category
  • Price
  • Inventory
  • Catalog
  • Portal

Typical Events

  • Account Updated
  • Order Created
  • Product Changed

Example Use Case

Account Updated → Fetch Account Details → Transform Data → Send to ERP or SFTP

Znode Callback – Pull‑Based Execution

Retrieves live pricing or inventory data from external systems during storefront requests.

Supported Callback Types

  • Real‑time Pricing
  • Real‑time Inventory

Supported Storefront Scenarios

  • Real‑time pricing on Product Detail Page (PDP)
  • Real‑time inventory availability

Callback Behaviour

  1. Shopper initiates storefront request
  2. Znode triggers callback
  3. Commerce Connector calls external API
  4. Response is transformed using Global Mapper
  5. Live data is returned to the storefront

Required Global Mapper Fields

  • Sales Price
  • Retail Price
  • SKU
  • Line-Item ID

When to Use Event‑Based vs API‑Based Execution

CriteriaEvent‑BasedAPI‑Based
When to UseWhen event exists in ZnodeWhen event does not exist
TriggerAutomatic system eventManual API invocation
DependencyZnode eventsExternal system
ControlLimitedHigh
Use CasesOrder Created, RegistrationCustom workflows


Configuration: Event‑Based Real‑time Execution

Prerequisites

  • Administrator access
  • Commerce Connector enabled
  • Events configured
  • External APIs reachable

Steps

  1. Navigate to Commerce Connector
  2. Create Data Exchange
  3. Enable Trigger Execution
  4. Select Event
  5. View Event Payload
  6. Understand Step 0 (read‑only event payload)
  7. Configure Return Payload option
  8. Configure Processing Steps
  9. Configure API Request
  10. Map Data Between Steps

Step2.SalesOrderName : Step0.Payload.EventDataCode


Workflow

  1. Znode event occurs
  2. Trigger validation executes
  3. Data exchange starts
  4. Steps execute sequentially
  5. Data is transformed
  6. Operations execute
  7. Status logged


Callback Configuration

  1. Enable Znode Callback trigger
  2. Select action (e.g. Real‑Time Inventory)
  3. Configure ERP steps

Global Mapper

Executes after all steps and formats final response.

Must use next step prefix.

Step2.QuantityAvailable : Step1.InventoryQuantity

Step2.SKU : Step1.ProductSKU


Execution Flow Summary

  1. Shopper opens PDP
  2. Callback triggered
  3. Steps execute
  4. ERP called
  5. Global mapper formats data
  6. Live data returned


Best Practices

  • Enable callbacks
  • Disable legacy integrations
  • Keep APIs fast
  • Use caching


Use Cases

Real‑Time Order Creation

  • Trigger: Order Created
  • Steps process header and lines
  • ERP API called

Real‑Time Pricing

  • Trigger: PDP load
  • API call returns price

Account Updates

  • Trigger: Account Updated
  • Syncs with ERP

Multi‑Step Enrichment

  • Tax API
  • Shipping API
  • Data combined


Backward Compatibility

  • Existing schedulers continue
  • No migration required


Limitations

  • No advanced monitoring
  • No retry UI
  • No custom processors


Performance Recommendations

  • Response < 2 seconds
  • Payload < 1 MB
  • ERP latency < 500 ms


Summary

Znode’s real‑time, multi‑step data exchange framework enables event‑driven automation, live data retrieval, and scalable integrations while maintaining backward compatibility.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.