# Introduction to Utility Actions

{% embed url="<https://app.supademo.com/demo/cmmbmzzff0uym22c47zglv3dn?utm_source=link>" %}

Utility Actions provide additional control and logic within a chatbot flow. These actions help automate processes such as routing conversations, updating customer information, storing data in variables, performing conditional checks, and managing the chatbot workflow.

Unlike **Send Actions**, which deliver messages, and **Ask Actions**, which collect user input, **Utility Actions manage how the chatbot operates behind the scenes**.

They allow businesses to build more dynamic and intelligent chatbot experiences by controlling conversation flow, automating backend tasks, and enabling conditional decision-making within the bot.

In the Bot Builder interface, Utility Actions can be accessed from the **Utilities tab when adding a new node to the chatbot workflow**.

### **Accessing Utility Actions**

Follow the steps below to use Utility Actions in your chatbot flow:

* Open the **Bot Builder**.
* Click **Add Node** in the workflow canvas.
* Select the **Utilities** tab.
* Choose the required Utility Action.
* Configure the action settings and connect it to the chatbot flow.

The Utilities tab provides multiple automation and workflow control options that enhance chatbot functionality.

### **Available Utility Actions**

Utility Actions provide several functions that help automate chatbot workflows and manage conversations efficiently.

#### **Trigger Path**&#x20;

Redirects the conversation to another path within the bot flow.

#### **Trigger Action**&#x20;

Executes a predefined action automatically during the chatbot workflow.

#### **Assign Conversation**&#x20;

Transfers the conversation to a specific user or team member for manual assistance.

#### **Close Conversation**&#x20;

Automatically marks the conversation as closed after completion or inactivity.

#### **Update Customer Fields**&#x20;

Updates or stores customer information such as name, email, tags, or custom fields.

#### **Assign Variable**&#x20;

Stores user inputs or system-generated values inside variables for use later in the chatbot flow.

#### **Get Dynamic Date**&#x20;

Generates real-time or calculated dates such as today, tomorrow, or future dates.

#### **Format a Variable**&#x20;

Modifies how a stored variable is displayed, such as formatting dates, numbers, or text values.

#### **IF Statement**&#x20;

Creates conditional logic that directs the chatbot flow based on defined conditions.

#### **IF Statement Adv**&#x20;

Provides advanced conditional checks that allow more complex decision-making within the chatbot workflow.

#### **Switch Case**&#x20;

Allows the chatbot to evaluate multiple conditions and direct the flow based on different possible values.

#### **Intent Detection**&#x20;

Identifies user intent from messages and directs the chatbot flow accordingly.

#### **Get Order Menu**&#x20;

Fetches available order menu items for use within chatbot flows, commonly used in ordering or e-commerce scenarios.

#### **AI Agent**&#x20;

Enables AI-powered responses that allow the chatbot to intelligently handle customer queries using AI capabilities.

### **Why Use Utility Actions?**

Utility Actions enhance chatbot automation and enable more intelligent conversations by controlling workflow behavior.

They help businesses to:

* Automate conversation routing
* Store and manage customer data
* Create conditional chatbot logic
* Trigger automated processes
* Integrate AI-powered responses
* Improve chatbot efficiency and workflow management

By combining **Send Actions**, **Ask Actions**, and **Utility Actions**, businesses can build powerful chatbot experiences that automate customer engagement while maintaining flexibility.

### **Summary**

Utility Actions are essential for building advanced chatbot workflows. They allow businesses to automate backend processes, control conversation logic, and enhance chatbot intelligence.

Using Utility Actions effectively helps create structured, responsive, and scalable chatbot experiences that improve customer interactions and operational efficiency.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ownchat.app/bot/utility/introduction-to-utility-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
