The security model: classification, visibility and requirements
- Step 1 · Open your development environment
- Step 2 · Create a table for salaries
- Step 3 · Classify the data
- Step 4 · Create a workflow and say what a caller must bring
- Step 5 · Let the workflow read the table
- Step 6 · Create an API for HR
- Step 7 · Put the workflow behind an endpoint — without the permission
- Step 8 · Demand the permission on the endpoint
Flow does not secure per screen but per item: a table knows how sensitive its data is, a workflow says what a caller must bring, and an endpoint may only make security stricter. In this guide you create a table with personal data, a workflow that reads it, and you see an endpoint with too few rights being refused — and how to put it right.
Classify the data
Under Security you say how sensitive the data is. Salaries are personal data. From now on no endpoint, workflow or chat with a lower classification gets to see these rows: data never becomes less protected because someone reuses it.
Create a workflow and say what a caller must bring
A new workflow shows its settings on the right. Set it to Shared, so other modules may call it. Because it handles personal data, you demand the permission hr:read and the classification personal data from every caller. These demands travel along: whoever calls the workflow — an API, another workflow, an agent — must meet them.
Let the workflow read the table
Add a Table step, choose the salaries and connect the trigger to the step. Then save. On every run the step checks that the caller has at least the table's classification.
Put the workflow behind an endpoint — without the permission
An endpoint binds one method and path to one workflow. Choose the salary workflow and save, without extra permissions. Flow refuses: this endpoint would open the workflow to consumers who do not have hr:read.
Demand the permission on the endpoint
Fill in hr:read under Additional required scopes and save again. Now it works. The endpoint also takes over the workflow's classification: personal data never opens without signing in and a permission. The plain-language summary says this endpoint is stricter than the API.
This guide was carried out step by step on 22 Oct 2026 by an automated test on Flow (version 3e563176).


































