Key concepts

3 min read

Five ideas explain almost everything in KoData.

1. Workspace

Everything lives in a workspace: tables, queries, dashboards, forms, workflows, connectors, agents, members and settings. Nothing crosses from one workspace to another. Each workspace has its own plan and its own time zone.

2. Entities and slugs

Each thing you create is an entity: a table, a query, a dashboard (project), a form, a workflow, a connector or an agent. Besides the display name, most of them have a slug: a short identifier in lowercase letters, numbers and _ (up to 20 characters; 40 for workflows). The slug is what you use in SQL and in variables.

  • Table Shipments → slug despachos → SELECT * FROM despachos.
  • Query Late shipments → slug atrasados → {{query.atrasados.cliente}} in a connector.

If you change a slug, KoData updates the references across the workspace (queries, workflows, dashboards, forms, connectors and agents).

3. Roles and per-entity access

Access has two layers:

  1. Workspace role: what you can do. There are four system roles:
Role What they can do
Owner Everything, including the plan, archiving the workspace and transferring ownership.
Admin Everything operational: members, roles, API, webhooks, and general AI settings and credits. Can see billing, but can't change the plan or the AI settings that affect costs, edit or archive the workspace, or transfer ownership.
Editor Creates and edits tables, queries, dashboards, forms, workflows and agents. Doesn't manage members.
Viewer Only sees what is shared with them. Counts as an external user of the plan.

From the Business plan you can create custom roles.

  1. Entity access: which things you can open. When you create a table, dashboard, form, workflow, connector or agent you pick who has access (Who can see it, Who can open it or Who can use it, depending on the type): Whole workspace, Only me or Chosen people. A new query is just for you; share it from its panel with More actions › Access. The workspace owner sees everything.

See Guide: invite your team and set permissions.

4. Variables {{ }}

Wherever you see a text field in queries, connectors, workflows, forms and dashboards you can type {{ to insert a value that KoData resolves on the server when it runs:

Variable What it brings Where
{{workspace.config_var.<slug>}} A configuration variable (for example a URL or a cut-off date). Queries, connectors, workflows, dashboards, forms, agents
{{current_user.name}}, .email, .role Who runs it. Queries, connectors, dashboards, forms
{{current_user.attributes.<key>}} A member attribute (region, warehouse…). Queries, connectors, dashboards
{{params.<name>}} A parameter passed by the caller (workflow block or test value). Queries and connectors
{{visitor.email}}, {{visitor.<field>}} The visitor who signed in to a dashboard link. Queries and dashboard texts
{{steps.<block>.<field>}}, {{trigger.input}} The output of an earlier block or what started the workflow. Workflows

Secret variables (passwords, tokens) can't be used in a query's SQL. If a variable doesn't exist, the run fails with a message that names it. See Variables that don't exist.

5. Plan and limits

The plan is per workspace: Free, Team, Business or Enterprise. It sets how many users, dashboards, forms, workflows and agents you can have, how many runs and rows per day or per month, storage and AI credits. Some features belong to higher plans: API and webhooks, configuration variables (Team); embedding in websites, audit logs and custom roles (Business); SSO (Enterprise).

Everything monthly is counted per billing cycle; daily limits reset at midnight in the workspace time zone. You see your usage in Dashboard › Plan usage and in Settings › Plans & Billing. See Plans and billing.

Beta

Workflows and Agents are marked Beta: they work, but they may change.