---
title: "Add a flow to a table"
method: POST
path: "/external/v1/table/{table_uuid}/add-flow"
tags: ["Table"]
---

# Add a flow to a table

`POST /external/v1/table/{table_uuid}/add-flow`

## Request

- Base URL: `https://api.databar.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.databar.ai/external/v1/table/{table_uuid}/add-flow`
- Auth: API key in header `x-apikey`

## Path parameters

- `table_uuid` string, uuid, required

## Request body

- AddFlowIn
  - `flow_id` string, required: Workspace Flow ID to attach (e.g. 'fl_a3k2p9m7').
  - `input_bindings` object: Maps flow input id → table column UUID.
  - `name` string, nullable: Display name for the result column (defaults to flow name).
  - `automation` AutomationIn
    - `launch_strategy` 'run_on_click' | 'run_on_update'
  - `condition` ConditionIn
    - `formula` string, required: CEL formula, e.g. '{{col_uuid}} != ""'.

## Response `200`

OK

- AddFlowOut
  - `id` integer, required
  - `flow_id` string, required
  - `flow_name` string, required
  - `result_column` string, nullable
  - `column_name` string, nullable

---

[API](https://skmtc.dev/databar/apis/external-api.md) - [All operations](https://skmtc.dev/databar/apis/external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/databar/apis/external-api/revisions/efe15f8bb9bb?raw)
