> For the complete documentation index, see [llms.txt](https://help.3sigmacrm.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.3sigmacrm.com/automation/automations.md).

# Automations

The Automation feature in 3sigma allows users to streamline workflows, enhancing efficiency and reducing manual tasks. By setting up specific triggers and actions, you can automate various processes in your CRM.

Every automation is a **rule** with three parts:

1. **When this happens** – the trigger that starts the rule (for example, a new lead comes in).
2. **Only if** – optional checks. The rule runs only when all of them are true.
3. **Then do this** – the steps the rule carries out, grouped by day so you can space them out.

#### 📍 Where to Find It

Open **Automation** from the **Marketing** section of the sidebar. The **Automation rules** page lists all your rules with their **Last run**, **Runs**, **Done**, **Failed**, **Failed 24h**, **Leads**, **Success** rate and **Status**.

From this page you can:

* **New rule** – build a rule from scratch.
* **Ready for your business** – turn on ready-made rules picked for your business type.
* **Build with AI** – describe a rule in plain words and let AI draft it (rolling out to select accounts).
* **Search rules** – find a rule by name.
* Use the **On/Off** switch in the **Status** column to pause or resume a rule.
* Click the **Make a copy** icon to duplicate a rule.
* Click any rule to open and edit it. To remove a rule, open it and click **Delete**.

#### ➕ Creating a New Rule

1. Click **New rule**.
2. Enter a **Rule name** (for example, "Welcome message for new leads") and a one-line **What it does** description so your team knows what the rule is for.
3. Under **When this happens**, click **Pick what starts this rule** and choose a trigger. Use the search box to find one quickly.
4. Narrow it down if needed (see **Conditions** below). For example, for **New lead is created** you can pick which lead sources it applies to.
5. Under **Then do this**, click **Add a step** and choose an action. Set it up in the panel that opens and click **Save step**.
6. Want to do something later? Click **Add a later day** and set **Days to wait** between days (1 to 365 days).
7. Click **Preview** to see a plain-English summary of your rule. If everything looks right, click **👍 Looks Good** to save it. Click **✏️ Edit Automation** to go back and make changes.

Not ready yet? Click **Save as draft** to keep an unfinished rule without turning it on.

{% hint style="info" %}
The trigger and the rule name can't be changed after a rule is made. To use a different trigger, make a new rule (or **Make a copy** of an existing one).
{% endhint %}

#### ⚡ Triggers (When this happens)

Triggers are the events that start a rule. In the trigger picker they're grouped like this:

* **Leads**
  * **New lead is created** – optionally only for chosen lead sources.
  * **Lead is edited** – when any lead information changes.
  * **Status is updated** / **Label is updated** – pick the status or label it should change to.
  * **New lead added to list** / **Lead Moved to List** – pick the list.
  * **Chatbot Created Lead** – when one of your chatbots creates a lead (optionally a specific chatbot).
* **Quotes, invoices, orders**
  * **Quotation created**, **Quotation edited**
  * **Invoice is Created**, **Invoice is Edited**
  * **Invoice Overdue** – runs once, the morning after an invoice passes its due date with a balance still unpaid.
  * **Order is Created**, **Order is Edited**
  * **Quotation Shared** / **Quotation Viewed**, **Order Shared** / **Order Viewed**, **Invoice Shared** / **Invoice Viewed** – when the document is shared, or when the lead opens it.
* **Tasks & activity**
  * **Create task**, **Task is edited** (due date updated or task completed), **Activity is created**
* **Call logs**
  * **Incoming call logged**, **Outgoing call logged**, **Missed call logged**
  * **Call Duration Threshold** – when a call's duration meets your check (in seconds). You can also choose whether **the call is** **Any call**, **Incoming** or **Outgoing**.
  * **Call Count Threshold** – when the total number of calls (incoming + outgoing) meets your check.
* **Messages**
  * **WhatsApp Message Received** – when a lead sends you a WhatsApp message.
  * **Lead sent an email** / **Email to lead bounced** – these need the Email Inbox, which is rolling out to select accounts. Auto-replies and out-of-office emails are ignored.
* **By date or time**
  * **Task Due Date** – runs a set number of days **before** or **after** a task's due date.
  * **Task Completed** – for tasks of the types you pick.
  * **Lead Date Reached** – runs before, on, or after a date on the lead (see below).
* **Appointments** (rolling out to select accounts)
  * **Appointment booked**, **Appointment rescheduled**, **Appointment cancelled**, **Appointment completed**, **Appointment no-show** – optionally only for a specific booking link.
  * **Appointment date** – runs a set number of days before, at, or after the meeting time. Great for reminders and follow-ups.
* **Page is viewed** / **File is viewed** – when a lead opens a page or file you've shared.

#### 📅 Lead Date Reached

Use this trigger for birthdays, anniversaries, renewals, expiry dates and similar.

1. Pick the **Date field** – any date field on your lead form, or a built-in one such as **Lead created date**, **Converted date**, **Last activity date**, **Last follow-up date** or **Next task date**.
2. Choose when to **Run**: a number of days **before**, **on the day**, or **after** that date.
3. Turn on **Repeat every year** for yearly dates like birthdays (matches month and day only). Leave it off for one-off dates like a renewal or expiry.

If the lead's date changes, steps that haven't been sent yet move to the new date.

#### 🔍 Conditions (Only if)

For many triggers you can add checks so the rule runs only for the right leads or documents. Click **Add a condition**, then pick a field, an operator and a value.

* **Lead triggers** – check **Lead Status** or **Lead Label** (**is any of** / **is none of**), or any of your lead form fields (**equal to**, **not equal to**, **contains**, **does not contain**, and **greater than** / **less than** for numbers). For **New lead is created**, **Lead is edited** and **New lead added to list**, choose **Other field…** to check a field that isn't in the list.
* **Quotation / invoice / order created** and **Invoice Overdue** – check the **Total** (for example, Total **greater than** 5000).
* **Quotation / invoice / order edited** – check the **Status** (for example, Status **equal to** Paid).
* **Incoming / Outgoing call logged** and **Call Duration Threshold** – check the call **Duration** in seconds, so the rule only runs after real conversations.
* **Call Count Threshold** – check the call **Count**.

{% hint style="info" %}
When you add more than one condition, they are joined with **AND** – the rule runs only when all of them are true. Text values are case sensitive ("High Priority" is different from "high priority").
{% endhint %}

#### 🎯 Actions (Then do this)

Actions are the steps a rule carries out. In the step picker they're grouped like this:

* **💬 Connect & Engage**
  * **Send Whatsapp** – send a WhatsApp template message to the lead.
  * **Send Email (brevo)**, **Send Gmail**, **Send ZeptoMail** – send an email template to the lead. After picking the template you can choose **Send from which email?**, or click **Use default sender**.
  * **AI Voice Call** – your AI voice agent calls the lead (rolling out to select accounts).
* **🎯 Organize & Qualify**
  * **Change status**, **Change Label**, **Assign lead**, **Move to list**, **Copy to list**
* **⚡ Follow-up & Notify**
  * **Create task** – add a follow-up task for the lead.
  * **Send notification** – send an app alert to a team member.
* **📊 Export & Retarget**
  * **Add to Google Sheet**, **Add to Facebook Audience**
* **⏱️ Timing & Flow**
  * **Send Webhook** – send the lead's data to another app.
  * **Run AI Agent** – hand the lead to one of your AI agents (rolling out to select accounts).

#### 📱 Sending WhatsApp From a Specific Number

If you have more than one WhatsApp number connected, you can choose which number each WhatsApp step sends from:

1. Add a **Send Whatsapp** step and click **Pick a template**.
2. After you choose the template, the **Send from which WhatsApp number?** window opens. Pick the number.
3. The step now shows **From +91…**. Click it any time to change the number.

{% hint style="warning" %}
A rule with a **Send Whatsapp** step can't be saved until a WhatsApp Business number is connected.
{% endhint %}

#### ⏳ Delays and Drip Campaigns

Every rule starts with **Day 0** – these steps run right away. Click **Add a later day** to add more days and set **Days to wait** between them. This lets you create drip campaigns that automatically send messages and build automated action plans.

**Key Benefits:**

* **Automated Action Plans:** Use automation to create structured action plans that guide your leads through the sales funnel like create callbacks, send messages and reminders
* **Drip Marketing Campaigns:** Design campaigns with delays to send messages at optimal times, ensuring consistent engagement.

**Example Use Cases:**

* Set reminders for follow-ups at important milestones.
* Automatically send targeted messages based on lead interactions.
* Send a WhatsApp reminder when an invoice goes overdue.
* Send a birthday wish every year using **Lead Date Reached**.

#### 🏪 Ready for Your Business

Click **Ready for your business** to see ready-made rules made for your business type. Each one shows what it uses (for example WhatsApp or email) and whether it **Needs setup**. Click **Turn on** to start it. If a rule needs a lead status you don't have yet, you'll see **Add status and turn on**.

The same panel can also add **Sample products** and ready-to-send **WhatsApp messages** for your business.

{% hint style="info" %}
Don't see many ready-made rules? Set your business type under **Settings → Organization → Business category**.
{% endhint %}

#### ✨ Build with AI

{% hint style="info" %}
Build with AI is rolling out to select accounts.
{% endhint %}

1. Click **Build with AI**.
2. Describe what you want in plain words, for example: "Send a welcome WhatsApp to new Facebook leads, then a follow-up task after 2 days".
3. The assistant asks a couple of quick questions, then shows a preview of the rule.
4. Click **Open in editor** to review and save it, or **Change something** to keep refining.

#### 📊 Checking How Your Rules Are Doing

* **What happened** – the bar above your rules list shows how many steps ran, were done, and failed. Click **Show details** and pick **Last 24 hours**, **7 days** or **30 days** to see:
  * Totals for **All steps**, **Done**, **Failed**, **Skipped** (condition not met) and **Waiting** (scheduled, not run yet).
  * **WhatsApp from rules** – sent, delivered, read, replied and failed messages.
  * **Matched but didn't run** – leads that matched a rule that didn't run for them. Click **Test fire** to run the rule for that lead (its steps happen for real, so messages are sent and tasks are created).
  * **Why steps failed** and **Rules with most failures** – click a reason to see the leads it failed for.
  * **Check with AI** – appears when something failed or didn't run. AI looks at your rules and tells you how to fix them.
* **Run history** – open any rule and switch to the **Run history** tab to see every run of that rule.

#### 📱 On the Mobile App

Rules are created and edited on the web app. On the mobile app you can:

* **Add leads to a rule** – on the Leads screen, **long-press** a lead to start selecting, tap others to add them, then tap the action button, choose **Add to automation** and pick a rule from the **Automation List**.
* **See automation chats** – in the WhatsApp Inbox (**More** > **Inbox**), tap the **Automations** chip.

{% embed url="<https://youtu.be/D_oDcs2r1FM>" %}
