Extract and Process Supabase Records with AI Intelligence
Workflow Description
Automation that retrieves records from Supabase databases, processes them through OpenAI for intelligent analysis, eliminates duplicates, and exports cleaned results in multiple formats. Ideal for data normalization and content enrichment workflows.
How it works
- 1.Trigger the workflow manually or automatically when Supabase records are created or updated
- 2.Retrieve rows from specified Supabase tables and feed them to an AI agent
- 3.Process text through ChatGPT to extract structured information and format content
- 4.Remove duplicate records and fields using deduplication logic
- 5.Filter results based on defined criteria and aggregate processed data
- 6.Output results to various formats (JSON, HTML, Markdown) or save back to Supabase
Use cases
- Automate customer database cleanup by identifying and removing duplicate contacts and entries
- Analyze sales notes and customer feedback to extract key insights and action items
- Generate automated marketing reports from stored Supabase records
- Process form submissions and email data, organizing them into structured formats
Requirements
- Active Supabase account with tables containing the data to be processed
- OpenAI API key for access to language processing models
- Read and write permissions on Supabase tables for retrieval and storage operations
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (38)
Text
Tool Workflow
URLs
Tool Workflow
OpenAI Chat Model
OpenAI
JSON Parser
Output Parser Structured
Map company name and website
Set
Execute workflow
Manual Trigger
Get companies
Supabase
Select company name and website
Set
Set social media array
Set
Merge all data
Merge
Insert new row
Supabase
Convert HTML to Markdown
Markdown
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Retrieve URLs
HTML Page
Split out URLs
Split Out
Remove duplicated
Remove Duplicates
Set domain to path
Set
Filter out invalid URLs
Filter
Aggregate URLs
Aggregate
Filter out empty hrefs
Filter
Set domain (text)
Set
Add protocool to domain (text)
Set
Get website (text)
HTTP Request
Set response (text)
Set
Set domain (URL)
Set
Get website (URL)
HTTP Request
Set response (URL)
Set
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Add protocool to domain (URL)
Set
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
Crawl website
Agent