Marketing

Extract and Process Supabase Records with AI Intelligence

38 nodes 143 73 Automatic trigger
Download

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. 1.Trigger the workflow manually or automatically when Supabase records are created or updated
  2. 2.Retrieve rows from specified Supabase tables and feed them to an AI agent
  3. 3.Process text through ChatGPT to extract structured information and format content
  4. 4.Remove duplicate records and fields using deduplication logic
  5. 5.Filter results based on defined criteria and aggregate processed data
  6. 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

Tool OpenAI Output Parser Supabase Remove Duplicates AI Agent

Details

Trigger Automatic trigger
Nodes 38
Apps 6
Views 143
Downloads 73

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (38)

/

Text

Tool Workflow

#1

URLs

Tool Workflow

#2

OpenAI Chat Model

OpenAI

#3

JSON Parser

Output Parser Structured

#4

Map company name and website

Set

#5

Execute workflow

Manual Trigger

#6

Get companies

Supabase

#7

Select company name and website

Set

#8

Set social media array

Set

#9

Merge all data

Merge

#10

Insert new row

Supabase

#11

Convert HTML to Markdown

Markdown

#12

Sticky Note

Sticky Note

#13

Sticky Note1

Sticky Note

#14

Sticky Note2

Sticky Note

#15

Retrieve URLs

HTML Page

#16

Split out URLs

Split Out

#17

Remove duplicated

Remove Duplicates

#18

Set domain to path

Set

#19

Filter out invalid URLs

Filter

#20

Aggregate URLs

Aggregate

#21

Filter out empty hrefs

Filter

#22

Set domain (text)

Set

#23

Add protocool to domain (text)

Set

#24

Get website (text)

HTTP Request

#25

Set response (text)

Set

#26

Set domain (URL)

Set

#27

Get website (URL)

HTTP Request

#28

Set response (URL)

Set

#29

Sticky Note3

Sticky Note

#30

Sticky Note4

Sticky Note

#31

Sticky Note5

Sticky Note

#32

Sticky Note6

Sticky Note

#33

Sticky Note7

Sticky Note

#34

Add protocool to domain (URL)

Set

#35

Sticky Note8

Sticky Note

#36

Sticky Note9

Sticky Note

#37

Crawl website

Agent

#38