WhatsApp Automation Without Code: 6 Recipes You Can Build in the Lime Console · Lime API
Build WhatsApp auto-replies, away messages, welcome messages and CRM webhooks in the Lime console. Triggers, actions, variables and 6 ready recipes.
Most WhatsApp automation does not need a developer. A business owner wants three things: answer the same five questions automatically, tell people when the business is closed, and get new leads into the CRM. All three can be built in the Lime console in a few minutes, without writing code.
This guide covers how automations work in Lime, what each trigger and action does, and six recipes you can copy.
How an automation works
Every automation is a rule with two parts:
- When a message arrives... one trigger decides whether the rule applies.
- Then do this: a list of actions that run in order.
Automations run inside your instance in the cloud. Your phone can be offline, out of battery or in a drawer, and the rules still run. You find them in the Automations tab of any instance. Each rule shows how many times it ran and when it last ran, so you can see at a glance what is actually firing.
Triggers
| Trigger | Fires when |
|---|
| Keyword | The message matches one of your keywords |
| Regex | The message matches a regular expression (JavaScript syntax) |
| Any message | Every incoming message |
| First message | The first message from a new contact |
| Outside hours | A message arrives outside your business hours |
| Media received | An image, video, audio or document arrives |
A few options make triggers precise:
- Match mode for keywords: Contains, Exact match or Starts with, with an optional Case sensitive switch. Add several keywords to one rule, for example
price, prices, cost. - Business hours for the Outside hours trigger: a time zone, business days, and opening and closing times. The rule runs when a message arrives outside these hours.
- Apply to: private chats (the default), groups, or all chats. Most business rules should stay on private chats, so the bot does not answer in a family group.
Actions
| Action | What it does |
|---|
| Send text | Sends a reply, with variables and spintax |
| Send file | Sends a file from a URL (PDF, image, video) with an optional caption |
| Call webhook | POSTs the message to a URL, such as a Make, n8n or Zapier webhook |
| Wait | Pauses before the next action, up to 5 minutes |
| Mark as read | Marks the incoming message as read (blue ticks) |
| Show typing | Shows "typing..." for a few seconds, up to 20 |
You can chain actions. A reply that marks the message as read, shows typing for three seconds, then sends text feels much more human than an instant answer.
Template variables and spintax
Text replies and file captions support these variables:
{{name}}: the contact's name, or their phone number if there is no name{{phone}}: the sender's phone number{{message}}: the text of the incoming message{{chatId}}: the chat ID{{date}} and {{time}}: the current date and time (UTC)
You can also write spintax, such as {Hi|Hello|Hey} {{name}}. A random option is picked every time, so the same rule never sends exactly the same text twice. That matters for WhatsApp: identical messages sent many times look automated.
Cooldown, priority and stop-after-rule
Three advanced settings stop automations from becoming annoying:
- Cooldown (minutes): the rule does not run again for the same chat within this time. An away message with a 720-minute cooldown is sent once per night, not after every message. 0 means always.
- Priority: higher numbers run first.
- Stop after this rule: if this rule matches, lower-priority rules are skipped. It is on by default. Turn it off for rules that should run alongside others, like a webhook that logs every message.
Replies from automations go through the instance's send queue, so your sending protection settings, such as delays, typing and limits, can apply to them too.
Six recipes
1. Price list on request
- Trigger: Keyword, Contains:
price, prices, cost, menu - Actions: Mark as read → Show typing (3 seconds) → Send file: your price list PDF URL, caption
{Hi|Hello} {{name}}, here is our current price list. - Cooldown: 60 minutes
The most common question in any business, answered in seconds, with the current file.
2. Away message outside business hours
- Trigger: Outside hours, Sunday to Thursday, 09:00 to 18:00, your time zone
- Actions: Send text:
{Thanks for your message|Thanks for reaching out}, {{name}}. We are closed right now and will reply when we open. - Cooldown: 720 minutes
- Priority: high, with Stop after this rule on, so other replies do not fire at night
- Trigger: First message
- Actions: Wait (5 seconds) → Send text:
Hi {{name}}, welcome! Reply 1 for prices, 2 for opening hours, 3 to talk to a person.
Combine it with keyword rules for 1, 2 and 3 (Exact match) and you have a simple menu bot without code.
4. New lead into your CRM
- Trigger: First message
- Actions: Call webhook: the URL of a Make, n8n or Zapier webhook that creates a lead in your CRM
- Stop after this rule: off, so the welcome message still runs
The webhook receives a JSON body with the automation (ID and name), the instance data and the full incoming message, including the sender's phone and name. In Make or n8n you map those fields into a new CRM contact. Lime has ready modules for Make, Zapier, n8n and BuildShip if you want to go further.
5. Document received
- Trigger: Media received, private chats
- Actions: Send text:
Got it, {{name}}. We received your file and will check it shortly. → Call webhook: a scenario that saves the file to your drive or ticket system - Cooldown: 10 minutes
Useful for clinics receiving referrals, accountants receiving invoices, or shops receiving payment confirmations.
6. Order number lookup
- Trigger: Regex:
^#?\d{5,8}$ (a message that is only an order number) - Actions: Send text:
Checking order {{message}}, one moment. → Call webhook: your order system, which replies to the customer through the API with sendMessage
This is where no-code meets a bit of code: the rule catches the message, your backend sends the real answer.
When you need more than rules
Automations handle predictable messages well. For free-text conversations, connect your number to an AI workflow, see the AI agent guide for n8n and Make and AI use cases for WhatsApp. Lime does not include a built-in AI bot that answers on its own; you bring the model, and Lime handles the WhatsApp side through webhooks and the API.
Two more things to know:
- If you turn on OTP mode for a send-only number, automations do not run on that instance (webhooks are still sent). See WhatsApp OTP and notifications.
- Automations are available inside the partner embed too, so platforms using the white-label partner program give their customers the same rules under their own brand.
Start building
Create an instance, connect your number with a QR code or pairing code (about two minutes), and open the Automations tab. The Developer plan is free for testing with up to 3 destination numbers; Pro is $9.90 per number per month with no per-message fees, see pricing.
Create your free account and build your first rule today.