> For the complete documentation index, see [llms.txt](https://docs.sonoransoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonoransoftware.com/bot/tutorials/sonoran-cms-integration/promotion-flows.md).

# Promotion Flows

## Triggering a Promotion Flow

You can trigger a Sonoran CMS [promotion flow](https://docs.sonoransoftware.com/cms/tutorials/user-management/rank-promotions) via the following commands

* `/promote`&#x20;
* `/demote`&#x20;

These commands can be used to trigger specific rank changes you have prior configured on Sonoran CMS. You can select up to 5 users at a time to trigger this flow on.&#x20;

<figure><img src="/files/eHFMmkOfkOZC3TApNkbJ" alt=""><figcaption><p>Sonoran Bot - Select up to 5 users</p></figcaption></figure>

Flow names are based on the ranks they add/ remove. You can type to begin searching for a specific flow you are looking for as shown below:

<figure><img src="/files/toCatpkwzu31bDNHWlbi" alt=""><figcaption><p>Sonoran Bot - Searching for specific promotion flows</p></figcaption></figure>

Upon successfully running a flow the users ranks will be updated in Sonoran CMS.

<div align="center" data-full-width="true"><figure><img src="/files/m4vOlpKQVcXX0mJdgRE6" alt=""><figcaption><p>Sonoran CMS - Rank updated</p></figcaption></figure> <figure><img src="https://cdn.discordapp.com/attachments/1067667756188696626/1435410810389139587/image.png?ex=690bddfd&#x26;is=690a8c7d&#x26;hm=fcd9cb51af2c425068caa24665004cb21106a2f96fe080ad7e50d3e317fd079e&#x26;" alt=""><figcaption><p>SonoranBot - Promotion Flow sucessful message</p></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sonoransoftware.com/bot/tutorials/sonoran-cms-integration/promotion-flows.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
