Skip to content

Automation ​

The Automation section (/automation) — commands on your machines, flows built from those commands, and a calendar. Tabs: Requests, Commands, Flows, Instances, Calendar. The tab appears only when the service is running and you have permission.

The machine that actually executes a command is a runner. It is installed on a host with the ush utility. This is not a web terminal: the terminal connects separately, see the ush connect CLI page.

Commands ​

/automation/commands. A catalog of what can be run: shell, SQL, HTTP, Docker, code, xlsx / docx / pdf generation.

  • Commands live in collections. A collection can be shared.
  • The editor sets tags. A runner picks up a command only when its tags match.
  • A command asks a person for parameters before the run: an input field or a list.
  • Secrets are never written into the command text: they are substituted from the environment store (Settings → Env Manager).
  • The approval flag blocks a command from starting until it is approved.

Running. A job is created. Statuses: pending, running, waiting for approval, completed, error, stopped. Logs stream into the card as the job progresses. A job can be stopped. Files produced by the command go to storage and are downloaded from the card.

Requests (/automation/commands/requests) — draft commands awaiting review. They are approved, rejected or withdrawn.

Runners of this installation are visible in Settings → Info: online or not, paused. A runner card shows tags and how many jobs it takes concurrently.

Flows ​

/automation/flows. A flow is a diagram made of blocks. The list is filtered by author and access. The platform administrator sees all flows; everyone else sees their own and the ones shared with them.

The editor (/automation/flows/editor) is a canvas. Blocks are dragged from the palette:

  • entry: start, button, event, form, HTTP request;
  • logic: condition, branching, wait, retry;
  • platform: create or update a task, note, table (Data Tables or Data Catalog, if the service is connected), send a notification, run a nested flow;
  • command: run from the command catalog;
  • AI: model response, knowledge base search and writing;
  • exit: HTTP or email.

Validate runs the diagram without creating an instance. Run creates an instance: its status and node logs are on the Instances tab. An instance can be idle, queued, running, waiting, completed, failed, cancelled. A wait can be resumed once the condition is met.

The editor has a dependency schema: which commands, environments and nested flows this flow uses. It can be exported to Mermaid.

A foreign flow is run by whoever was granted access. Editing the diagram is for the flow administrator.

Calendar ​

/automation/scheduler. Calendars are personal, shared with invitees, or public within the platform. An event: interval or all-day, location, recurrence by rule.

A service event runs a command on schedule. Synchronization with Google, Outlook and Yandex Calendar is not finished in the UI yet: events live inside Unishift.