# The AI messages module

AI messages writes private messages: it replies in the inbox, welcomes new followers or friends and writes to the people on a list. By default the AI writes each message, from your account's message instruction.

Section: Module guides · HTML version: https://atlanbot.com/docs/ai-messages/

## What it does

When you switch on several methods, the agent draws one of them for each operation, among those with room left in today's limit. The AI writes the text from the account's instruction, which you set with the **Account AI** button in the module's header. The agent only types the finished text: [AI comments and messages](https://atlanbot.com/docs/account-ai.md?lang=en).

## When to use it

- You want to answer messages quickly, also when you have no time.
- You want to welcome every new person who follows you or adds you as a friend.

## How to set it up

1. **Open the module** On the phone's page, pick the platform and the account. On the AI messages tile, click **Settings**.
2. **Switch the module on** Turn on the master switch at the top of the module's page or the switch on its tile.
3. **Pick a method** To start, we recommend inbox replies. The other person then starts the conversation.
4. **Set up the sequence** Click **Sequence** next to the method. See below.
5. **Set up Account AI** Click **Account AI** and describe how the account writes messages: [AI comments and messages](https://atlanbot.com/docs/account-ai.md?lang=en).
6. **Set the pace** In the **Pace** section, click **Safe**, then **Apply**. You can change single fields later: [Pace and limits](https://atlanbot.com/docs/pace.md?lang=en).
7. **Start the phone** Check that the account has working hours and click **Start**. The module runs in the account's next working-hours window.

## Methods

| Method | Platform | Who it writes to | List |
| --- | --- | --- | --- |
| Reply to inbox messages | Instagram | Replies to messages in the inbox. | No list |
| Message new followers (public account) | Instagram | To new followers. Works on a public account. | No list |
| Message accounts from list | Instagram | To the listed accounts. | Account names, one per line |
| Message new friends | Facebook | To new friends. | No list |
| Message profile URLs from list | Facebook | To the listed profiles. | One link per line |
| Reply to Messenger inbox | Facebook | Replies in the Messenger inbox. Needs the Messenger app on the phone. | No list |

## The message sequence

Every method has its own sequence: the messages the agent sends one after another. Type [AI] where the AI should write a fragment or the whole message.

- By default a sequence has one message: `[AI]`. The AI then writes the whole message.
- Your own text with `[AI]` in it, for example `Hi {username}! [AI]`, sends your opening, and the AI writes the rest.
- The agent sends text without [AI] exactly as you type it.
- Variables: `{username}` is the name of the person the agent writes to, `{account}` is your account, and `{last_message}` is that person's last message.

## How much and how fast

| Setting | Default |
| --- | --- |
| Messages per operation | 1–3 |
| Delay after message | 45–120 s |
| Daily account limit | 20 |
| New friends scan limit per operation, Facebook only | 100 profiles in one operation |

Messenger replies use the **Messenger package** field. The default package is `com.facebook.orca`, the regular Messenger app. Change it only when Messenger on the phone is a clone.

These are the defaults, the **Standard** preset. In the working hours a module runs again and again, with a break between operations, until it reaches its daily limit: [How many actions a module makes](https://atlanbot.com/docs/pace.md?lang=en#count).

## A good start

- Messages should sound like you: short, personal, with no selling in the first message.
- Start messages to listed people with a low daily limit.
- Keep the long breaks after each message. Messages are the agent's most visible action.

## When it does not work

| Message | What to do |
| --- | --- |
| Enable at least one AI Messages method. | Switch on at least one method or switch the module off. |
| Fill the message sequence for the enabled method. | Add at least one message to the switched-on method's sequence. |
| Add profile links to the message list or disable the list method. | Fill in the switched-on method's list or switch the method off: [Lists and sources](https://atlanbot.com/docs/sources.md?lang=en). |
| Enter the Messenger package for inbox replies. | Enter the Messenger package, for example `com.facebook.orca`. |
| No recipients are available for the enabled AI Messages methods. | There is no one to write to yet. The module tries again in the next window. |
| No OpenAI key | Set up access to the AI model: [AI model](https://atlanbot.com/docs/ai-model.md?lang=en). |
