This repository contains companion code for the Flatfile Coding Tutorial, providing working examples that demonstrate how to build powerful data import listeners step by step.
This repository is designed to be used alongside the tutorial. The tutorial progressively walks you through building a complete listener, and this repository provides the corresponding code for each step.
Each folder represents a different stage in the tutorial:
101.01-first-listener/
- Learn the basics: space configuration and workbook setup101.02-adding-validation/
- Add data validation with real-time feedback101.03-adding-actions/
- Create interactive workflows with submit actions
- Basic JavaScript or TypeScript knowledge
- Node.js and npm installed (latest LTS version recommended)
- Follow the tutorial for step-by-step instructions
- Use the code in each folder as reference or as a starting point
- Each folder contains both TypeScript and JavaScript versions for your preference
Each example folder contains:
typescript/
- TypeScript source code with full type safetyjavascript/
- JavaScript version for those preferring vanilla JS
The tutorial teaches you to build a complete data import solution by:
- Starting simple - Basic space and workbook configuration
- Adding intelligence - Email validation and error handling
- Creating workflows - Submit actions and data processing
By the end, you'll have a production-ready listener that can handle real-world data import scenarios.