Send event
trigora send <execution-id> approvedtrigora send <execution-id> approved --payload '{"ok":true}'trigora send <execution-id> approved --remoteThis command targets trigora dev by default. Add --remote to target Trigora Cloud.
TypeScript
Section titled “TypeScript”await run.send("approved", { ok: true });await trigora.sendEvent(executionId, "approved", { ok: true });Python
Section titled “Python”run.send("approved", {"ok": True})Durable semantics
Section titled “Durable semantics”The event resolves the current waitForEvent / wait_for_event. The payload is the wait’s return value. Earlier effect outcomes stay committed. The Program continues after the wait.
Failure
Section titled “Failure”event_mismatch when the Execution is not waiting on that name. You can send again with the name it is actually waiting on. Sending does not restart the Program.