Rules
What Graine does with your leads by itself — when something happens to a lead, if it matches, then do this. Describe a rule in your own words, check the draft, and turn it on.
Open Leads → Rules in the sidebar. A rule does the routine work on your leads for you: give new ones an owner, tag them, move them along, or call them a few minutes after they come in.
Every rule has three parts:
| Part | What it is |
|---|---|
| When | What starts it: a lead is added, a conversation ends, a lead moves stage, or a lead goes quiet. |
| If | Which leads it's for: all or any of up to 10 conditions. With none, it's every lead. |
| Then | What Graine does, in order: up to 8 actions. |
Everyone who can see leads can see your rules and what each one did. Adding,
changing, turning on and deleting a rule needs leads.manage — Admins, unless a
custom role gives it to someone else. See Team roles.
Describe a rule in words
Choose Describe a rule and say what should happen, in a sentence or two:
When a lead comes in from our website form, call them with our sales agent 2 minutes later.
Choose Draft the rule. Graine fills in the When, If and Then for you, and lists what it had to assume — which of your agents "our sales agent" is, say. Read each part, change what isn't right, and save. Nothing is saved, and nothing runs, until you do.
You can also build a rule yourself with New rule, or describe it again on a rule you're editing — the draft then replaces what's in the editor.
When
| When | Options |
|---|---|
| A lead is added | Only leads from some places — a conversation, a website form, an ad lead form, a webhook, IndiaMART or JustDial, the API, an import, added by hand, a campaign. Pick none for leads from anywhere. |
| A conversation ends | Any conversation, only one that got through, or only one that didn't. |
| A lead moves stage | Into any stage, or into the one you pick. A move by a person, by a rule or by the AI counts. |
| A lead goes quiet | No contact for the gone-quiet days set in Lead settings. A lead counts as gone quiet at most three times. |
A rule runs on what happens after it's turned on — not on leads you already have — and never on a change another rule made, so one rule can never set off another.
If
Each condition checks one thing about the lead:
| Check | Compared as |
|---|---|
| Came from | is, is not, is any of, is none of |
| Stage | is, is not, is any of, is none of |
| Tags | include, include any of, include none of, are empty, are not empty |
| Score | is at least, is at most — from 0 to 100 |
| Interest | hot, warm, cold or no interest |
| Fit | strong, some, weak or not known yet |
| Risk | none, low or high |
| Owner | is, is not, is someone, is nobody |
| Value | is at least, is at most, is set, isn't set |
| Has a phone number, Has an email | yes or no |
| Talked to agent | is, is not, is any of, is none of |
| Your own fields | as the field is: text, a number, yes or no, a date, or one of its choices |
With two or more conditions, choose whether all of them must be true or any of them.
Then
| Action | What it does |
|---|---|
| Assign an owner | To one person; to people you pick, taking turns (each new lead goes to the next one, in your order); or by a field's value — leads from Pune to one person, Mumbai to another — with everyone else to someone you choose. A person who has left the workspace is skipped, and the lead goes to the one you named for that. |
| Add tags | Adds tags. The lead keeps the tags it has. |
| Move to a stage | Moves the lead to the stage you pick. |
| Create a task | A task for the lead's owner or a person you pick, due right away or up to 30 days later. |
| Notify people in Graine | A message in the inbox of the lead's owner or the people you pick, with a link to the lead. |
| Call with an agent | Books a call with the agent you pick, right away or up to a day later. |
| Start an outreach workflow | Starts a published workflow with the lead as its contact: their name, number, email and fields. |
A rule assigns an owner once, moves a lead once and books one call.
Rules that call
Before every call a rule books, Graine checks what it checks for any call: your credits, that the agent is on, your do-not-call list and your calling hours — a call due outside them waits for them. It skips a lead that has no phone number, is won or lost, or is marked do not call, and a lead that already has the most calls Graine books by itself.
Save, turn on, turn off
- Save draft keeps the rule without running it.
- Turn on starts it.
- Turn off stops it at once. Turn it on again whenever you like.
- Changing a rule that's on keeps your changes as a draft. The rule runs as it was — shown beside your changes as Running now — until you choose Turn on changes.
- Delete rule stops it at once and removes it.
Rules that call can need an Admin's approval
If your workspace asks for an Admin's approval before calling starts, turning on a rule that calls or starts a workflow asks too. The rule then says Sent for approval, with a link to the request, and it turns on when an Admin approves it. Until then it doesn't run — or, for changes to a rule that's on, it keeps running as it was. Turning a rule off never needs an approval.
Runs
The Runs tab lists each time the rule ran in the last 30 days, newest first: when, the lead, the rule's version then, and what each action did — or why it didn't, such as "the agent is switched off" or "the lead has no phone number". A run whose lead didn't match the If says so, and does nothing.

