Skip to content

nexacrm.

NexaCRM Documentation

The same product docs available in the dashboard—guides for setup, architecture, modules, and day-to-day use.

Channels · Website Forms
docs/channels/website-forms.md PDF Download all

Website Forms

Current (supported) path — website lead webhook

Independent of the Channels UI “Website Forms” provider. Server-to-server POST creates a tenant lead.

Configure

WEBSITE_LEAD_WEBHOOK_SECRET=long-random-secret
WEBSITE_LEAD_CREATED_BY_EMAIL=
WEBSITE_LEAD_RATE_LIMIT=10

WEBSITE_LEAD_CREATED_BY_EMAIL is optional. Leave it empty when this install has exactly one tenant with an active admin. Set it to that admin’s email when more than one tenant exists so inbound leads are not ambiguous. The value must match an existing active tenant user. It does not create an account, and it does not fall back to the empty Default Company shell.

Endpoint

POST /webhooks/leads/website

Middleware: website-lead-webhook + throttle website-leads. CSRF exempt.

Never put the webhook secret in browser JavaScript. Call from your backend only.

Demo UI

Users with website_lead.demo can open Administration → Website Lead Demo to exercise the flow.

vs Channels Generic Webhook

Website lead webhook Generic Webhook channel
Config .env secret Per-connection secret
Multi-tenant routing Implementation-specific / shared endpoint Per-company UUID URL
UI connection row No Yes under Channels

For new multi-tenant form backends, prefer Generic Webhook per company unless you standardize on the dedicated website endpoint.


Planned — Website Forms channel builder

Listed in config/channels.php as website_form but no channel adapter is registered yet.

Planned capabilities:

  • Form builder / embed snippets per tenant
  • First-class Channels connection + health
  • Unified event log with other providers

Until then, the provider is not listed in the Channels connect form. Use the dedicated website lead webhook above, or Generic Webhook.

Related