Choose the engine for the job
ResponseCX and Workstream are different management surfaces. An agent created in Response is
not automatically an active-horizon workflow agent, and a local commerce database is not
automatically connected to your hosted brand.
What you can build with the commerce engine
The linked examples execute against@stateset/embedded 1.35.1, the Node binding to the
native engine. Their results establish the behavior described here; other bindings and
versions may expose different methods.
A completed record is evidence about that record. For example, receiving goods does not make
inventory sellable unless the stock-posting process also completed. Preserve related IDs and
verify each outcome when combining these operations.
Your first commerce task through MCP
Run Your First Operation to create a persistent local database and its MCP configuration. Then ask your assistant to read the generated order ID and stock SKU. The guide supplies actual identifiers, so the assistant can compare tool results with your independent inspection program. The iCommerce MCP server uses that database. It does not gain access to Shopify, Response, or Workstream merely because those services also expose MCP. Configure the source of truth and integration explicitly before using it for real operations. For native Rust integration and other bindings, use the embedded engine guide and binding reference. Check the chosen binding’s actual surface before translating a Node example into Rust or another language.What you can build with the workflow engine
The Rust workflow engine separates orchestration from activities that call external services. It provides an API, a control plane for brands/configuration/connectors, and workers that execute workflows through Temporal. A customer-support workflow can fetch a ticket, evaluate routing and escalation rules, gather context, generate a response, wait for configured review, and dispatch through a provider. The source also includes workflow families for returns, warranties, subscription retention, payment recovery, support follow-up, delivery exceptions, and connector work. Inspect each family’s contract and deployment prerequisites; they do not all share one request schema. Start with the workflow API walkthrough or the workflow reference, then use the matching endpoint reference for the operation you select.Durable execution is not a guarantee that an external action happens exactly once.
An activity can be retried after an uncertain response. Provider idempotency, stable request
identities, and reconciliation still matter for messages, orders, refunds, and other effects.
Long-running agents
Workstream’sstart_agent tool starts an active-horizon agent backed by Temporal and an
isolated sandbox. It returns a workflow ID that can be inspected after the initiating assistant
conversation closes. get_agent_status reports progress, evidence, budgets, and approval needs.
Supply the required task, duration, turn/failure, sandbox, and budget bounds using the current
start schema. Do not equate a durable agent with unlimited execution or permission to take
any action. See active-horizon agents.
Scheduled operations
list_scheduled_jobs inspects a brand’s schedules, and create_scheduled_job configures a
supported recurring workflow. A schedule is a future source of runs, so review its target,
frequency, timezone, scope, and possible customer effects before enabling it. Inspect the
actual runs and outcomes after scheduling; schedule creation alone proves no work completed.
Use MCP to inspect, operate, and improve
These are starting points, not a fixed catalogue. Credentials, scopes, profiles, and deployment
versions determine the tools your connection exposes. Use
tools/list, inspect input schemas,
and verify results in the same tenant and data source.
Combine the systems around one business task
For an order-status request, a possible integration is:- Response or a helpdesk webhook captures the question.
- The workflow obtains the order identity and reads the authoritative commerce system.
- A model drafts an answer using the actual order/tracking result and approved policy.
- The configured review process approves or escalates the draft.
- The channel integration dispatches the reply and records its outcome.
Next steps
- Operate a durable agent: launch an approved task, inspect progress, and control its execution.
- Platform onboarding: sign up and reach your first useful answer.
- MCP server directory: choose the connection for the task.
- Your first week: review live outcomes and measure improvement.