Skip to main content
Idempotency prevents retries from recording the same step more than once.

Idempotency Approaches

An execution grant supplies an invocation ID for its report, distinguishing separate permitted attempts. Outside that flow, use an explicit key when distinct operations have identical step names and context. Deduplication of reports does not make the external payment or tool call idempotent.

Best Practices

  • Use a stable business identifier, such as an order or payment ID, for retries.
  • Never reuse a key for a different operation.