Skip to content

Actions

actions/<name> or actions/<name>@<version>: an executable file, no extension, in any language its first line names.

It gets
environment variablesits values: the step’s data, then its args, then the run’s state; a state value over 64 KB is on stdin only
stdinthe run’s whole state, as JSON
$ITERO_MEMORYa file it may keep things in, one per workflow
$ITERO_WAITING_SINCEwhen it runs again after waiting
working folderthe workspace
PATHthe daemon’s own itero first
It gives
stdoutone JSON object, its fields joining the state (null removes one); or nothing
exit 0done
exit 75not yet: the run waits for a matching message, or the hourly retry
any other exitan error; the end of stderr says why

A step may take 10 minutes; a lost or timed-out step runs again, up to 3 times. Built in, unless the workspace has an action of the name: #notify (shows $text and $title), #forget and #roll-log. See Actions.