> For the complete documentation index, see [llms.txt](https://squarebox-ai.gitbook.io/squarebox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://squarebox-ai.gitbook.io/squarebox/automations-and-triggers/performing-internal-actions.md).

# &#x20;Performing Internal Actions

**Setting Up an Perform action (Step-by-Step)**

### Add Actions

Select the actions to perform when the trigger fires. There are two types of actions available:

***

#### Send Message

This action sends a WhatsApp message to the customer using a pre-approved template.

You can configure the following:

* **Add Variables**: Insert dynamic values such as name, course, etc.
* **Set Delay Options**:
  * Immediately
  * After 1 hour
  * After a day
* **Choose Frequency**:
  * Send once
  * Send every time the trigger fires
* **Personalize Message Content**: Adjust the content using lead-specific data.

***

#### Perform Action

This action executes internal operations within the platform.

Examples include:

* Updating lead state
* Assigning leads to agents
* Adding tags
* Updating customer fields
* Adding to segments

<figure><img src="/files/AWImecxaA0eoSaOD54YP" alt=""><figcaption></figcaption></figure>
