# How To Setup Telegram Automatic Reporting

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

1. Access your account by logging in at <https://crm-pipeline.kuasa.io/>.
2. Click **CRM Pipeline**.

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2F1GAxrSu8XToNMPO950jX%2Fimage.png?alt=media&#x26;token=a7b1c078-9fab-4e11-8114-a196c16b6930" alt=""><figcaption></figcaption></figure>

3. Click on the project name

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2Fo9qv5t5Co6PHDyS3gPqQ%2Fimage.png?alt=media&#x26;token=65590b95-ae8a-4b44-a1a0-327e7cfcd056" alt=""><figcaption></figcaption></figure>

4. Click **Edit** (top right)

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2Ftc7iaO1BxzQxdKBgVx5A%2Fimage.png?alt=media&#x26;token=41083110-7edc-4b11-b184-660e5189445b" alt=""><figcaption></figcaption></figure>

5. Under **Telegram Reporting**, fill in all the required details, change the Status to **Active**, set the time, and then click **Save Changes**.

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2FSy53mnrMIzRfP0kYQuWk%2Fimage.png?alt=media&#x26;token=9e9bbf77-6e62-40c3-9ed5-b14f1ce0611c" alt=""><figcaption></figcaption></figure>

6. Complete the information in the box, To get a **Telegram Group ID**, Please refer to the next step below.

## Telegram Setup

You need these 3 items in order to effectively use Telegram reporting.

* **Step 1**: Telegram bot & Telegram API access token&#x20;
* **Step 2**: Telegram Group ID

**Step 1: Add Telegram Bot.**

1. Go to Telegram and type **@BotFather** into the search bar.&#x20;
2. Start a conversation with **@BotFather**&#x20;
3. Send a message /newbot to **@BotFather** like the picture below.

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2F19De1VPPUR7n4Sjg5b5w%2Fimage.png?alt=media&#x26;token=85db4b1f-0d6b-46a7-985d-c90d36e0d741" alt="" width="371"><figcaption></figcaption></figure>

4. Then reply as in the example below.

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2FSAU5DH25jb6qcigHcxZO%2Fimage.png?alt=media&#x26;token=a2b98440-da10-4fda-91e5-54fbdefade88" alt="" width="372"><figcaption></figcaption></figure>

5. Congratulations, your **Telegram BOT API** has been successfully added.

**Step 2: Get Group Chat ID**

1. Invite the **Telegram BOT** user you just added to the group you want the system to send reporting notifications to by creating a new Telegram group and inviting them.

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2FHK5M9ZgX7ykJrG2ye6uN%2Fimage.png?alt=media&#x26;token=ef1afb2e-70ba-4587-ba74-73b811e9addd" alt="" width="375"><figcaption></figcaption></figure>

2. Copy and open the link from this telegram and make sure you change to your API. (Refer to the picture below to get your "API Access token"

**LINK TELEGRAM:**\
[https://api.telegram.org/bot\<API-access-token>/getUpdates](https://api.telegram.org/bot%3CAPI-access-token%3E/getUpdates?offset=0)

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2FZ9ZvsUpX4eeaDIjbRXYM%2Fimage.png?alt=media&#x26;token=ebc51ba2-1bf0-4769-98be-090c0b202712" alt="" width="372"><figcaption></figcaption></figure>

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2FxVXtZftaO2ZHuMsSlOYC%2Fimage.png?alt=media&#x26;token=2eeb5ecf-1c33-446a-977f-6073ca25ebdc" alt=""><figcaption></figcaption></figure>

3. **Copy id** in the chat then enter it in the box below.

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2FLuUmMtBqLnwJ0RqdplOH%2Fphoto_2024-08-26_17-07-231.jpg?alt=media&#x26;token=d0f1f4ff-15c0-417a-8979-674205efb6ac" alt=""><figcaption></figcaption></figure>

The last part of the setup is for you to enter the **Telegram API Key** in the settings.

1. Enter the Telegram API.

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2FLI6R2CvzrlplO34qayfu%2Fphoto_2024-08-26_17-07-232.jpg?alt=media&#x26;token=08b5bac9-788d-4255-b16a-62d44a09a580" alt=""><figcaption></figcaption></figure>

2. See the tutorial image below to learn how to obtain this **Telegram API**.

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2F8Zxu42WJGNziAfXhxlgI%2Fimage.png?alt=media&#x26;token=8faa6827-7575-4b83-94b6-dd8bf16e0fcc" alt="" width="372"><figcaption></figcaption></figure>

3. Done! You will receive this message through telegram at the scheduled time.

<figure><img src="https://2425544693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3QW4viTMK6zDjbpEqP2H%2Fuploads%2FSkSfW2WT3JhU4OF9RZ8H%2Fimage.png?alt=media&#x26;token=3cc0da5b-ca0b-442d-a947-10263c55117d" alt="" width="375"><figcaption></figcaption></figure>

4. Congratulations, your **Telegram reporting** setup was successful!
