SpreadsheetsVia webhook Encrypted at Rest

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 PostgreSQL
Submission Payload Specification
POST /v1/submissions • 200 OK

When 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

01

Create a form endpoint in FormWix

Sign up free, create a form in your FormWix dashboard and copy its endpoint URL.

02

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.

03

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.

Direct insertSSL support

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

View all 100+

Ready to test PostgreSQL?

Start in our free developer sandbox. No credit card required.

Launch Sandbox