Connectby Nevorai

Website snippet: connect any site with one line

Put a WhatsApp chat button on your website and turn every enquiry into a message, without a developer for most sites. Works on WordPress, Wix, Shopify, Webflow, Lovable, plain HTML, anything that lets you add a script.

Set it up (two steps)

  1. In Connect, open Connectors → Websites, type your site's address (like mysite.com) and tap Connect.
  2. Paste the one line Connect shows you just before the closing </body> tag, once, so it loads on every page:
<script src="https://connect.nevorai.com/w.js" data-site="nws_YOUR_SITE_ID" async></script>

Open your site once. The Websites screen turns green by itself ("We see mysite.com"), and the chat button appears in the corner of your site.

Not a developer? Tap Send to my developer or Copy AI prompt on the Websites screen: it copies a ready message with your exact line.

What it does

Your own form (custom code)

If your site has its own form (React, Next.js, anything), call this after a successful submit, only when the visitor agreed to get WhatsApp messages:

window.NevoraiConnect?.lead({ name, phone, consent: true, f: { city: "Indore" } });

f carries any extra answers (up to 30). The call returns a promise with { ok: true } or { ok: false, error }. There is also NevoraiConnect.open() and NevoraiConnect.close() for the panel.

To start a ready-made follow-up for something that happened (a sign-up, a payment left unpaid, a booking), use an event instead; the matching recipe must be turned on in Connect (Connectors → Recipes):

window.NevoraiConnect?.event("payment_pending", { name, phone, consent: true, f: { amount: "999" } });

See Events for the recipes and the other ways to send them.

No website? Share a link

Connectors → Websites → "I don't have a website" makes a page at connect.nevorai.com/join/<code> where anyone can leave their number (with a tick box). Put the link or its QR in an Instagram bio, a Linktree, a WhatsApp status or a poster. The person is saved, tagged and put into the follow-up you picked, exactly like a website enquiry.

From your server (payments, bookings)

The site's own server can send an enquiry to the website's private link (shown under For developers on the Websites screen), or send an approved template with an API key. See Connect API. Keep the link and the key on the server, never in the browser.

curl -X POST "https://connect.nevorai.com/api/hooks/nch_YOUR_PRIVATE_LINK" \
  -H "Content-Type: application/json" \
  -d '{ "phone": "919876543210", "name": "Ravi", "plan": "Gold" }'

How it stays safe

Good to know