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

# Automation

> Automation helps you streamline and scale your entire sales and customer care processes. With just a few clicks, you can set up intelligent workflows that run automatically — triggered by customer behavior, admin actions, or scheduled timing.

### Automation flows list

This is where you’ll see all your existing automation flows.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flows_list.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=705ab40b34985756f038738affed57af" alt="Automation Flows List Pn" width="1440" height="895" data-path="images/automation/automation_flows_list.png" />

For each flow, you can quickly view:

* **Trigger type**
* **Last run time**
* **Total executions**
* **Number of completions**
* **Current status (on/off)**

To view or edit a flow in detail, simply click on it.

**Creating a New Flow**

There are three ways to create a new automation flow:

1. **Create manually**: Click the **Create flow** button in the header to start from scratch.
2. **Use a template**: Click **Browse templates** to choose from hundreds of ready-made flows.
3. **AI-generated flow**: Write a prompt describing what you want (e.g., *“Send a greeting when a customer visits the website”*) and click **Generate** to let AI build it for you.

### Automation flow templates

With **Flow Templates**, you can launch ready-made flows in seconds.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flows_templates_list.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=50df3ec95d92bd3b71d4a0c90a418be7" alt="Automation Flows Templates List Pn" width="1440" height="800" data-path="images/automation/automation_flows_templates_list.png" />

Browse the templates from the left panel, select a flow to preview on the right, and click **Apply** if it suits your needs.

You can still edit all flow details afterward.

Use the search bar to find templates by keywords related to triggers, conditions, or message content.

> If no results appear, try using shorter or more general keywords.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flows_search_empty.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=042cf2f5481eb006bcc25b6432cbc57c" alt="Automation Flows Search Empty Pn" width="1440" height="800" data-path="images/automation/automation_flows_search_empty.png" />

### Flow settings

Each flow has a name and description, which help you stay organized.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_settings.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=d5df3e74dc4df67921884d99197857f5" alt="Automation Flow Settings Pn" width="1440" height="1024" data-path="images/automation/automation_flow_settings.png" />

### Generate flow (AI)

You can describe what you’d like your automation to do, and click **Generate flow**.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_generated.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=960dffae6581fe826eff28e09d945416" alt="Automation Flow Generated Pn" width="1440" height="1024" data-path="images/automation/automation_flow_generated.png" />

AI will build a complete draft of the flow and show you a preview.

* Click **Apply this flow** to activate the generated version.
* Not happy? Rewrite your description and click **Generate again**.
* Or click **Cancel** to return to your existing flow without changes.

### Edit trigger

The **Trigger** is the starting condition that activates your flow.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_triggers_list.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=9b388d17976976fdf4ef8c2a06dca128" alt="Automation Flow Triggers List Pn" width="1184" height="800" data-path="images/automation/automation_flow_triggers_list.png" />

Click the Trigger step to edit it. The trigger settings will appear on the right.

Triggers fall into three categories:

* **Customer Activities**: Triggers based on user behavior (e.g., visits website, adds product to cart).
* **Admin Activities**: Actions taken by you or your system (e.g., campaign starts, product added).
* **Scheduled Time**: Time-based triggers like a specific hour of the day, day of the week/month/year.

Examples:

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_trigger_settings_example.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=4d831900b98d82066469bb4d3b4815d5" alt="Automation Flow Trigger Settings Example Pn" width="1296" height="600" data-path="images/automation/automation_flow_trigger_settings_example.png" />

### Add a new step

A **Step** is an action or logic block within a flow.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_add_new_step.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=b79176c0da71239ee8b2a3a1e79141bb" alt="Automation Flow Add New Step Pn" width="784" height="500" data-path="images/automation/automation_flow_add_new_step.png" />

To add a new step, hover between existing steps and click the **+ icon**.

There are three types of steps:

1. **Wait**: Adds a delay between steps (e.g., wait 30 seconds).
2. **Check if**: A condition step used to create branches based on logic (e.g., is this a returning visitor?).
3. **Do this**: The action to perform (e.g., send a message).

To delete a step, click the trash icon in the top right corner of the step box.

### Wait step

The **Wait** step defines a pause before continuing to the next action.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_wait_step.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=031445659620b746f237518530c94704" alt="Automation Flow Wait Step Pn" width="1184" height="550" data-path="images/automation/automation_flow_wait_step.png" />

Choose the time unit (seconds, minutes, hours) and enter the desired delay.

### Check if step

The **Check if** step evaluates a condition to determine the next path.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_condition_step.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=f38376246a250e54007fddfb36b202fe" alt="Automation Flow Condition Step Pn" width="1184" height="800" data-path="images/automation/automation_flow_condition_step.png" />

Condition types include:

1. **Triggered object attributes**: e.g., “3 days before campaign ends”
2. **Customer attributes**: e.g., gender, location, customer segment
3. **Time-based conditions**: e.g., specific hour, day, or date

Examples:

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_condition_settings_example.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=bd1562805ee98865ce2668b227b2e1c3" alt="Automation Flow Condition Settings Example Pn" width="1296" height="2356" data-path="images/automation/automation_flow_condition_settings_example.png" />

### Send message step

Use the **Send message** step to deliver a message to the customer.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_new_send_message_step.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=d56414e126627edda0f34cc939da1b05" alt="Automation Flow New Send Message Step Pn" width="1440" height="800" data-path="images/automation/automation_flow_new_send_message_step.png" />

You can:

* Write a text message
* Attach product links, discount codes, images, or emojis
* Use **AI-generated message** by entering a prompt and letting NeoPal craft the content for you

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow__send_message_generate_message.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=a3bd67074a53fb031866a6110dc8298f" alt="Automation Flow Send Message Generate Message Pn" width="1184" height="688" data-path="images/automation/automation_flow__send_message_generate_message.png" />

Message examples:

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_send_message_settings_example.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=25db7ccc075d09ab891fd88ebf5be3d6" alt="Automation Flow Send Message Settings Example Pn" width="1296" height="1120" data-path="images/automation/automation_flow_send_message_settings_example.png" />

### Activate or pause flow

Once your flow is complete, turn it on by clicking the **Activate Flow** button.

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_active.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=35cca03681df1e219a9ed690db60587d" alt="Automation Flow Active Pn" width="1440" height="1024" data-path="images/automation/automation_flow_active.png" />

To pause the flow, use the **Turn off Flow** toggle in the header bar.

### Flow runs

To view flow performance, go to the **Flow Runs** tab (visible only after the flow has been activated at least once).

<img src="https://mintcdn.com/neopal/kwREAMNoDC01oO-L/images/automation/automation_flow_runs_details.png?fit=max&auto=format&n=kwREAMNoDC01oO-L&q=85&s=9f42ba264e0f43ee40118bfae85074c4" alt="Automation Flow Runs Details Pn" width="1440" height="1024" data-path="images/automation/automation_flow_runs_details.png" />

You’ll see key metrics such as:

* **Total runs**
* **Completion count**

Click any individual run to see detailed results:

* **Start**: When the flow started
* **Completed**: When the flow finished
* **Contact**: Who triggered the flow
* **Conversation**: Which conversation was active during the run
* **Seen**: Whether the message was viewed
* **Click**: Whether the CTA was clicked
* **Place order**: Whether the customer placed an order
