> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salescaptain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Automation Builder

> Automations in SalesCaptain let you build workflows that perform tasks automatically based on specific triggers. By combining flow controls and actions, you can respond to new events, route messages, follow up with leads, or update contact records.

Each automation runs in real time whenever its trigger conditions are met. This helps you save time, maintain consistency, and deliver faster responses to your customers.

To learn about setting up triggers, see [**Automation Triggers**](/Core-Features/Automations/Automation-Triggers).

## **Flow Controls**

Flow controls determine how your automation behaves — when to act, who to include, and how long to wait between steps.

### **If / Else**

The **If/Else** element checks a condition and splits your automation path based on whether it’s true or false.Specify your conditions using the drop-down menus and select **Add**. Once all relevant conditions are set, select **Apply Filters**.

<Frame caption="If/Else Workflow Conditions">
  <img src="https://mintcdn.com/salescaptain-42c66529/EaD1aYHuUjS6vRD2/images/automationbuilder1.jpg?fit=max&auto=format&n=EaD1aYHuUjS6vRD2&q=85&s=c1d3e12b2c65eb02e1e70a36c908e80e" alt="Workflow Condition Configuration for If/Else element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder1.jpg" />
</Frame>

This creates two branches in your workflow: one **IF** the contact meets all conditions, and **ELSE** if they do not. Use this to personalize your workflows, such as sending unique messages or routing leads based on tags or location.

<Frame caption="Canvas view with If/Else element">
  <img src="https://mintcdn.com/salescaptain-42c66529/cx_f0gTo5minXRmM/images/automationbuilder2.jpg?fit=max&auto=format&n=cx_f0gTo5minXRmM&q=85&s=285faf0889688f6b0c07a27b73eadfc8" alt="Canvas view with If/Else element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder2.jpg" />
</Frame>

### **Filter**

The **Filter** element narrows your audience using tags, contact attributes, or custom fields. You can use it to include only specific groups of contacts, such as new leads, customers in a certain region, or those inactive for a set period.

<Frame caption="Filter element configuration">
  <img src="https://mintcdn.com/salescaptain-42c66529/EQmp9gYw5pXkKr5U/images/automationbuilder3.jpg?fit=max&auto=format&n=EQmp9gYw5pXkKr5U&q=85&s=5d05901ff2dabee45fe8e557157915ce" alt="Filter element condition configuration in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder3.jpg" />
</Frame>

When you apply filters, only contacts who meet all the specified conditions continue through the workflow. Unlike **If/Else**, this does not create a secondary path — it simply excludes contacts who don’t qualify.

<Frame caption="Canvas view with Filter element">
  <img src="https://mintcdn.com/salescaptain-42c66529/EQmp9gYw5pXkKr5U/images/automationbuilder4.jpg?fit=max&auto=format&n=EQmp9gYw5pXkKr5U&q=85&s=67257ed7fd14c56da1ce1ece9466c8eb" alt="Canvas view with Filter element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder4.jpg" />
</Frame>

### **Delay**

The **Delay** element adds a waiting period between steps in your automation. You can delay by minutes, hours, or days, or schedule an exact time for the next action. Delays help space out communication naturally and maintain consistent timing between messages.

<Frame caption="Automation delay configuration">
  <img src="https://mintcdn.com/salescaptain-42c66529/Vtf8XlngGkRtlScL/images/automationbuilder5.jpg?fit=max&auto=format&n=Vtf8XlngGkRtlScL&q=85&s=469bf80fb9f45d5f5c86e7f17df757c6" alt="Automation delay configuration in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder5.jpg" />
</Frame>

For example, send a follow-up 24 hours after a form submission or a reminder one day before an appointment.

<Frame caption="Canvas view with Delay element ">
  <img src="https://mintcdn.com/salescaptain-42c66529/IkAFK7F8u6DJNua6/images/automationbuilder6.jpg?fit=max&auto=format&n=IkAFK7F8u6DJNua6&q=85&s=db4bbb013d80ea8ecd82418cb7ae1851" alt="Canvas view with Delay element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder6.jpg" />
</Frame>

## **Actions**

Actions are the tasks your automation performs after a condition is met. You can add one or multiple actions to create your desired workflow.

### **Send SMS**

Automatically send a personalized text message to a contact when the trigger occurs. Use this for instant confirmations, reminders, or promotional follow-ups without leaving the platform. 

<Frame caption="SMS template configuration ">
  <img src="https://mintcdn.com/salescaptain-42c66529/lxS1N_4DtCoWwsmR/images/automationbuilder7.jpg?fit=max&auto=format&n=lxS1N_4DtCoWwsmR&q=85&s=1d39ab96da29e56170471c581f3beac4" alt="SMS template configuration in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder7.jpg" />
</Frame>

You can use templates, merge fields, and timing options to fit your workflow needs.

<Frame caption="Cavnas view with Send SMS element">
  <img src="https://mintcdn.com/salescaptain-42c66529/0ktSrhfy5WGDlZHK/images/automationbuilder8.jpg?fit=max&auto=format&n=0ktSrhfy5WGDlZHK&q=85&s=f3f3e8a207b396b5917dd7ec38f75e28" alt="Cavnas view with Send SMS element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder8.jpg" />
</Frame>

### **Send Email**

Send a pre-written or templated email directly to a contact or team member. This action is ideal for sending appointment confirmations, thank-you messages, or regular follow-ups. 

<Frame caption="Email Template Configuration">
  <img src="https://mintcdn.com/salescaptain-42c66529/kfKHr09OMlNy0Zae/images/automationbuilder9.jpg?fit=max&auto=format&n=kfKHr09OMlNy0Zae&q=85&s=253d994bdc5176921a67016733b6917e" alt="Email Template Configuration options in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder9.jpg" />
</Frame>

Emails can include dynamic content and personalization tokens for a more tailored experience.

<Frame caption="Canvas view with Send Email element">
  <img src="https://mintcdn.com/salescaptain-42c66529/9LQ34VxUqxrhGEpl/images/automationbuilder10.jpg?fit=max&auto=format&n=9LQ34VxUqxrhGEpl&q=85&s=ed44f6cd413c5a50b59dce1606769dcc" alt="Canvas view with Send Email element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder10.jpg" />
</Frame>

### **Make a Call**

Automatically initiate a phone call through your connected SalesCaptain phone system. Use it to trigger reminders, connect sales calls, or re-engage with customers after a specific event.

<Frame caption="Call template configuration ">
  <img src="https://mintcdn.com/salescaptain-42c66529/wBm_X4fkholmfLt6/images/automationbuilder11.jpg?fit=max&auto=format&n=wBm_X4fkholmfLt6&q=85&s=c9bd56780c1021964cbdbbabd8667fed" alt="Call template configuration options in Salescaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder11.jpg" />
</Frame>

Choose from your pre-built list of [call templates](/Core-Features/Marketing/Call-Templates), or schedule calls as part of a multi-step follow-up.

### **Add Tags**

Apply tags to contacts for easy tracking and segmentation in future workflows. Tags help categorize leads by behavior, interest, or source for better automation control.

<Frame caption="Configuring Tabs">
  <img src="https://mintcdn.com/salescaptain-42c66529/i5QVRi_XE6r-YB5j/images/automationbuilder13.jpg?fit=max&auto=format&n=i5QVRi_XE6r-YB5j&q=85&s=9ee3f34e7e377e1e551530635a6e2d22" alt="Tags configuration options in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder13.jpg" />
</Frame>

This keeps your contact list organized and makes targeting specific audiences simple.

<Frame caption="Canvas view with Add Tags element">
  <img src="https://mintcdn.com/salescaptain-42c66529/G674DLr-3E8CKoXp/images/automationbuilder14.jpg?fit=max&auto=format&n=G674DLr-3E8CKoXp&q=85&s=5a81ddec4b281aa31fa696215d6ebcbd" alt="Canvas view with Add Tags element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder14.jpg" />
</Frame>

### **AI Agent**

Activate your AI assistant using voice or test to send automated replies, qualify leads, or continue conversations.

<Frame caption="AI Agent configuration">
  <img src="https://mintcdn.com/salescaptain-42c66529/kjc95wR_-L2dUh2p/images/automationbuilder15.jpg?fit=max&auto=format&n=kjc95wR_-L2dUh2p&q=85&s=a1b997a1bc2828cca4048ae8859b2c18" alt="AI Agent configuration options in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder15.jpg" />
</Frame>

This action helps handle inquiries outside of business hours or maintain engagement during high volume. The AI agent can respond intelligently based on previous messages and your documentation. 

<Frame caption="Canvas view with AI Agent element">
  <img src="https://mintcdn.com/salescaptain-42c66529/dgHA1bmdASTd1n0L/images/automationbuilder16.jpg?fit=max&auto=format&n=dgHA1bmdASTd1n0L&q=85&s=40ad0ef81659ca333063cf74e6235491" alt="Canvas view with AI Agent element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder16.jpg" />
</Frame>

### **Assign To**

Automatically assign a contact or conversation to a specific user, team, or stage. Use this to route new leads, incoming messages, or support requests to the right person.

<Frame caption="Assign To configuration ">
  <img src="https://mintcdn.com/salescaptain-42c66529/u-VO3R5OcUdX_4k_/images/automationbuilder17.jpg?fit=max&auto=format&n=u-VO3R5OcUdX_4k_&q=85&s=cc56569e944b1fc2a092b46d835ab7ea" alt="Assign to configuration options in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder17.jpg" />
</Frame>

Assignments help ensure that every contact receives prompt attention from your team.

<Frame caption="Canvas view with Assign To element">
  <img src="https://mintcdn.com/salescaptain-42c66529/ukPGbAQfzg5K-uYy/images/automationbuilder18.jpg?fit=max&auto=format&n=ukPGbAQfzg5K-uYy&q=85&s=397b558e2be2c93d8464408ade378825" alt="Canvas view with Assign To element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder18.jpg" />
</Frame>

### **Add Notes**

Add an internal note to a contact record for future reference or team visibility. Notes can include details about a conversation, next steps, or lead qualification info.

<Frame caption="Add Notes configuration">
  <img src="https://mintcdn.com/salescaptain-42c66529/2TUf1H12BB5XmNm2/images/automationbuilder24.jpg?fit=max&auto=format&n=2TUf1H12BB5XmNm2&q=85&s=bb056777c9ca4d9e670bec8754b06126" alt="Add Notes Configuration options in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder24.jpg" />
</Frame>

They appear within the contact’s activity history for easy access by your team.

<Frame caption="Canvas view with Add Notes element">
  <img src="https://mintcdn.com/salescaptain-42c66529/Kva-22BXWe241XM-/images/automationbuilder25.jpg?fit=max&auto=format&n=Kva-22BXWe241XM-&q=85&s=ac0bc8e871c9b427b971cd462b6e57dd" alt="Canvas view with Add Notes element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder25.jpg" />
</Frame>

### **Form Leads**

The **Form Leads** action creates or updates a contact record using data collected from a form submission. You can configure up to 20 form fields, using either static values or dynamic data pulled from trigger keys.

<Frame caption="Form Leads configuration">
  <img src="https://mintcdn.com/salescaptain-42c66529/kc_wVIpx-nnYVhp5/images/automationbuilder19.jpg?fit=max&auto=format&n=kc_wVIpx-nnYVhp5&q=85&s=741bfe024481a51cd689de681b1fb3d0" alt="Form Leads configuration options in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder19.jpg" />
</Frame>

This is useful when your automation needs to generate new leads directly from incoming form data or webhook events.

<Frame caption="Canvas view with Form Leads element ">
  <img src="https://mintcdn.com/salescaptain-42c66529/AuyOWv-8R3rahDCk/images/automationbuilder20.jpg?fit=max&auto=format&n=AuyOWv-8R3rahDCk&q=85&s=d34a9fd795ba5846b8debf7f8381116e" alt="Canvas view with Form Leads element in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder20.jpg" />
</Frame>

For example:

* Create a new contact when someone fills out a “Book a Demo” form.
* Add a tag or source label automatically (like “Website Form Lead”).

### **Change Stage**

The **Change Stage** action updates the contact’s current stage in your CRM pipeline. Use it to move leads from “Prospect” to “Customer” after a purchase, or from “Lead” to “Inactive” if you haven’t heard from them for a while.

This ensures your stages always reflect the most recent progress in your customer journey.

### **Custom Fields**

The **Custom Fields** action allows you to set or update data stored in a contact’s custom fields. You can map these to dynamic values from previous automation steps, form inputs, or trigger data.

<Frame caption="Custom Fields configuration ">
  <img src="https://mintcdn.com/salescaptain-42c66529/dD3Ai48WYT0OwtYG/images/automationbuilder21.jpg?fit=max&auto=format&n=dD3Ai48WYT0OwtYG&q=85&s=782e0e1d68f282606cb5645b3ebea0ad" alt="Custom Fields configuration options in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder21.jpg" />
</Frame>

For example, record a contact’s “Preferred Service,” “Appointment Date,” or “Lead Source” automatically during a workflow.

### **AI Extract**

The **AI Extract** action uses artificial intelligence to identify, extract, and structure data from previous steps in your workflow. This helps convert unstructured text — such as a message, transcript, or note — into organized fields or tags.

<Frame caption="AI Extract configuration ">
  <img src="https://mintcdn.com/salescaptain-42c66529/MQtPnYxyCf9KylA2/images/automationbuilder23.jpg?fit=max&auto=format&n=MQtPnYxyCf9KylA2&q=85&s=f23ffd28a3d8463e9d84d82941faa4dc" alt="AI Extract configuration options in SalesCaptain automation builder" width="5520" height="3388" data-path="images/automationbuilder23.jpg" />
</Frame>

You can specify the prompt that defines what to extract (for example, “Extract the customer’s name, appointment date, and service type from the message”). The extracted data can then be stored in custom fields or used in later automation steps for personalization or reporting.

## **Best Practices**

* **Start with a clear goal.** Plan what your automation should achieve before adding steps.
* **Keep flows simple.** Limit unnecessary branches or delays to keep workflows efficient.
* **Use consistent naming.** Label all actions and controls clearly to make maintenance easier.
* **Test before activating.** Run test data through the flow to ensure every action works correctly.
* **Review regularly.** Update messages, conditions, and timing as your business processes evolve.
