Flows describe processes mapped out within HASH. These may be purely descriptive "idealized" representations of how some activity should be executed, defined in such a way that they can be executed by agents on your behalf, or used as a baseline for comparison to process executions observed in the real-world (for example, via process mining).
Once defined in an executable way, flows can be run predictably and reliably, allowing for the repeatable execution of specific actions.
This section covers what flows are made of, and the different ways they can be constructed and run.
These are our developer docs.
Looking for help using flows in HASH? Visit hash.ai/guide/flows →
Flows separate the template for a process from any individual execution of it:
flowRunId.When you start a flow through the API, you supply a definition and a trigger, and HASH returns the flowRunId of the resulting run so that you can track, cancel, or reset it later.
A flow is composed of steps. There are a few different kinds, each documented in full in the user guide:
It's also possible, with HASH support, to allow custom code to be inserted directly into "execution" steps, allowing you to develop your own custom actions that are executed directly within HASH, extending the range of capabilities available to flows. We'll expand this documentation when this functionality is made generally available.
Flows can be run in three ways:
Flows created in a user's personal web are only ever visible to that user. Flows created in shared webs are visible to that web's members.
The API enforces these same permissions: every flow run belongs to a webId, and callers can only start, read, or manage runs in webs they have access to.