Workbooks
Database-like containers with type-strict Blueprints for data import
What are Workbooks?
Workbooks are analogous to a database, and like a database, they are configured with a type-strict Blueprint. A Workbook replaces the spreadsheet template you may share with your users today when requesting data during the data collection phase of customer onboarding or other file-based data exchange processes.
Unlike a spreadsheet, Workbooks are designed to allow your team and users to validate, correct, and import data with real-time feedback.
With Workbooks, you can:
- Accept data from many file types beyond CSVs (and you can write your own file extractors if you can’t find a Plugin)
- Automatically apply any validation rules a developer has previously defined
- Provide end users the ability to add, remove, review, filter, and correct any data imported into a Workbook. For advanced filtering techniques, see our Advanced Filters guide
- Define Actions that can trigger any arbitrary code/function, like submitting the reviewed data to a destination API, database, or a workflow step of your choosing
Basic Blueprint Structure
- A Space has one Blueprint
- A Blueprint may contain the configuration for many Workbooks and many Documents
- A Workbook may contain many Sheets and many Workbook-level Actions
- A Sheet may contain many Fields and many Sheet-level Actions
Example Workbook Configuration
The following examples demonstrate the configuration of isolated Workbooks, which are intended to be used in the context of a Blueprint configuration.
Single-Sheet Workbook Configuration
This example configures a single Workbook with a single Sheet containing two Fields.
Multi-Sheet Workbook Configuration
This example configures a Workbook with three Sheets containing several Fields each.
Actions and Workflows
This example configures a Workbook with three Actions that can be used to validate and enrich the data in the workbook.
A note about Actions: Actions also require a listener to respond to the event published by clicking on them. For more, see Using Actions
Workbook Metadata
For comprehensive metadata usage patterns, see our metadata guide.
Add contextual information:
Related Concepts
Workbooks work together with several other core concepts in Flatfile:
- Blueprints - Define the structure and validation rules for workbook data
- Fields - Individual column definitions within schemas
- Records - Individual data rows that populate workbooks
- Spaces - Environments that contain workbooks and manage user access
- Actions - Custom buttons and workflows that operate on workbook data
- Listeners - Event handlers that respond to workbook activities
- Jobs - Background tasks that process workbook data