# SMS campaigns

&#x20;In this guide, we'll show you how to set up and send your first SMS marketing campaign.

{% embed url="<https://youtu.be/tpZVQyCCKys>" %}

### Create a new campaign

To create a new campaign, navigate to the [**SMS campaigns**](https://app.miatel.com/campaign) page in the side menu and click on the "Create" button.

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

In the appeared campaign settings window, on the first stage, please fill in the following:

1. Campaign name (can be anything)
2. Choose the sending time from three options - "**Immediately**", "**Select from the file column**", or "**Choose a specific time**". If you select "Choose a specific time", it will be your local time (your computer's time).
3. Upload the table in the format *xlsx* or *csv* with three required columns - the **sender's name** (Sender ID), the **recipient's number**, and the **message text**. In addition, you can specify the **time** of sending in the fourth column. The time must be specified in the format `31.12.2024 23:59:59`

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

After filling out all three fields on the first stage, proceed to the next step.

### Example of a table

{% file src="/files/6Vu1KWOyrC2NYKkhQ3Gn" %}

The sender's name is indicated in column "A". The recipient's number is indicated in column "B". In column "C" is the text of the message.

{% hint style="info" %}
The columns can be in any order
{% endhint %}

### Match the columns

On the second page of the campaign settings, match the column values with the data from the table and click next

<figure><img src="/files/0LgAHTgODmr6ZUTN7W86" alt=""><figcaption></figcaption></figure>

### Сheck the campaign settings

At the final stage of campaign setup, select an account, check the correctness of the campaign settings and click the "Create" button.&#x20;

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

After clicking it, the message will be sent according to the specified time of sending.


---

# 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.miatel.com/docs/miatel-platform-guide/sms-campaigns.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.
