> For the complete documentation index, see [llms.txt](https://docs.bragabot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bragabot.com/for-projects/workflow.md).

# Workflow

## How Live Twitter Mentions & My Tweets Forwarding works ?

Bragabot's "Live Twitter Mentions" and "My Tweets Forwarding" system creates a dynamic interface between Twitter and Telegram. Through an intricate series of steps, we channel tweets from a global scale, filter them for relevance, analyze their content, and finally, present them in partner's Telegram group where users can interact and engage with the tweet. This workflow offers a detailed breakdown of each stage and the technology underpinning it.

<div data-full-width="false"><figure><img src="https://1021564205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5H2vjK78xNv2d8pTWmGZ%2Fuploads%2FugrtnmPUtC084pqhiAGh%2FColorful%20Business%20Step%20by%20Step%20Guide%20Graph%20(3).png?alt=media&amp;token=3a3a0a12-0572-4cca-9556-0461634716c9" alt=""><figcaption></figcaption></figure></div>

#### 1. Worldwide Tweets

Worldwide Tweets encompasses the entirety of tweets produced across the Twitter platform. It captures tweets from every user globally, ensuring a rich dataset for the subsequent stages of our workflow.

* **Methodology**:
  * **Twitter Streaming API**: Our system actively employs the Twitter Streaming API. This allows us to real-time monitor and fetch tweets relevant to our partners based on specific hashtags, cashtags, and their Twitter accounts.

#### 2. Project Filtered Tweets

In this stage, tweets that hold relevance to our partners are isolated from the global dataset utilizing Twitter’s real-time streaming API. A distinctive characteristic here is the perpetually live data flow, circumventing the traditional batch-based data retrieval methods.

#### 3. Bragabot Custom Endpoint

Upon receipt of the real-time streamed tweets, further processing takes place at the Bragabot’s Custom Endpoint.

* **Functionality**:
  * **Data Extraction**: The endpoint is adept at extracting comprehensive details from the incoming tweet’s response. Key information gleaned includes:
    * Tweet text
    * Accompanying tweet images
    * Author of the tweet
    * Public metrics of the tweet's author
    * Incorporated tags
    * Entities, and more.

#### 4. Bragabot AI

Every tweet response procured is subsequently funneled to the Bragabot AI for detailed scrutiny.

* **Responsibilities**:
  * **Tweet Analysis**: Bragabot AI meticulously analyzes incoming tweets to ascertain their relevance to the project's scope.
  * **Spam Filtering**: A vital function is the discernment and filtration of spam or irrelevant content.
  * **Forwarding**: Post the validation and analysis phase; if a tweet aligns with project criteria and is deemed non-spam, it gets routed to @TheBragabot for the next phase.

#### 5. @TheBragabot

@TheBragabot represents the frontline of our system

* **Functionality**:
  * @TheBragabot  meticulously evaluates incoming tweets and relays the tweet to the designated Project Telegram Group.

#### 6. Project Telegram Group

It acts as the final destination where the project tweets are delivered, where members can view and interact with the content relayed by @TheBragabot.
