Layout Concepts
Every flow is divided into three sections: Pre, Middle, and Post. Understanding these sections is the key to building effective flows.
The 3 Sections
Pre Section — "Before the Data"
The Pre section runs once, before any data rows are processed. Think of it as your setup phase.
Common Pre Commands
- Open the target application (via command or click)
- Navigate to the correct screen or form
- Log in (type username, press Enter, type password, press Enter)
- Click "New Entry" or "Create Invoice" button
- Set any default values (date, reference number)
Pre Columns
Columns defined in the Pre section hold setup data that doesn't change per row. For example: a login date, a default party name, or a starting reference number.
Example
Middle Section — "The Data Entry Loop"
The Middle section is the heart of your flow. It runs once per row of extracted data. If you extracted 50 invoices, the Middle section runs 50 times — once for each invoice.
How It Works
- DashX reads the next row of data from the extracted table
- Each column value is available via the
TYPE COLUMN DATAcommand - Commands in the Middle section execute in order
- After all commands run, DashX moves to the next row and repeats
Middle Columns
These are the data fields that change per row — invoice numbers, dates, amounts, party names, item descriptions. Each Middle column maps to a column in your extracted data.
Example
Post Section — "After the Data"
The Post section runs once, after all Middle rows have been processed. Use it for cleanup.
Common Post Commands
- Save the current entry or batch
- Close the form or application
- Navigate back to the home screen
- Type a summary or final value
- Press a confirmation button
Post Columns
Columns defined in the Post section hold finalization data — summary values, total counts, or closing information that's only needed after all rows are done.
Columns — Your Data Fields
Columns are the data fields your flow reads from. They map directly to the columns extracted by the AI tool from your documents.
| Column Section | Purpose | When It's Read | Example |
|---|---|---|---|
| Pre Columns | Setup / configuration data | Once, before data processing | Login Date, Default Party |
| Middle Columns | Main data that changes per row | Once per row, during data entry | Invoice No, Date, Amount, Party |
| Post Columns | Finalization / summary data | Once, after all rows are processed | Total Count, Final Status |
Adding Columns
- In the Flow Editor, look at the left panel with Pre/Middle/Post column boxes
- Click the + button in the appropriate section
- Enter a column name — this should match the column name in your extracted data
- Repeat for all data fields
Items vs Commands
| Term | What It Is | Where |
|---|---|---|
| Column | A data field the flow reads from | Left panel (Pre/Middle/Post column lists) |
| Command | An action the flow performs (type, press, click) | Right panel (command palette) → dragged into center sections |
| Command Chip | A placed command in a section (with parameter and order) | Center panel (inside a section dropzone) |