Dynamic Automations
Client Website & Inbound Lead CaptureScale Operations with Custom AI Automation
High-performance platforms, automated workflow engines, and conversational AI systems designed to convert leads into revenue.
NocoDB Database
Table: Contact Form Leads (Table Webhook Active)| # | T Name | โ Email | ๐ Phone Number | โฑ Contact Method | ๐ Business Notes |
|---|---|---|---|---|---|
| No records yet. Submit the contact form to trigger database insert. | |||||
n8n Automation Engine
Personal / Daily Puzzle (Published)Telegram Alert Feed
daily-puzzle-bot ยท Real-Time Sales Notification๐ Real-Time Webhook Payload & Node Inspector
Inspect the exact JSON payload emitted by the database's records.after.insert event trigger and transformed by n8n.
1. Inbound Database Webhook Payload (POST Body)
{
"event": "records.after.insert",
"table": "Contact Form Leads",
"timestamp": "2026-09-15T12:00:00.000Z",
"data": {
"id": 1,
"Name": "John Doe",
"Email": "johndoe@gmail.com",
"Phone Number": "1234567890",
"Contact Method": "Phone",
"Business Notes": "Database -> n8n webhook -> Send Message"
}
}
2. Telegram Node Transformed Message Payload
{
"chat_id": "YOUR_TELEGRAM_CHAT_ID",
"parse_mode": "Markdown",
"text": "You have a new lead!\n\nTable: Contact Form Leads\nName: John Doe\nPreferred Contact Method: Phone"
}
๐ Database Webhook Configuration Guide
Step-by-step documentation for setting up automatic database webhooks in NocoDB, Supabase, and PostgreSQL following the clue ("Visit the docs for using webhooks in your database platform").
Option A: NocoDB Table Webhooks (Challenge Replica)
- Open NocoDB and navigate to your table:
Contact Form Leads. - Click the table kebab menu (โฎ) โ Webhooks.
- Click New Webhook, name it
n8n Lead Alert Dispatcher. - Set Event to After Insert (
records.after.insert). - Paste your n8n Webhook Production URL:
https://your-n8n.app/webhook/contact-form-lead. - Set HTTP Method to POST and save. Every newly created record triggers n8n immediately!
Option B: Supabase Database Webhook & pg_net SQL Trigger
-- Supabase PostgreSQL Trigger via pg_net
create or replace function notify_n8n_on_lead_insert()
returns trigger language plpgsql security definer as $$
declare
payload jsonb;
begin
payload := jsonb_build_object(
'event', 'records.after.insert',
'table', 'Contact Form Leads',
'data', row_to_json(NEW)
);
perform net.http_post(
url := 'https://your-n8n.app/webhook/contact-form-lead',
body := payload,
headers := '{"Content-Type": "application/json"}'::jsonb
);
return NEW;
end;
$$;
create trigger trigger_lead_alert_webhook
after insert on public.contact_form_leads
for each row execute function notify_n8n_on_lead_insert();
8-Point Automated Diagnostic Suite
Verifies end-to-end data pipeline integrity, form validation, database insertion, and Telegram delivery.