Automation Rules (Automatic Actions)
Automation Rules are the logic engine of Konektor that works 24/7 for you: "IF this condition occurs, THEN perform this action."
Feature Summary
- Data Automation: Trigger based on data changes (Lead Created, Status Updated).
- Message Automation: Trigger based on WhatsApp message content (Keyword, Regex).
- No Coding: Simply click and select conditions in the dashboard.
Tutorials & Popular Recipes (Video)
Start here to see how to set up the most commonly used automations.
Loading...
UI label note
Some older videos still show labels such as Install Template in the header. In the current UI, the header button is Template, and the Install button appears inside the modal after you choose a template.
1. Mark Active Lead (CTWA)
Change the status of ad leads (CTWA) who are actively interacting so sales teams can focus on them.
- Trigger: Incoming Message
- Condition:
Chat Count > 2ANDStatus == New - Action: Change Status →
Responded(Merespons)
2. Identify Hot Lead (Keyword)
Capture buying signals from the conversation.
- Trigger: Incoming Message
- Condition: Message contains
"I want to buy"(or multiple keywords, comma-separated:"order, buy, booking") ANDStatus == Responded - Action: Change Status →
Hot
3. Auto-Closing & Capture Value (Regex)
Automatically mark as closed and save the amount when there is payment confirmation.
- Trigger: Incoming Message (from Admin/User)
- Condition: Message contains
"Payment received" - Action: Update Lead Value (Target:
Actual Value, Regex:Rp\s*([0-9.,]+), Update Status (Optional):Purchase)
4. Mark a lead as Contacted
Leads from a WhatsApp Link or a landing page: click Template, select Auto Mark as Contact, then click Install. This rule changes the status from New to Contacted when the message holds a [K-...] code.
Leads without a code, for example from a Click-to-WhatsApp ad: Action Change Lead Status → Contacted; Condition 1 Sender Type = Team/CS (outgoing); Condition 2 Lead Status · Equal · New.
The second rule runs when the team replies. Read Outgoing team messages for the channels that pass team replies.
5. COD order: address received and total agreed
Rule A — address received: Action Change Lead Status → Proposal; Condition 1 Message · Contains · full address, district, sub-district, postal code; Condition 2 Sender Type = Customer (incoming); Condition 3 Lead Status · Not In List · Proposal, Invoice Sent, Purchase, Lost.
Rule B — total agreed: ask the team to always write the same sentence, for example Pesanan COD dikonfirmasi. Total Rp185.000 termasuk ongkir. Action Update Lead Value; Target Field Estimated Value; Regex Pattern Custom Total\s*:?\s*(?:Rp\s*)?([0-9.]+); Update Status (Optional) Invoice Sent; Condition 1 Message · Contains · Pesanan COD dikonfirmasi; Condition 2 Sender Type = Team/CS (outgoing); Condition 3 Lead Status · Not In List · Purchase, Lost.
Rule C — optional, mark as closed: Action Change Lead Status → Purchase; Condition 1 Message · Contains · COD lunas; Condition 2 Sender Type = Team/CS (outgoing).
Notes:
- A rule has one action. Update Lead Value can also change the status.
- All conditions in one rule must match. Separate keywords in one condition with commas; one keyword is enough.
- The match ignores upper and lower case, and it also finds a word inside another word. Do not use short keywords.
- Write the total without decimals. Konektor removes the dots and commas from the number.
- When you select a status, the rule page shows the event that goes to the ad platform.
- If the team replies from the Konektor Inbox on the official connection, Rule B does not run. Change the status in Leads, and turn on Trigger Value Input in Conversion Settings so that Konektor asks for the value at the status change.
1. Core Concepts
Each rule consists of 3 simple parts:
| Component | Explanation | Example |
|---|---|---|
| TRIGGER | The initiating event | New Lead, Incoming Message, Status Change |
| CONDITION | Criteria to meet | Status = "New", Source = "Ads", Message contains "Promo" |
| ACTION | What to do | Change Status, Send Webhook, Extract Value |
How to Create a Rule
- Open WhatsApp > Automation Rules from the workspace sidebar.
- Click Create Rule to build a rule manually, or click Template to use a pre-built rule.
- If you choose Template, select the template you want and click Install.
- If you create a manual rule, enter the rule name, choose the Trigger, Condition, and Action, then click Save Rule.
Rules automatically apply to all connected WhatsApp sessions in the workspace.
If the Template button is missing
The Template button only appears when your workspace can still add rules and the template feature is not under maintenance. If it is not visible, check your plan rule limit or the current template maintenance status.
You can also use the AI Suggest button on the Rules page to generate a draft rule before editing it manually.
2. Condition & Operator Reference
Use this list as a practical guide when choosing conditions in the dashboard.
Message-Based Conditions
| UI Label | Explanation | Example |
|---|---|---|
| Message | Text that must appear in chat | promo, order |
| Sender ID (JID) | Match a specific sender number | 628123456789 |
| Message Type | Filter by content type | All Messages, Text, Image |
| Is Group Chat | Only group or non-group chats | true / false |
| Time Window | Active hours for the rule | 09:00–17:00 |
| Chat Count | Minimum/maximum chat count | >= 3 |
| Room Tags (Qontak) | Tags from Qontak rooms | vip, repeat |
| Has Media | Message includes media | true / false |
| Reply to Message | Message is a reply | true / false |
| First Contact | First chat from the lead | true / false |
| Customer Name | Match sender name | Budi, Sari |
| Sender Type | Who sends the message | Customer, Team/CS, All |
| Partner Source | Integration channel | wa_api, qontak |
| Channel ID | Partner channel/account ID | page_id, channel_id |
Lead & Marketing Conditions
| UI Label | Explanation | Example |
|---|---|---|
| Lead Status | Current Lead status | new, responded, hot, won |
| Lead Priority | Handling priority | low, medium, high, urgent |
| Lead Score | Numeric lead score | >= 80 |
| Lead Source | Lead origin | ads, whatsapp, website |
| Lead Notes | Text search in notes | follow up tomorrow |
| Lead City | Lead city location | Jakarta |
| Lead Region | Lead region | West Java |
| Lead Country | Lead country | ID |
| UTM Source | Campaign source | facebook, google |
| UTM Medium | Campaign medium | cpc |
| UTM Campaign | Campaign name | ramadan-promo |
| UTM Term | Campaign keyword | shoes |
| UTM Content | Campaign content | video-1 |
Supported Operators
- Equal, Not Equal
- Contains, Not Contains
- In List, Not In List
- Greater Than, Greater or Equal
- Less Than, Less or Equal
- Starts With, Ends With
Time Window Note
The Time Window condition always uses workspace timezone, not server time.
Best Practice: Sender Type
Use Customer for rules that must trigger on customer messages, Team/CS for internal team messages, and All only when the rule is safe to run for both directions. Typical usage:
- Customer: auto-tag intent, change status based on customer keywords.
- Team/CS: update status when CS confirms payment.
- All: utility rules like logging, or when you explicitly want both directions.
Outgoing team messages
| Channel | Do team replies run rules? |
|---|---|
| QR session | Yes, for replies sent from the phone |
| Official WhatsApp Business | No, for replies from the Konektor Inbox |
| Kirimdev | Yes, for messages that Kirimdev reports as sent |
| Kapso | Yes |
| kirim.chat | Yes |
| Qontak | Yes, for agent messages |
| Pancake | Yes, for agent messages |
| Halo AI | Yes |
| Qiscus | No, customer messages only |
An outgoing message does not create a lead. A rule with a lead condition runs only when the lead already exists.
3. Advanced Features: Regex & Data Extraction
For advanced users, you can "capture" specific data from within text messages using Regex (Regular Expressions). This is very useful for capturing payment amounts from CS messages.
Regex Dropdown Presets
In the Update Lead Value action, a preset dropdown is available so you don’t need to type regex manually. If your format is different, choose Custom to input your own pattern.
Popular Regex Patterns (Pick or Copy-Paste)
Use these patterns in the Update Lead Value action:
| Goal | Regex Pattern | Example Message | Result |
|---|---|---|---|
| Flexible Rupiah | `(?:Rp\s*)?(0-9{1,3}(?:.0-9{3})+ | 0-9+)` | "Rp1500000" |
| Rp with dots | Rp\s*([0-9]{1,3}(?:\.[0-9]{3})+) | "Rp 1.500.000" | 1.500.000 |
| Rp without dots | Rp\s*([0-9]+) | "Rp1500000" | 1500000 |
| Total:1500000 | Total\s*:?\s*([0-9.]+) | "Total:1500000" | 1500000 |
| Numbers Only | ([0-9]+) | "1500000" | 1500000 |
Rp= Looks for the word "Rp"\s*= Allows space (present or not)(...)= Capture Group. This is the part that will be extracted by the system.
4. Message-Based Automation (QR Scan)
This feature uses WhatsApp Web (Linked Device) to read incoming messages. Suitable for event attendance or simple voucher validation.
Loading...
- How it Works: User scans QR → Sends pre-filled message → System reads & updates status.
- Requirement: WhatsApp Admin must be connected in the Rotators menu.
5. WhatsApp Rules (Partner API)
If you use Official WhatsApp API (Qiscus, Qontak, Pancake, WA-API), automation rules are auto-applied across all channels (WA-API and partners):
- Identity Upgrade: Changes "Website Visitor" to "Real Lead" when they send a message containing
[K-XXXX]. - Sync CTWA: Automatically sends conversion events to Meta Ads Manager.
- Fast Processing: Rules are processed automatically within seconds.
- Auto Apply: No manual session selection needed, rules automatically apply to WA-API and partner channels.
For Pancake workspaces, follow this workflow:
- Share your Pancake page URL with support so they can register the webhook (Pancake Webhooks requires 2 slots for messaging events).
- Copy the Webhook URL from the Integrations modal and paste it into Pancake’s Page Tools > Webhooks.
- Return to Konektor and click Verify Connection after support confirms, until the status changes to Active.
FAQ
Q: Does Automation run in real-time? A: Yes, execution happens within seconds after the trigger.
Q: Can one message trigger multiple rules? A: Yes. The system will run all rules that meet the conditions, unless you enable "Stop Processing" on a specific rule.
Next steps
Need More Help?
Our team is ready to help you maximize ad tracking and business attribution.
Try or continue
© 2026 Konektor. All rights reserved.
