Skip to content

ezgh workflows callbacks complete

Complete a run's waiting callback.

Updated View as Markdown
ezgh workflows callbacks complete (<callback-url> | <run> <step>) --value json|@file|- [flags]

Complete a callback a workflow is waiting for (step.createCallback), with --value as the step’s output: a JSON value, @file.json, or - for stdin (at most 1 MiB).

Give the callback’s URL (https://workflows-api.&lt;domain&gt;/public/v1/callbacks/&lt;token>): its token is the only credential, so nothing else is sent with it, and it’s never printed. Or give the run’s ID and the callback step (its ID or name), which needs workflows.callbacks.complete and answers with the run.

The first completion wins: completing again with the same value is fine, with another value it’s refused (callback_completed), and after the callback timed out or the run ended it’s callback_expired.

Part of ezgh workflows callbacks.

Examples

ezgh workflows callbacks complete "$CALLBACK_URL" --value '{"approved": true}'
ezgh workflows callbacks complete 0199a3c2-… manager-approval --value '"rejected"'

Flags

Flag Type Default Description
--value string the callback’s value: a JSON value, @file, or - for stdin

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close