The CLI is part of the Ombra binary. The first argument flow switches the app to the command-line mode: it starts a core without a window, does not start Local API and uses the same data folder as the Ombra window.
The ombra flow command
A command can run while the Ombra window is open. It does not ask the window to start a task; it starts and stops only the browsers that its own runs launched. This makes the CLI usable on a server or in a script next to a desktop session.
The documented macOS path is /Applications/Ombra.app/Contents/MacOS/ombra. The examples below use that path. On Windows and Linux, run the Ombra binary from the folder where the manager is installed.
/Applications/Ombra.app/Contents/MacOS/ombra flow --helpCommands
| Command | What it does |
|---|---|
run | Runs a workflow on the selected profiles with optional parameters and a table. |
retry | Starts a new batch for an existing task. |
validate | Checks a workflow file and reports errors and warnings. |
list | Lists the saved workflows. |
import | Imports a workflow file into Ombra. |
export | Writes a workflow to a JSON file. |
A typical run passes a workflow file, a table and the distribution in one command:
/Applications/Ombra.app/Contents/MacOS/ombra flow run ./checkout.flow.json \
--data ./accounts.csv \
--distribution queue \
--threads 4 \
--missing-row skip \
--set region=eu \
--jsonFlags
| Flag | What it sets |
|---|---|
--profile id | A profile ID to run on. Repeat the flag for several profiles. |
--serial n | A profile number to run on. Repeat the flag for several profiles. |
--group name | Select profiles by group. |
--set name=value | A task parameter. Repeat the flag for several parameters. |
--data file | The table with input rows. |
--distribution queue|per_profile | A shared row queue or one pass per profile. |
--threads N | The number of profiles that run at the same time. |
--order | The order in which profiles are taken. |
--missing-row | What to do when a profile has no row: skip the job or take a random row. |
--name name | The task name shown in the run history. |
--json | Print the result as JSON on stdout. |
Exit codes
The command returns a code that a script can check. The code describes the whole batch, not one profile:
| Code | When |
|---|---|
0 | Every run is Done; validation found no errors; there was nothing to retry. |
1 | At least one run is Error, Cancelled or Skipped; validation found errors. |
2 | An argument, workflow, parameter, table or profile error stopped the command before the first browser started. |
3 | The Ombra core could not open or the browser engine is missing. |
130 | The command was interrupted by a signal. |
External services
The External services group adds operations that talk to a remote service. They use the network of the computer unless Proxy for services is set in Settings.
- OpenAI sends a prompt and returns text or an image file. The API key is set in the node.
- Google Sheet reads, writes or clears a range. A service account key is uploaded in Settings; a public sheet can be read without a key.
- Email reads a mailbox over IMAP with OAuth2 and extracts the newest matching message.
- 2Captcha sends a supported CAPTCHA to the external service with your API key and stores the result.