Graine AI

Lead sources

Bring leads in from your website, Google Ads, IndiaMART, JustDial and any app through Zapier, Make or Pabbly. Each lead lands in Leads by itself, matched to the one you already have.

Open Leads → Sources in the sidebar. A source is a place leads come from outside Graine. Each one has its own address — its URL — that the place sends leads to. Every lead it sends appears in Leads by itself, with the source on its timeline.

Only people who manage leads (leads.manage — Admins, by default) can see and change sources.

Adding a source

  1. Choose Add a source, pick the kind, and choose Next.
  2. Name it. Only your team sees the name — on the Sources page and on each lead it brings in.
  3. Your websites (a website form only): the sites the form is on.
  4. Fields: what each field the source sends is in Graine. See Fields.
  5. New leads from it: the stage they start in (your first stage unless you pick another), an owner, and tags.
  6. Choose Create source.

Its URL — and, for Google Ads, a key — appear now, with the steps to connect it.

Copy the URL now — you won't see it again

Graine doesn't keep the URL in a form it can show you again. The Sources page shows only its last four characters. If you lose it, choose Get a new URL on the source: the old URL stops working at once, so put the new one wherever the old one was.

Fields

Each line says what one field the source sends is in Graine: Name, Phone number, Email, Company, Tags, A note, Your ID for them (the ID the source gives the lead), Keep as a field (under a name you give it), or Don't keep.

  • A website form and a webhook start with the fields name, phone, email, company and message. Change them to the names your form or app sends. A webhook can read a field inside another with a dotted path, like lead.phone.
  • Google Ads, IndiaMART and JustDial send their own fields, and Graine reads them by itself. Add a line only to keep one of their fields differently.
  • Anything a source sends that has no line is kept on the lead as a field, under its own name.

What Graine does with each lead

  1. It finds the lead you already have — by phone number, then email, then the ID the source gave it — so nobody is added twice. A lead you already have is updated: what it lacks is filled in, nothing it holds is overwritten, and its stage and owner stay as they are.
  2. It reads the number: a number without a country code takes your workspace's country, as set in Lead settings.
  3. It notes consent: when the source sends a consent field that is yes, the lead records when, and from which source.
  4. It makes the first call, if you turned that on: with first touch on in Lead settings, Graine books a call to a new lead with a phone number a few minutes after it comes in, with the agent you chose.
  5. Your rules run — "a lead is added" from this kind of source.

Managing a source

Each source on the Sources page shows how many leads it has brought in, when the last one came, and whether it's on.

ChooseWhat happens
ChangeChange its name, fields, websites, and where new leads start. Its URL stays as it is.
Turn offIts URL takes no leads until you turn it on again.
Get a new URLA new URL (and Google Ads key), shown once. The old one stops working at once.
DeleteIts URL stops working. The leads it brought in stay.

Sending a lead to a URL yourself

A source's URL takes a POST with JSON, form fields or a multipart form, up to 64 KB. It answers 200 with {"ok": true} and never repeats back what was sent. An unknown URL, a source that's off, or a workspace without Leads answers 404.

curl -X POST '<your source URL>' \
  -H 'Content-Type: application/json' \
  -d '{"name":"Asha Rao","phone":"+919876543210","email":"asha@example.com"}'

Each source takes up to 120 leads a minute, and your workspace up to 600 a minute across all its sources.

On this page