How to Connect Respond io Webhooks to Supabase to Store & Display Chat history
What I’m Trying to Do
I want to stream messages from Respond.io into Supabase so I can store the chat history and later display it inside my Airtable based on category.
Respond.io supports sending messages through Webhooks, but I’m not sure how to properly validate/receive these webhook events and insert the data into Supabase.
Also, can I use just API key to connect this two. I'm so sorry I this new to this.
---
What’s Going Wrong
I’m confused about:
-how to correctly set up the webhook endpoint (Supabase Edge Functions or external server?)
-how to validate Respond.io webhook requests
-how to format/insert the incoming message payload into Supabase tables
-how to handle reply messages coming from Supabase back to Respond.io (optional)
I currently don’t see any messages appear in Supabase, so I suspect my endpoint or validation setup is wrong.
---
Environment Details
Platform: Web
Backend: Supabase Edge Functions
Respond.io: Webhooks (Message Inbound Events)
OS: Windows 10
Goal: Save chat messages into a messages table (sender, message, timestamp, channel)
---
Relevant Context
I want this setup:
Respond.io → webhook → Supabase Edge Function → insert into DB
Later, my frontend will query Supabase to display the full message history.
I want to stream messages from Respond.io into Supabase so I can store the chat history and later display it inside my Airtable based on category.
Respond.io supports sending messages through Webhooks, but I’m not sure how to properly validate/receive these webhook events and insert the data into Supabase.
Also, can I use just API key to connect this two. I'm so sorry I this new to this.
---
What’s Going Wrong
I’m confused about:
-how to correctly set up the webhook endpoint (Supabase Edge Functions or external server?)
-how to validate Respond.io webhook requests
-how to format/insert the incoming message payload into Supabase tables
-how to handle reply messages coming from Supabase back to Respond.io (optional)
I currently don’t see any messages appear in Supabase, so I suspect my endpoint or validation setup is wrong.
---
Environment Details
Platform: Web
Backend: Supabase Edge Functions
Respond.io: Webhooks (Message Inbound Events)
OS: Windows 10
Goal: Save chat messages into a messages table (sender, message, timestamp, channel)
---
Relevant Context
I want this setup:
Respond.io → webhook → Supabase Edge Function → insert into DB
Later, my frontend will query Supabase to display the full message history.