Request a demo
How it works

Deploying and running: from a saved workflow to a DAG on your scheduler

What happens when you press Deploy in InsightDataFlow: node logic is packaged, the DAG and its config (with the connection details it uses, passwords included) are uploaded to an Airflow location or S3, and the DAG can be triggered from the product.

November 9, 2026 · 6 min read · All articles

A pipeline is not finished when it looks right on the canvas. It has to reach the scheduler, find its code and its credentials there, run on time, and be visible to whoever is on call. InsightDataFlow keeps that path short and explicit: one Deploy action, with three steps you can reason about.

The workflow list

The Workflows list with three made-up workflows: depot_kpis_weekly (source DB, priority P3, schedule weekly), fuel_card_transactions (source API, P2, daily) and carrier_manifests_nightly (source FILEWATCHER, P1, nightly), each with catalog, category, load type, a designed badge, who modified it and row actions.
Three made-up workflows with their source, catalog, category, priority, schedule and load type. Row actions: edit, generated source, deploy, trigger, delete.

Every workflow carries operational metadata next to its design: the source kind (S3, database, API, file watcher, SharePoint, FTP, Confluence, Jira), a catalog and category, a priority from P1 to P4, a cron schedule and a load type (history, incremental or full). The list filters on source, priority and load type, which is how a platform team answers "show me every P1 incremental file load" in one step. The row actions are the life cycle: open in the designer, read the generated source, deploy, trigger and delete.

What Deploy does

The deploy dialog asks for one thing: the Airflow location, a data location registered in the product (it pre-selects one whose name mentions Airflow). Then:

  1. Node logic is packaged and uploaded. The implementations of the nodes are zipped into one package, packages/workflow_nodes.zip, and uploaded to the location, so the DAG's tasks have the code they build from.
  2. The files are generated: the DAG, config.yaml and properties.yaml. The DAG file carries no parameters; the data locations that nodes reference are resolved into a connections section of config.yaml.
  3. The files are uploaded to the location's DAG folder, or to S3 when the location cannot be used.

From there Airflow's own scheduler takes over: it parses the DAG folder, and the DAG runs on its cron schedule. You can also trigger it from the workflow list.

One active run at a time. Generated DAGs set max_active_runs=1 and catchup=False: a slow night does not pile up overlapping runs, and a newly deployed DAG does not backfill months of history. If you need a backfill, run it deliberately.

Where the files land

Location typeDAG files go toNode package goes to
LOCAL (a folder the scheduler reads)<folder>/<workflow name>/; older flat files for the same workflow in the folder root are removed<folder>/packages/
SFTPThe location's folder on the server<folder>/packages/
S3The location's bucket, under its folder prefix<prefix>/packages/
No location found by that nameThe upload bucket configured for the server, under <prefix>/<workflow name>/<prefix>/packages/

The last row deserves attention: a mistyped or deleted location does not stop a deploy. It sends the files to the server's default bucket instead. If a deploy "succeeds" but Airflow never shows the DAG, check the location name first.

One package for every DAG at a location

The node package contains the whole node library, not only the nodes one workflow uses, and it is written to the same path every time. Deploying any workflow therefore refreshes the node implementations for every generated DAG at that location. That is usually what you want (a fix to a node reaches every pipeline at once), but it means a deploy is never as local as it looks. Deploy to development first, and let a cycle of the other pipelines there run before promoting.

The deployed config holds connection details. Because config.yaml carries the resolved connections for the locations a workflow uses, host, user and password included, whoever can read the DAG folder or bucket can read them. Restrict access to it the way you would to a secret store.

Triggering

The Trigger action in the list starts a run through Airflow's REST API (the stable API, with a fallback to the older experimental endpoint), using the URL and credentials of the data location named AIRFLOW, or the server's configured Airflow URL when there is none. If the AIRFLOW location is of type LOCAL, it uses the Airflow command line on the same machine instead. Two things follow: the trigger goes to whichever Airflow that location describes, regardless of where you deployed; and a DAG that Airflow has not parsed yet cannot be triggered, so after a deploy wait for the scheduler to pick it up. A "DAG not found" error usually means exactly that.

Watching it run

Automation & Runs lists the Airflow DAGs (with status, tags, owner, last parsed time and schedule) and Tableau workbooks the product can see, with search and filters. Detailed run history and logs stay in Airflow itself; the Runs page links out to your operations console rather than copying Airflow's UI. In our local screenshots no Airflow was connected, so those lists were empty and are not shown.

Environments

Because deployment targets a named location, promoting a workflow is a matter of deploying the same design to a different location (a development Airflow, then production). The DAG and properties are the same; the location, and the credentials it resolves into the deployed config.yaml, are what change. Keep location names honest (airflow-dev, airflow-prod) so nobody deploys to the wrong one.

A deployment checklist

  1. Open Generated source and read the properties file. Every parameter you expect should be there, and no secret pasted into a parameter. Remember the deployed config.yaml will also carry the locations' credentials.
  2. Check the schedule in the list and in config.yaml. Cron is easy to get wrong by an hour.
  3. Deploy to a development location first; confirm Airflow parsed the DAG without import errors.
  4. Trigger once by hand and watch every task. Validation nodes should pass for the right reason.
  5. Deploy the same design to production and let the schedule run it.

Operational questions

Can we roll back a deploy?

Not from inside the product. Each generation overwrites the workflow's stored files, so there is no version history to restore. If you need rollbacks, copy the generated files after every reviewed change (the API also offers them as a zip) and keep them in version control; rolling back is then copying the previous files to the DAG folder, or reverting the design and deploying again.

Does deleting a workflow remove its DAG?

No. Delete removes the workflow from InsightDataFlow; the files already deployed stay where they are. Pause the DAG in Airflow and remove its folder there as a separate, deliberate step.

Who can deploy?

In the API, deploy and trigger require the admin role, as do creating and saving workflows. Keep that role to the people who are on the hook when a production DAG misbehaves.

Next: use case: a nightly load for a logistics company.

Draw one of your pipelines with us

Bring a pipeline you run today, hand-written or scheduled somewhere else. We will draw it in the designer, generate the DAG and walk through deploying it to your Airflow.

Request a demo