Home/Help Center/Automation rules

Automation

Create Automation Rules

Set up an automation rule that assigns, enrolls or messages a new lead the instant it arrives, based on source, campaign, form, pipeline or chat widget.

By Chirag Darji · Updated 27 Aug 2026 · 7 min read

On this page
  1. Before you start
  2. Steps
  3. What you will see
  4. Settings and options
  5. Troubleshooting
  6. Related reading
Lead automation rules settings in VGraple CRM

An automation rule decides what happens to a new lead the instant it is created, before anyone on your team has looked at it. This walkthrough covers building a rule, ordering it correctly against other rules, and reading what it actually did once a matching lead arrives.

Automation rules: first 5 of 6 steps

  1. 1Open Lead Automation Rules from Settings
  2. 2Create a new rule and add conditions
  3. 3Choose the actions
  4. 4Order the rule against your others
  5. 5Save and watch a real lead hit
The steps on this page, in order.

Before you start

  • Automation rules are available on every plan, including Free, with no cap on the number of rules an organisation can create.
  • A rule's actions (assign, enroll, send) only run once, at the exact moment the lead is created. It is not a retry mechanism; if the template send fails, it does not run again automatically on a later matching lead.
  • If you plan to enroll leads into a sequence from a rule, create that sequence first, since the rule references an existing one.
  • Only Owner and Admin roles typically manage automation rules; check your custom role's permissions if the settings page is not visible.

Steps

  1. Open Lead Automation Rules from Settings. The page lists every existing rule in the order it runs, with a plain-English summary of its conditions, such as "Source is Meta Lead Ad" or "Campaign name contains Diwali."

AI and flows settings in VGraple CRM with provider keys and the Cron secret

  1. Create a new rule and add conditions. Pick a field (Source, Campaign name, Form name, Pipeline, Label, or Chatbot), an operator where one applies (equals or contains), and a value. Add up to 5 conditions; every one of them must be true for the rule to match.
  2. Choose the actions. Assign the lead to a specific team member, pick a sequence to enroll it in, and pick an approved template to send the instant the rule fires. Set any or all three on the same rule.
  3. Order the rule against your others. Rules evaluate top to bottom, and the first match wins. Drag a rule to reorder it; put specific rules (one campaign, one form) above general ones (any Meta Lead Ad) so the specific rule fires first.
  4. Save and watch a real lead hit it. When a lead arrives from any source, whether a Facebook Lead Ad, a website form, a chatbot conversation, or a comment-to-DM capture, every active rule is checked in order and the first full match runs.
  5. Check the lead record. The assignment, sequence enrollment status, and any template sent are all visible on the lead, and the template, once sent, appears in the linked conversation's message history.

A D2C store running two Meta Lead Ad campaigns at once, say a discount offer and a new-arrivals teaser, is a typical case for two rules rather than one: each rule matches on Campaign name, sends a different welcome template, and enrolls the lead in a different sequence depending on which ad it came from. Because the first matching rule wins and stops evaluation, the two rules never both fire for the same lead even if their Source condition is identical.

What you will see

A new lead that matches a rule shows the assigned team member and enrollment status on its record within moments of being created, and if the rule sent a template, that message appears in the conversation thread exactly like one an agent sent manually. A lead that matches no rule at all is left untouched by automation and waits for manual triage, which is expected behavior for a catch-all-free setup, not a bug.

Because a rule-triggered send uses the same tracked path as a manual send, it inherits every protection that path already has: opt-out enforcement, so a rule can never message a contact who has sent STOP, and template pause detection, so a rule referencing a template Meta has since paused fails safely with a logged reason instead of silently vanishing. Nothing about running through a rule bypasses the checks a human-sent message would have to pass.

Settings and options

Setting or fieldWhat it doesDefault
Conditions (up to 5)Source, Campaign name, Form name, Pipeline, Label, Chatbot; combined with AND logicNone set on a new rule
Source valuesMeta Lead Ad, Web Form, WhatsApp Form, Chatbot, Comment Rule, ManualN/A
OperatorEquals or contains, on fields that support text matchingEquals
Assign toSets the lead's assigned team memberUnassigned
Enroll in sequenceStarts the referenced sequence for this leadNone
Send templateSends an approved template immediately, only if the lead has a phone numberNone
Rule orderDetermines evaluation order; first full match wins and stops evaluationOrder created

Troubleshooting

SymptomLikely causeFix
A specific rule never fires even though its conditions look rightA more general rule sits above it in the order and matched the lead firstDrag the specific rule above the general one so it gets first pick
The rule's template action did not sendThe lead had no phone number attached at the moment the rule ranConfirm the lead source actually captures a phone number; a rule cannot send to a lead it has nothing to reach
A lead matched no rule at allEvery rule has at least one condition the lead does not satisfy, and there is no catch-all rule with zero conditions at the bottomAdd a catch-all rule (no conditions) at the very bottom of the list if you want every unmatched lead to still get a default action
A rule scoped to one chat widget also fired for a different widget's leadsThe Chatbot condition was left blank ("any chatbot") instead of set to the specific widgetSet the Chatbot condition explicitly to the widget you want to scope the rule to
A rule's sequence enrollment shows "pending" instead of "enrolled"The lead has no resolvable WhatsApp contact yetThis is expected and resolves automatically once the lead's phone number first messages your connected WhatsApp number; see sequences
A retried template send never appeared after the first one failedRule actions run once, at lead creation, and are not retried automaticallyFix the underlying cause (for example, an accidentally paused template) and handle the affected lead manually; the next new matching lead will use the corrected template

Build the sequence a rule should enroll leads into before wiring up the rule itself, or use Flow Builder directly for anything a rule's fixed three actions cannot express, such as a branching qualification conversation.

Frequently asked questions

What is a WhatsApp automation rule?
A rule that runs once, the instant a new lead is created in VGraple CRM. It checks up to 5 conditions against the lead's source, campaign name, form name, pipeline, label or originating chat widget, and if every condition matches, it assigns the lead, enrolls it in a sequence, sends an approved template, or any combination of the three.
How is an automation rule different from a sequence?
A sequence is the thing that keeps sending messages over time. An automation rule is one of two ways a lead gets enrolled into a sequence in the first place, the other being the manual Enroll Leads button on the sequence itself. A rule can also assign a lead or send one template without touching any sequence at all.
What happens if more than one rule matches the same lead?
Rules run in the order shown on the Lead Automation Rules page, and the first rule whose conditions all match takes action; no later rule is evaluated for that lead. Put your most specific rules above general catch-all ones so the specific rule gets first pick.
What lead sources can a rule filter on?
Meta Lead Ad, Web Form, WhatsApp Form, Chatbot, Comment Rule, and Manual. Combine a Source condition with a Campaign name or Form name condition (equals or contains) to target one specific ad or form rather than an entire channel.
Does the template action send even if the lead has no phone number yet?
No. The template-send action only fires when the lead record already has a phone number attached. A lead captured without one can still be assigned and enrolled in a sequence by the same rule; sequence enrollment separately defers and resumes once a WhatsApp-sendable number appears.
Are rule-triggered template sends visible in the inbox?
Yes. Every template a rule sends goes through the same tracked send path as a message an agent sends manually, so it lands in the conversation history, is blocked if the contact has opted out, and links the resolved or newly created contact back to the lead record.
How many conditions can one rule have?
Up to 5 per rule, combined with AND logic, meaning every condition must match for the rule to fire. There is no limit on how many rules an organisation can create in total.

Run your WhatsApp on VGraple CRM

Free forever plan, official Meta WhatsApp Business API, set up in 15 minutes. No card needed.