# Email Automation

Message automation in SENDUNE follows simple '**if-this-then-that**' rules. You do not have to deal with overly engineered, messy flowcharts. Just create a workflow, set your rules, and activate it.

{% embed url="<https://iframe.mediadelivery.net/play/274833/55b23832-d40b-45c9-82b1-94feaed43778>" %}

### Workflow States

A workflow can have three states.

* **ACTIVE**: A workflow must be in 'Active' state for it to work.
* **PAUSE**: To make changes to your workflow, you must 'Pause' it.
* **INACTIVE**: Make a workflow 'Inactive' when you no longer require it.

### **Workflow Statistics**&#x20;

This tracks all users who have entered the workflow right till their exit along with timestamps for every action.

{% hint style="info" %}
**NOTE**: By default a user can enter a workflow only once. Toggle the switch at the top of the workflow to let users enter the workflow more than once. Do this only if you are absolutely certain. You do not want your users receiving duplicate messages.
{% endhint %}

<figure><img src="/files/FAGHqoTAyM2WnkOigNLu" alt="" width="563"><figcaption></figcaption></figure>


---

# 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.sendune.com/email-automation.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.
