Developer & DevOps

Process Supabase events and trigger custom workflows

29 nodes 283 137 Webhook
Download

Workflow Description

An automation template that receives webhook requests from Supabase and processes them through conditional logic, code execution, and HTTP requests. It enables data handling, error management, and automated responses for development workflows, streamlining database-driven operations.

How it works

  1. 1.Receive webhook trigger from Supabase with incoming data
  2. 2.Apply conditional logic to route data to appropriate workflow paths
  3. 3.Execute custom code operations and send HTTP requests as needed
  4. 4.Send webhook response and log operation results
  5. 5.Handle errors and stop execution when necessary

Use cases

  • Sync Supabase data with external applications and APIs
  • Automate complex data processing pipelines on database events
  • Trigger deployment and DevOps workflows automatically
  • Send notifications and alerts based on database changes

Requirements

  • Active Supabase project with webhook configuration enabled
  • Basic understanding of JavaScript and n8n workflow environment
  • Knowledge of HTTP APIs and REST request methods

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Supabase

Details

Trigger Webhook
Nodes 29
Apps 1
Views 283
Downloads 137

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 (29)

/

Stop and Error

Stop And Error

#1

Sticky Note

Sticky Note

#2

Sticky Note1

Sticky Note

#3

Sticky Note2

Sticky Note

#4

Sticky Note3

Sticky Note

#5

Insert

Supabase

#6

Sticky Note4

Sticky Note

#7

Sticky Note5

Sticky Note

#8

Get Pipedrive Token

Supabase

#9

Get contact from Pipedrive

HTTP Request

#10

Access Token Invalid

If

#11

Success

Webhook

#12

Refresh Access Token

HTTP Request

#13

Sticky Note6

Sticky Note

#14

Sticky Note7

Sticky Note

#15

Sticky Note8

Sticky Note

#16

convert clientId and secret to base64

Code

#17

Generate Refresh Token from authcode

HTTP Request

#18

Look for the related record in Supabase

Supabase

#19

IF rec not found

If

#20

Update tokns in the record

Supabase

#21

Supabase- look for the record

Supabase

#22

combine client id and secret

Set

#23

Get Pipedrive acess token

HTTP Request

#24

IF success

If

#25

Update thr row with new access token

Supabase

#26

Webhook

Webhook

#27

Receive request

Webhook

#28

catch Auth code

Webhook

#29