Automations

Build trigger-based message flows

9 min readUpdated October 2026Pro · Custom
Automations send a timed sequence of WhatsApp messages and actions on their own when something happens. For example, a new lead comes in, an order ships, a cart is abandoned, or an EMI due date is coming up. Set one up once and it keeps running for every new contact that matches.
What automations do

Every automation has a trigger (what starts it), an optional goal (an early finish line) and a list of steps (what happens, in order). A typical automation looks like this: Trigger Lead Created → Wait 5 minutes → Send WhatsApp Template "welcome_message" → Wait 1 day → Send WhatsApp Template "follow_up_day1" → Update Lead Status to Contacted.

A contact leaves the automation when they finish the last step, when they reach the goal you set, when a step condition says to stop, or when you stop their enrollment by hand.

Every message an automation sends is charged to your wallet at your message rates. Automations do not use your 1,000 free monthly messages, which cover the Inbox and the AI Agent (see Free messages and how messages are billed). Notify Agent, Update Lead Status, Add Tag and Wait steps don't send anything to the customer.
Build an automation
01
Open Automate → Automations
Click Automate in the sidebar, then Automations (the page is titled Sales Automation). Click New Automation. In the Choose a starting point window, pick a ready-made template or click Start from scratch instead. You may also see Start with your industry and, if you've connected Shopify, Shopify automations, ready to go. These pre-build a sequence that you review and edit before launching.
app.tanvik.io/automations
The Automations page
02
Name it and choose a trigger
Type a clear name at the top of the builder, like "Website lead nurture — 3 days". Under 1 · Trigger, pick one trigger (see the table below). If you want matching contacts to join by themselves, switch on Automatically enroll when trigger fires. If it's off, people only join when you enroll them.
app.tanvik.io/automations
Choose a starting point
03
Set a goal (optional)
Under 2 · Goal, choose when the sequence should stop early so you don't keep messaging someone who has already acted. The options are Lead status changes to…, Payment is received, Order is delivered, or Never — run all steps.
04
Add steps
Under 3 · Steps, click Add step. For each step, set a Delay (in minutes, hours or days), choose the Action type, fill in its details, and click Add step. Steps run in the order shown.
Template steps only send approved templates. If a step points to a template that isn't approved yet, the builder warns you and offers a button to fix it: Generate & submit for approval, Submit for approval or Edit & resubmit. The automations list also shows a warning banner while any step uses an unapproved template.
05
Review the settings
Under 4 · Settings, check quiet hours, the daily message cap, repeat and re-enrollment (explained below). The defaults are sensible for most businesses.
06
Test, then activate
Click Test with my number, enter your own WhatsApp number and click Save & test-enroll. The first step sends within about 2 minutes. When you're happy with it, switch the toggle next to the name from Draft to Active and click Save automation.
New automations start as drafts, so nothing sends until you activate one. The builder also keeps your unsaved work if the page reloads.
Trigger types
TriggerWhen it fires
Lead CreatedA new lead is created. The lead's phone number is enrolled.
Contact CreatedA new contact is added, including through a CSV import.
Order CreatedA new order is placed. You can use the order number and total in your messages.
Order Status ChangedAn order moves to the status you pick: new, confirmed, processing, shipped, delivered, cancelled or refunded.
Payment ReceivedA payment is marked as paid. Good for thank-you messages and receipts.
Cart AbandonedSomeone starts checkout on your store but doesn't finish. Put a delay on step 1 (for example 60 minutes). The enrollment is cancelled automatically if they complete the order.
Order Placed (COD)A Cash on Delivery order is placed, either on Shopify or over WhatsApp. Useful for asking customers to confirm before you dispatch.
Custom Date FieldA number of days before or after a date saved on a contact, lead or order, such as 3 days before an EMI due date or on a renewal date.
Manual OnlyNo automatic trigger. You enroll people yourself.

Once an automation has been saved, a 5 · Webhook trigger section also appears in the builder. With it, another system (like your website form or a tool such as Zapier) can enroll contacts. Click Generate key, then share the key and the Copy URL + key details with your developer. See API & developer access.

Step types & personalisation
Action typeWhat it does
Send WhatsApp TemplateSends an approved template. Map each {{1}}, {{2}} in the template to a token or a fixed value under Variable mapping. This works at any time.
Send Session MessageSends free text. It only goes out inside WhatsApp's 24-hour customer window, so use a template step for anything later.
Notify AgentSends an internal alert to your team, not to the customer. There's no WhatsApp cost.
Update Lead StatusSets the lead to New, Contacted, Qualified, Closed or Lost.
Add TagAdds a tag to the contact (for example interested) so you can segment them later.
Wait (pause)Only adds a delay before the next step.

Tokens such as {{contact.name}}, {{contact.phone}}, {{lead.status}}, {{order.order_number}} and {{order.total}} are replaced with each person's real details when the message sends. Click a token chip to insert it. Use + New field to create your own field, like a loan amount. The value has to be saved on the contact, lead or order first, for example through Contacts or a CSV import.

Conditions (optional): each step can check a field before it runs, like "Lead status equals Qualified". Under If condition matches, choose Skip this step, Stop automation or Continue anyway.

A/B split: on template and session message steps, switch on Split test this step (A/B) to randomly send version A or B. The Variant A weight % sets the split, and Variant B gets the rest.

Quiet hours, limits & repeats
SettingWhat it controlsDefault
Quiet hours start / endNo messages are sent inside this window. Use hours on a 24-hour clock, in IST.22 to 8 (10pm–8am)
Max msgs / dayThe most messages one person can get from this automation in a day (1–20).3
RepeatRe-runs the whole sequence from step 1: None, Daily, Weekly or Monthly.None — run once
Re-enrollmentWhether the same contact can go through again: Never, Always, or After N days.Never
Enroll, monitor & pause

Each automation appears as a card showing its status (All, Active, Draft or Paused tabs let you filter), trigger, number of steps, how many contacts are enrolled and completed, and its goal. The top of the page shows Total automations, Active, Enrolled contacts and Messages sent today. The card buttons do the following:

  • Enroll: add people by hand. Choose Search & select contacts, Paste phone numbers, All contacts with group/tag, All contacts with tag (automation tags), All leads with status or Enroll by date field, then pick a Start date.
  • Analytics: total enrolled, completion rate, goal rate, average completion time, messages sent, delivery rate, a last-7-days chart, step performance, A/B results and revenue attributed over the last 30 days. Daily figures are filled in overnight.
  • Logs: the Logs tab lists every step run (Executed, Skipped, Failed, Condition Skip, Condition Stop) with any error. The Enrollments tab shows each person's current step and next due time, and lets you stop an individual enrollment.
  • Pause / Activate: stop or restart one automation. While any automation is active, a Pause all button appears at the top as an emergency stop.
  • Delete: removes the automation with its steps, enrollments and logs. This can't be undone.

Once automations have completed enrollments, a Top performing table ranks them by goal rate, messages sent and revenue attributed.

Tips
Space out messages by at least a day
Sending 3 messages on the same day feels spammy. A gap of a day or more between follow-ups usually gets better responses and helps keep your WhatsApp quality rating healthy.
Use a goal so you stop when they've acted
Set a goal like Payment is received or Lead status changes to… Qualified. No one wants a payment reminder after they've already paid.
Always test with your own number first
Test with my number shows you exactly what customers will receive, including how your tokens fill in, before the automation goes live.
Don't use session messages for late steps
A Send Session Message step days after the trigger will usually fall outside the 24-hour window and won't send. Use a template step instead.
Common problems
New contacts aren't being enrolled
Check that the automation is Active (not Draft or Paused) and that Automatically enroll when trigger fires is switched on. The card's "Auto" dot is green only when both are true. Also check the Re-enrollment setting if the person went through before.
Someone is enrolled but got no message
Open Logs for that automation and look for Failed or Skipped rows and their error. Common causes are a template that isn't approved, a session message outside the 24-hour window, quiet hours, the daily cap, a step condition, or a low wallet balance. The engine checks for due steps every couple of minutes, so allow a short delay.
Tokens send as blank
The value isn't saved for that contact, lead or order. Add it through Contacts or a CSV import. Some order tokens are only filled for certain order types. For example, a payment link only works for WhatsApp-placed orders with online payment connected.
I need to stop everything right now
Click Pause all at the top of the page. Enrolled contacts stop receiving steps until you activate the automations again.