π¬ Transform Excel data into AI-ready vectors with OpenAI and Supabase
β‘ 1,796 views Β· π¬ Document Extraction & Analysis
Description
Description
This workflow is a practical, βdirtyβ solution for real-world scenarios where frontline workers keep using Excel in their daily processes.
Instead of forcing change, we take their spreadsheets as-is, clean and normalize the data, generate embeddings, and store everything in Supabase.
The benefit: frontline staff continue with their familiar tools, while data analysts gain clean, structured, and vectorized data ready for analysis or RAG-style AI applications.
How it works
- Frontline workers continue with Excel β no disruption to their daily routines.
- Upload & trigger β The workflow runs when a new Excel sheet is ready.
- Read Excel rows β Data is pulled from the specified workbook and worksheet.
- Clean & normalize β HTML is stripped, Excel dates are fixed, and text fields are standardized.
- Batch & switch β Rows are split and routed into Question/Answer processing paths.
- Generate embeddings β Cleaned Questions and Answers are converted into vectors via OpenAI.
- Merge enriched records β Original business data is combined with embeddings.
- Write into Supabase β Data lands in a structured table (
excel_records) with vector and FTS indexes.
Why itβs βdirty but usefulβ
- No disruption β frontline workers donβt need to change how they work.
- Analyst-ready data β Supabase holds clean, queryable data for dashboards, reporting, or AI pipelines.
- Bridge between old and new β Excel remains the input, but the backend becomes modern and scalable.
- Incremental modernization β paves the way for future workflow upgrades without blocking current work.
Outcome
Frontline workers keep their Excel-based workflows, while data can immediately be structured, searchable, and vectorized in Supabase β enabling AI-powered search, reporting, and retrieval-augmented generation.
Required setup
Supabase account
- Create a project and enable the pgvector extension.
OpenAI API Key
- Required for generating embeddings (
text-embedding-3-small).
Microsoft Excel credentials
-
Needed to connect to your workbook and worksheet.
-
Need Help
π LinkedIn β Wessel Bulte
π Nodes Used
HTTP Request, Postgres, Microsoft Excel 365, Supabase
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File