# Rules, flows and post automations

> For AI agents: the index of these docs is at https://indrava.forumulate.com/help/llms.txt (every page it lists has a Markdown version like this one).

Rules with several conditions and actions, conversations that collect an email, numbers per rule, and automatic plugs, reposts, quotes and deletes.

Below the classic automations, **Rules and flows** holds rules built from conditions and a list of actions. It has four tabs: **Rules**, **Numbers**, **Contacts** and **Channel defaults**.

:::hint{style="warning" title="Not yet run against real accounts"}
These rules have been tested with simulated platforms only. Try one on a quiet account before relying on it.
:::

## A rule

1. Choose a **trigger**: someone comments, a private message arrives, someone replies to a story, a review arrives (optionally within a range of stars), or a post is published.
2. Add **conditions**, all of which must hold, or any of which may. A condition can look for keywords (anywhere, as a whole word, or exactly, with words that rule it out), the kind of message, a link, an email address, a phone number or an image, no text at all, a star rating, the inbox's sentiment, intent or spam signal, and whether the author wrote before.
3. Add **actions**, done from top to bottom: reply in public, reply in private, add a label, mark done, hide, delete, assign, save, notify through the bell, mail or chat, open a case, or answer a review.
4. Choose **Stop after this rule** to keep every rule below it from acting on the same message.

Rules see a message in the order of the list. Drag a rule, or use the arrows, to change it. **Save as draft** keeps a rule switched off. A rule whose channel needs to be reconnected is switched off by Indrava, with the reason on the rule.

Ready-made rules cover the common cases: hide swearing or links from new people, complete spam, answer price questions, thank positive reviews and escalate negative ones.

A reply never goes to someone who asked to stop (a message that is only "stop"), and the same person is not answered twice by one rule within 24 hours. Quiet hours hold answers until they end. Answers count against the plan's monthly allowance.

## Reviews

A review rule answers by star rating. The answer is written from your variants, or drafted by the AI in your brand voice. Choose **Hold it as a suggestion** to leave the draft as a note on the conversation for a person to send.

## Flows

A flow is a conversation in steps, each after its own wait of up to 24 hours:

- **Public reply**: up to three variants of 300 characters, one picked at random.
- **Private message**: text, an optional button with a link, and optional quick replies that lead to different next steps. Choose **Wait for the person to answer** to open the reply window before the next step.
- **Ask for an email**: the answer is checked. After a second invalid answer the flow ends. A valid address is saved under **Contacts**.
- **Hand over**: assigns the conversation to a person and ends the flow.

Write `{first_name}`, `{handle}` and `{post_url}` in any text. The phone preview shows what the person sees. A flow waits 24 hours for an answer, then stops.

## Numbers and contacts

**Numbers** shows, per rule, how often it was set off, sent, answered, failed and skipped, link clicks from its buttons and how many people reached each step. It also ranks the posts that brought the most, and lists every run with filters for rule, status and dates.

**Contacts** lists the addresses flows collected. Search them, or export a CSV file.

## Post automations

A rule on the trigger **A post is published** works on the post itself:

- **Auto-plug**: a comment under the post, one text picked from several, optionally reworded by the AI, and optionally only when the post reached a number of likes, reposts, replies or impressions within some hours.
- **Auto-repost**: after some hours, one to three times, and optionally undone again later so the profile stays clean.
- **Quote or repost from other accounts**: of the same platform, with its own text and a delay. It follows the post. If the post is rescheduled, it moves. If the post goes out early, so does it. If the post is deleted, it never goes out.
- **Auto-delete**: deletes the post at the platform after some hours, or when it stayed under a number. The post stays in Indrava.

Tick a rule under **Automations for this post** in the post's drawer, or set it under **Channel defaults** so every new post on that channel joins it. A post can also be deleted at the platform, or have its text edited there, by hand.

## Direct-message campaigns on X

Where the server allows direct messages on X, a rule can send a message to everyone it catches. Messages wait in a queue and go out at most 30 a minute, 100 an hour and 500 a day. A campaign stops after the days you set, and the rule shows how many were sent, are queued, failed or expired.

## Through the API

`GET /automations/numbers`, `/automations/posts`, `/automations/history`, `/automations/contacts` and `/automations/follow-ups`, with the `automations:read` scope, and `DELETE` and `PATCH /posts/{id}/published`, which need `posts:write` and `posts:publish`.

---

## For AI agents

- This page for a human reader: https://indrava.forumulate.com/help/rules-and-flows
- The whole space as one Markdown file: https://indrava.forumulate.com/help/llms-full.txt
- Live search + fetch over MCP: https://indrava.forumulate.com/help/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/eb86896a-9649-48ed-a1a6-566b48188df7/mcp
  - Install (Claude CLI): `claude mcp add forumulate-docs --transport http https://indrava.forumulate.com/help/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/eb86896a-9649-48ed-a1a6-566b48188df7/mcp`

This Markdown is the same content the page renders — safe to quote and to ground answers in.
