Pipeline Management
A pipeline is a named Bizon config plus an optional cron schedule, an enabled flag and tags. The platform stores the config encrypted in Postgres and runs it with bizon-core.
Create a pipeline
Section titled “Create a pipeline”In the UI, go to Pipelines → New. The form sets:
- the name;
- the source: a built-in source and stream, or a custom source and stream;
- the destination and its config (the form has fields for
bigquery,bigquery_streaming,fileandlogger); - the schedule, from presets or a custom cron expression;
- the
enabledtoggle and tags.
Through the API, send the whole config to POST /api/pipelines. See the Pipelines API.
Every create or update is validated: the cron expression must parse, transform code must pass the security check, and bizon-core must accept the config.
Tags group pipelines by team, source or environment. A pipeline can have several.
- In the UI, filter the list by tag or group it by tag.
- In the API,
GET /api/pipelines?tags=crm,productionreturns pipelines that have all the given tags, andGET /api/pipelines/tagslists every tag in use.
Duplicate
Section titled “Duplicate”Duplicate copies the config, schedule and tags into a new pipeline named <name> (copy). The copy starts disabled, so it doesn’t run on the original’s schedule until you enable it.
Sync other streams
Section titled “Sync other streams”Sync other streams creates a pipeline for each stream of the same source that doesn’t have one yet. Each new pipeline is named <name>-<stream> and keeps the original’s config, schedule, enabled flag and tags, with only source.stream changed. It works with both built-in and custom sources.
| Status | Meaning |
|---|---|
pending | Waiting for a worker |
running | A worker is running it |
success | Finished without errors |
failed | Exited with an error, or logged an ERROR line |
cancelled | Cancelled by a user |
- Run Now creates a
pendingrun. It is refused while the pipeline already has a pending or running run. Disabled pipelines can still be run manually. - Logs: click a run in the pipeline’s run history to open the logs modal. It polls while the run is active. The logs show up once the run has finished.
- Cancel: from the logs modal, or
POST /api/pipelines/runs/{run_id}/cancel. The worker stops the subprocess. - Download: the logs modal downloads the run’s logs as a text file. For pipelines with the
filedestination,GET /api/pipelines/runs/{run_id}/downloadreturns the data file the run produced.
Enable and disable
Section titled “Enable and disable”The toggle on the pipeline page sets enabled. Disabled pipelines are skipped by the scheduler. See Scheduling.
Secrets in configs
Section titled “Secrets in configs”Configs are encrypted at rest but returned in plain text by the API and the UI. To keep credentials out of stored configs, use bizon-core’s secret references such as env://HUBSPOT_TOKEN, if your installed bizon-core supports them. bizon-core resolves them when the API validates the config and again when the worker runs it, so the variable must be set on both the API and the worker.