Wix Automations + PostgreSQL Integration
Connect Wix and Wix Studio forms to PostgreSQL, without Zapier.
Insert Wix form submissions as rows in a PostgreSQL database through a webhook, using a small API endpoint or a Make or n8n scenario.
How delivery works: FormWix sends each submission as JSON to a webhook URL you provide, such as an incoming webhook in PostgreSQL, a Google Apps Script web app, or a Make, Zapier or n8n scenario that writes to PostgreSQL. There is no one-click PostgreSQL sign-in yet.
Step-by-step guide: How to Connect Wix Forms to PostgreSQLWhen a visitor submits a Wix or Wix Studio form, FormWix validates the input and sends this JSON payload to the webhook URL you configure for PostgreSQL:
{
"event": "form.submission",
"formId": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b8c9a01",
"formName": "Contact form",
"submissionId": "9b2e4f7a-1c3d-4e5f-8a9b-0c1d2e3f4a5b",
"submittedAt": "2026-10-01T08:00:00.000Z",
"data": {
"name": "Alex Rivera",
"email": "alex@example.com",
"phone": "+1 555 234 5678",
"message": "Hi, I would like a quote."
},
"files": [],
"meta": {
"ip": "203.0.113.7",
"userAgent": "Mozilla/5.0",
"referrer": "https://example-agency.com/contact"
}
}Set Up Wix Automations to PostgreSQL in 3 Steps
Create a form endpoint in FormWix
Sign up free, create a form in your FormWix dashboard and copy its endpoint URL.
Send Wix form submissions to FormWix
In your Wix dashboard, open Automations and create a new automation. Choose the trigger "Form submitted" for your form, add the webhook action ("Send via webhook" or "Send HTTP request", depending on your editor), paste the FormWix URL and activate it. Wix Studio custom forms can use the Velo snippet below instead.
Point FormWix at PostgreSQL
In FormWix, open Integrations and paste a webhook URL that writes to PostgreSQL: an incoming webhook from PostgreSQL if it offers one, or a Make, Zapier, n8n or Google Apps Script webhook. Then click Send Test Payload.
What Teams Use PostgreSQL For
Common uses once your webhook writes into PostgreSQL. The mapping to PostgreSQL fields happens in the tool that receives the webhook.
Velo Snippet for Wix Studio Custom Forms
Copy this lightweight snippet into your Wix Studio page code to stream submissions natively without embedding external iframes:
import { fetch } from 'wix-fetch';
$w.onReady(function () {
$w('#submitButton').onClick(async () => {
// 1. Prepare form submission payload
const payload = {
formId: 'YOUR_FORM_ID', // Replace with your Form ID from FormWix Dashboard
data: {
email: $w('#emailInput').value,
name: $w('#nameInput').value,
notes: $w('#notesInput').value
}
};
// 2. Send to your FormWix endpoint
const res = await fetch('https://formwix.com/api/v1/submissions', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(payload)
});
if (res.ok) {
$w('#successState').expand();
$w('#formContainer').collapse();
}
});
});Related Wix & Wix Studio Connectors
Explore other high-performance integrations in Spreadsheets
Google Sheets
Append each Wix form submission as a new row in a Google Sheet, delivered through a Google Apps Script web app URL.
Airtable
Create an Airtable record for each Wix form submission, with fields matched by name, using your API key, base ID, and table name.
Supabase
Insert Wix form submissions as rows in a Supabase table through a webhook, using a Supabase Edge Function or a Make scenario.
Firebase
Write Wix form submissions to Firestore or Realtime Database through a webhook, using a Cloud Function or a Make or Zapier scenario.
BigQuery
Insert Wix form submissions as rows in a BigQuery table through a webhook, using a Cloud Function or a Make or Zapier scenario.
MySQL
Insert Wix form submissions as rows in a MySQL database through a webhook, using a small API endpoint or a Make or n8n scenario.
Ready to test PostgreSQL?
Start in our free developer sandbox. No credit card required.