Sources checked: November 30, 2026
B2B Commerce Integration Failure Triage: Detection, Ownership, and Recovery
An integration incident can look healthy at one layer while failing at another. A request may reach an endpoint, a message may pass syntax checks, or a workflow run may finish while the corresponding order, inventory update, or account change is still missing or incomplete in the business system. This runbook follows a scoped exception from first signal to confirmed recovery, keeping those checkpoints separate.
For Educational and Informational Purposes Only
Commerce Systems Review is a free, vendor-neutral research library. This guide provides general technical and operational education. It does not provide tax, legal, accounting, security, or individualized operational advice. The steps, owner roles, and escalation examples are illustrative; teams should use current platform documentation and their own approved procedures.
Sources checked: November 30, 2026.
This is an incident-response guide for a failed or degraded integration path: webhook, API, EDI exchange, managed connector, queue, or scheduled transfer. It focuses on triage decisions and recovery evidence. The separate Commerce Data Synchronization Observability guide covers ongoing freshness objectives and cross-system monitoring; the integration reliability guide compares integration design approaches. Here, the question is: what is affected now, who owns the next action, and what proves that the business outcome recovered?
1. Establish the incident boundary
Begin with a concrete flow and time window. Record the source system, destination, integration or partner, business object type, environment, first observed symptom, and the last known-good checkpoint. Bound the affected records by stable identifiers, source versions, batches, or a partner-defined control range when available. Record which downstream workflows might depend on the affected data.
State what is known separately from what is suspected. A growing queue, timeout, or rejected document is an observed signal. “All orders are lost” is a scope claim that needs evidence. Identify the system owner who can confirm whether work should continue, be held, or be limited while the technical investigation proceeds; this guide does not prescribe that business decision.
Give the incident one shared reference and an incident coordinator. The coordinator maintains a timeline, next update point, owner for each action, and the decision record. Keep a scoped incident active even if one component returns to green: there may still be a record gap, a delayed retry, a removed subscription, or a partially applied transaction to reconcile.
2. Detect at three layers
Use transport, processing, and business-state signals together. A green signal at one layer is not evidence that later layers completed.
| Layer | Signals to inspect | What the signal establishes | What it does not establish by itself |
|---|---|---|---|
| Transport and delivery | Request or file attempt, endpoint response, timeout, retry count, delivery age, route or connection status | Whether a delivery attempt reached the exposed endpoint or transport boundary and what response it observed | That the payload was parsed, accepted by a business application, or applied to an order or other record |
| Technical processing | Workflow run/action status, parser or schema result, EDI functional acknowledgment, queue acceptance, dead-letter or failed-message count | Whether the configured technical step or validation reported success or failure | That a business owner accepted the content or the intended downstream state exists |
| Business outcome | Source and destination object IDs, business status, quantities or fields in scope, applied version, downstream record or transaction reference | Whether the intended record-level outcome can be observed in the system that owns it | That every related partner, line, location, or downstream consumer completed |
Set local warning and escalation thresholds for the signals the platform actually exposes: error rate, oldest pending item, retry exhaustion, growing failed-message count, missed processing window, repeated timeout, or missing destination record. Compare current values with the flow's normal behavior and business operating window. There is no single failure percentage or timeout that fits every connector and commerce workflow.
The product examples below show why the boundary matters. Shopify documents its webhook delivery logs, response codes, attempt details, and retry history; a 2xx response counts as a successful delivery attempt in that webhook context. X12 defines a 997 Functional Acknowledgment as reporting syntactical analysis and says it does not define the semantic meaning of encoded data. Neither signal alone confirms that an order or business decision completed. Likewise, a managed workflow's successful run or an accepted queue message should be followed to the destination-owned outcome.
3. Separate acknowledgment from completion
Write down the exact checkpoint represented by each status rather than translating every success label into “done.” A useful incident timeline may include:
- Created and sent: source object or event existed and the integration attempted delivery.
- Received at a boundary: endpoint, file gateway, or queue returned its transport-level response.
- Technically accepted: parser, schema, workflow, or EDI acknowledgment reports the result at its documented scope.
- Business decision made: the authorized destination process accepted, rejected, or routed the content for review.
- Business state applied: the destination record shows the intended change, with a record or transaction reference.
- Downstream handoff confirmed: a dependent system or workflow has the expected state, where the flow requires that additional confirmation.
These are conceptual checkpoints, not a universal protocol. Some systems combine them, omit an exposed stage, or report them under different names. Confirm the meaning and scope of each status in the current integration and partner documentation. For example, a Shopify webhook 2xx is a delivery result, and a 997 is a syntax-level acknowledgment; a separately configured application process may still reject, defer, or only partly apply the business transaction.
When an acknowledgment is missing or ambiguous, check its correlation reference, document or event scope, attempt, timestamp, and response before deciding what it implies. A group-level acknowledgment may not prove every record succeeded. A later business rejection can coexist with an earlier transport success. Keep each status in its own field in the incident record.
4. Preserve a reconstructable evidence trail
Capture enough information for another operator to reproduce the sequence without relying on memory or a chat summary. Use the fields the systems expose and the organization's approved records:
- Incident ID; integration, partner, source, destination, environment, route, or subscription identifiers.
- Stable business-object IDs and source version, document/control reference, event ID, correlation or trace reference, and destination ID if known.
- Event time, send time, receive time, processing time, and observation time, including time zone when provided.
- Attempt number, transport result, response code or acknowledgment, workflow/action status, parser or mapping version, and relevant error category.
- Last known-good point, expected outcome, actual destination state, records or lines confirmed complete, and records still unresolved.
- Named next owner, action, decision, and timestamp for every handoff; link to source-system evidence rather than replacing it with a summary.
Keep original and normalized references distinguishable. A transformed key, grouped acknowledgment, or later retry may otherwise hide which source record was involved. Record the exact payload or message version the destination received when that is available through the existing system of record; this runbook does not define data retention or access controls.
5. Assign ownership by the next decision
An integration incident often crosses technical and business ownership. Assign one accountable next owner for each open question, then name who can confirm completion.
| Role (illustrative) | Owns the question | Closure evidence to hand back |
|---|---|---|
| Integration or EDI operator | Did the route, delivery, transformation, or technical processing behave as configured? | Attempt and run references, response/acknowledgment scope, mapping or profile version, and technical result |
| Source-system owner | Was the intended source record created and correctly identified? | Source record, version, change timestamp, and correction or release reference |
| Destination or application owner | Was the content accepted and applied to the destination object? | Destination record ID, processing result, business status, and applied values or version |
| Business process owner | What is the impact and what disposition is authorized for unresolved or partial work? | A recorded decision, affected scope, approver or decision role, and review point |
| Incident coordinator | Are owners, timeline, scope, escalation, and closure criteria visible across teams? | Current action list, decision log, next update, and final evidence links |
One person can hold several roles, especially in a small team, but the handoff still needs to be explicit. Route a mapping defect to the integration owner, a missing or invalid source value to its source owner, and an unresolved business-state question to the process owner. If ownership is unclear, the coordinator assigns a temporary investigation owner and records who must make the final decision.
6. Classify before retrying
Classify the failure at its first actionable layer. The categories can overlap, so keep the observed symptom and suspected cause separate until confirmed.
| Class | Example signal | First useful check |
|---|---|---|
| Transient transport or dependency | Timeout, connection failure, rate limit, temporary service error | Is the documented retry window active, is delivery progressing, and did a prior attempt produce an uncertain outcome? |
| Persistent technical rejection | Invalid structure, unsupported version, parser or mapping error | Which exact document or field failed, and which contract or mapping version was active? |
| Backlog or degraded throughput | Oldest pending age increases, queue grows, processing slows across a subset | Is capacity or a dependency affecting one flow, partner, or all flows? Which records are past the locally chosen window? |
| Business rejection or incomplete application | Technical handoff succeeded but destination reports a business error, pending review, or partial result | What is the authoritative destination status and who may decide the next business action? |
| Duplicate, replay, or ordering conflict | Repeated delivery, repeated object, older update arrives after newer state | Which delivery ID and logical event/object does this represent, and what has already been applied? |
| Unknown completion | Caller timed out after a request that might have committed | Can the destination be queried by a stable key before another side effect is attempted? |
Microsoft's Azure Logic Apps documentation describes configurable retry behavior for actions and conditions for handling failed or skipped actions. AWS documents that Lambda retry behavior varies by invocation type; for asynchronous invocations, retries and dead-letter destinations are configurable, while queue or stream paths have their own behavior. These are product-specific examples. A retry policy, dead-letter queue, or successful workflow status is not a universal recovery plan for a commerce transaction.
7. Decide whether a retry is safe
Retry only after identifying what is being retried, what the last attempt may have done, and which system owns the outcome. Use the integration's documented retry policy and the partner or platform contract; do not substitute a generic delay or attempt count for those rules.
- Likely transient and no ambiguous side effect: follow the configured, bounded retry behavior and watch the attempt and backlog signals. Stop and reassess if the failure persists or the system reports exhaustion.
- Deterministic validation or business rejection: correct or disposition the cause with its owner before replay. Repeating unchanged invalid content generally reproduces the same exception.
- Unknown result after a timeout: query or reconcile the destination using stable object references before resubmitting a side-effecting command. Do not assume a timeout means the destination did nothing.
- Duplicate or out-of-order delivery: distinguish a delivery attempt ID from the logical event or business object. Check what has already been applied and whether the integration's documented deduplication or ordering rule covers this case.
- Partial batch or document: identify the exact successful and failed records. Retry only the supported failed scope if the connector and contract allow it; otherwise reconcile the whole bounded group with the responsible owner.
An idempotent operation can be repeated without creating an additional business effect under its documented key and scope. Do not assume that the presence of an event ID, a unique message number, or a 2xx response makes every downstream action idempotent. Shopify says duplicate webhook deliveries can occur and documents product-specific retry and delivery monitoring behavior. Stripe says webhook delivery can be retried, events are not guaranteed to arrive in order, and handlers should account for duplicate event delivery. Those are reasons to inspect the event/object identity and applied state before replaying; their exact handling details belong to each platform's documentation and to the consuming integration.
8. Escalate on defined thresholds, not guesswork
Use the flow's local service and business thresholds. Escalate when any defined trigger occurs, such as:
- An affected critical flow has crossed its locally approved time or age boundary.
- Retry attempts are exhausted, a subscription or route is reported removed, or failed messages are accumulating outside normal operations.
- The last known-good checkpoint is uncertain, an acknowledgment has a broader or narrower scope than the affected records, or the destination may have applied an unknown subset.
- The same defect recurs after a repair, the problem spreads across partners or flows, or a downstream process is acting on mixed or stale states.
- A business decision, partner contact, platform support case, or cross-team incident coordinator is needed to unblock recovery.
The escalation record should include the incident reference, current impact and bounded scope, evidence links, last action and result, unresolved decision, named next owner, and next update time. Vendor documentation can describe platform-specific limits—for example, Shopify's published webhook retry window and removal condition—but teams should not convert one vendor's behavior into a universal SLA.
9. Recover in a bounded scope and prove the outcome
Recovery begins after the likely cause and the affected range are understood well enough to choose a supported action. Follow this sequence:
- Record the last proven state. Mark which source records, attempts, acknowledgments, and destination outcomes are confirmed. Keep uncertain and partial work open.
- Agree the recovery boundary. Identify the specific records, versions, batch, time window, or partner scope. Name the owner who approves a business-affecting correction or replay.
- Choose the documented action. Depending on the path, this might be a bounded retry, a supported redrive from a failed-message queue, a corrected resubmission, or a source-to-destination reconciliation and backfill. The platform's documentation must support the operation; avoid an unscoped replay when a narrower action exists.
- Check for prior side effects. Before replaying, compare destination record IDs, versions, business state, and transaction references. Confirm how duplicates and out-of-order updates are handled for this flow.
- Validate at the destination. Confirm affected object identifiers, expected values or state, quantity/line scope when relevant, and the destination's own completion evidence. Recheck dependent consumers if they are part of the flow.
- Observe the normal path again. Confirm that new traffic is progressing and that the repaired records remain correct after the next ordinary event or scheduled cycle. Close only the records with evidence; keep any remaining subset assigned.
Reconciliation is necessary when transport logs alone cannot show which business records completed. Compare a bounded source manifest or set of expected IDs against destination results, then explain missing, duplicate, rejected, partial, and intentionally held records. For queue-based examples, AWS describes dead-letter queues as a place to isolate unsuccessfully processed messages for diagnosis and documents redrive as a separate operation. That product feature illustrates why a message appearing in a failed-message queue is a triage state, not proof that the business record is repaired.
10. Close with learning and a usable runbook
At closure, record the incident window, affected flow and records, confirmed cause or remaining uncertainty, recovery action, owner decisions, and evidence for the restored business outcome. Summarize which signal detected the issue, which signal was missing or misleading, how long the first actionable alert took, and whether the recovery steps were repeatable. Separate confirmed cause from a working hypothesis.
Turn the findings into a focused improvement: improve a signal or correlation reference, clarify a status meaning, add a missing owner or escalation path, test a retry boundary, or document how to reconcile a known partial outcome. Assign that action to an owner with a review date. Avoid changing retry or alert thresholds solely because one incident was noisy; examine the impact and flow behavior with the responsible operators.
Incident closure checklist
- Scope, last known-good checkpoint, and affected record set are recorded.
- Transport, technical, business, and downstream statuses are represented as separate evidence.
- Every unresolved exception has one next owner, next action, and escalation point.
- Retry or replay decisions account for prior attempts, uncertain commits, duplicate identity, and supported scope.
- Recovery is reconciled against destination-owned records and relevant downstream consumers.
- Closure evidence and remaining limitations are documented; follow-up learning has an owner.
First-party source register
The following first-party documentation pages and standard reference were opened and checked on November 30, 2026. Product behavior described above is bounded to the linked product or standard. Where the reviewed page did not display a publication or update date, the access date is recorded rather than inferred. The triage sequence, ownership roles, and escalation examples are editorial recommendations, not requirements from those vendors.
- Shopify — Troubleshoot webhooks — accessed November 30, 2026. Documents delivery metrics and logs, response status, attempt details, retry behavior, failure prioritization, and a Shopify-specific recovery path after downtime. Shopify states failed calls are retried up to eight times in a four-hour period and notes persistent failure can result in subscription removal. No publication/update date was displayed in the reviewed page.
- Stripe — Receive events in your webhook endpoint — accessed November 30, 2026. Documents webhook event delivery, live-mode retry behavior, duplicate events, and non-guaranteed event ordering. The page describes up to three days of automatic retries in live mode. No publication/update date was displayed in the reviewed page.
- X12 — 997 Functional Acknowledgment — accessed November 30, 2026. Defines the 997's syntax-analysis acknowledgment purpose and says it does not define semantic meaning. No publication/update date was displayed in the reviewed page.
- Microsoft Learn — Handle workflow errors and exceptions in Azure Logic Apps — accessed November 30, 2026. Covers workflow error handling and configured retry policies; settings and behavior depend on the Logic Apps trigger/action and workflow configuration. No publication/update date was displayed in the reviewed page.
- Microsoft Learn — Monitor workflows in Azure Logic Apps — accessed November 30, 2026. Documents workflow monitoring and run/action diagnostic evidence. No publication/update date was displayed in the reviewed page.
- AWS Lambda — Understanding retry behavior in Lambda event functions — accessed November 30, 2026. Describes invocation-type-specific retry behavior and the need to account for duplicate processing; this guide does not generalize Lambda behavior to other integration paths.
- Amazon SQS — Using dead-letter queues — accessed November 30, 2026. Documents isolating unsuccessfully processed messages for diagnosis and later redrive, including product-specific configuration considerations.
Editorial note
This runbook is general education for B2B commerce integration operations. It does not determine whether a transaction is accepted, direct a team's business disposition, prescribe a universal retry policy, or provide tax, legal, accounting, security, or individualized operational advice. Confirm the active contract, platform documentation, system-of-record behavior, and locally approved ownership and escalation procedures before acting.
Continue reading
Automation and integrations
Commerce Data Synchronization Observability: Freshness, Ownership, and Repair
Read guideAutomation and integrations
B2B EDI Purchase-Order Amendments During Fulfillment: Seller Responses and Safe Change Control
Read guideAutomation and integrations