STATEWIZE supports sending callbacks on certain events.

At the moment, the system supports the following callbacks:

Execution Complete / Aborted

When an execution is either complete or aborted, you can receive a callback informing you about this event. How to enable this callback? When you trigger a new execution via our SDK, you can provide a callbackUrl option. If provided, this URL will be called for that execution. How will the callback request body look like?

payload: JsonObject | null; // This field may have the last state's output
success: boolean; // Indicates whether the last executed state was successful
err?: JsonObject | null; // May include an error from the last state's execution