แท่น
หน้าตา
สตูดิโอตัวแทน
สร้างและปรับแต่งตัวแทนของคุณอย่างรวดเร็ว
เครื่องยนต์อัตโนมัติ
ใช้ LLMs เพื่อเป็นแนวทางการสนทนาและงานต่างๆ
ฐานความรู้
ฝึกบอทของคุณด้วยแหล่งความรู้ที่กําหนดเอง
ตาราง
จัดเก็บและจัดการข้อมูลการสนทนา
ช่อง
Whatsapp ตราสัญลักษณ์
WhatsApp
Instagram ตราสัญลักษณ์
Instagram
เฟสบุ๊ค Messenger โลโก้
Messenger
Slack โลโก้
Slack
ทุกช่องทาง
การบูรณาการ
โลโก้ฮับสปอต
ฮับสปอต
Notion โลโก้
Notion
โลโก้ Jira
จิรา
Calendly โลโก้
Calendly
การบูรณาการทั้งหมด
LLM ผู้ให้บริการ
OpenAI โลโก้
OpenAI
Anthropic โลโก้
Anthropic
Groq โลโก้
Groq
โลโก้ HuggingFace
Hugging Face
ทั้งหมด LLMs
โซ ลู ชั่น
เพื่อ
องค์กร
ทำให้เวิร์กโฟลว์การผลิตที่สำคัญต่อภารกิจเป็นอัตโนมัติ
เอเจนซี่
ให้บริการตัวแทนที่มีความซับซ้อน
นักพัฒนา
สำรวจ API ที่แข็งแกร่งสำหรับการพัฒนาตัวแทน
เรื่องราวของลูกค้า
ค้นพบจากลูกค้าที่ประสบความสําเร็จว่า Botpress กําลังเปลี่ยนแปลงธุรกิจทั่วโลก
ตามอุตสาหกรรม
อีคอมเมิร์ซ
การศึกษา
การเงิน
การต้อนรับ
ทุกอุตสาหกรรม
ตามแผนก
ขาย
วิศวกรรม
ผลิตภัณฑ์
ไอทีเอสเอ็ม
ทุกแผนก
ตามกรณีการใช้งาน
ผู้ช่วยช้อปปิ้ง
การสร้างโอกาสในการขาย
ประสบการณ์ของพนักงาน
การจัดการตั๋ว
กรณีการใช้งานทั้งหมด
ทรัพยากร
จำเป็น
Academy
เรียนรู้การสร้างผ่านหลักสูตรที่คัดสรรมา
ห้องสมุด
ทรัพยากรเพื่อเพิ่มประสิทธิภาพเวิร์กโฟลว์ AI ของคุณ
บล็อก
ข้อมูลเชิงลึกและการอัพเดทเกี่ยวกับ Botpress และตัวแทน AI
อาคาร
Discord
เข้าร่วมกับเพื่อนร่วมงานหลายพันคนและแบ่งปันความคิด
เอกสาร
คำแนะนำและเอกสารอ้างอิงที่ครอบคลุม
เอพีไอ
เอกสารอ้างอิงสำหรับใช้งานกับระบบภายนอก
LLM การจัดอันดับ
เปรียบเทียบประสิทธิภาพและต้นทุนสำหรับผู้ให้บริการโมเดล
วิดีโอ
บทช่วยสอน การสาธิต และการแนะนำผลิตภัณฑ์
บันทึกการเปลี่ยนแปลง
ติดตามข้อมูลอัปเดตล่าสุด Botpress อัพเดท
พันธมิตร
มาเป็นหุ้นส่วน
เข้าร่วมเครือข่ายผู้เชี่ยวชาญที่ผ่านการรับรองของเรา
จ้างผู้เชี่ยวชาญ
เชื่อมต่อกับคู่ค้าและที่ปรึกษา
เอกสาร
องค์กร
ราคา
เข้าสู่ระบบ
ติดต่อไซน์อัพ
กลับไปที่ Hub

แชทสด HITL

v3.0.1
ติดตั้งบนพื้นที่ทํางานของคุณ
ดูแลโดย Botpress ทีมเติบโต
  # LiveChat HITL Integration

This integration allows Botpress to use LiveChat as a HITL (Human in the Loop) provider. Messages from the bot will appear in LiveChat, and agent responses will be sent back to the bot.

## Features

- Seamless integration between Botpress and LiveChat
- Real-time message synchronization
- Support for text messages
- Automatic chat session management
- Webhook-based event handling
- Group-based routing for HITL conversations

## Configuration

The integration requires the following configuration:

- `clientId`: Your LiveChat client ID
- `organizationId`: Your LiveChat organization ID
- `webhookSecret`: Secret key for webhook verification
- `agentToken`: Your LiveChat personal agent token (Base64 encoded)
- `groupId`: LiveChat Group ID for routing HITL conversations

## LiveChat App Setup for Botpress Integration

This guide walks you through the creation and configuration of a LiveChat app via [platform.text.com](https://platform.text.com) to enable integration with your Botpress chatbot.

> 📹 **Video Guide**: Watch our step-by-step setup guide on [Loom](https://www.loom.com/share/c291c86a10e3496791dd32f6c0b0c64c?sid=84100a6a-b699-4363-89f2-194458c4a8ad)

### Step-by-Step Instructions

#### 1. Create a New App

- Navigate to [https://platform.text.com/console/apps](https://platform.text.com/console/apps)
- Click **"Build App"**
- Enter your app name
- Ensure **Livechat** is selected as the product
- Click **"Create App"**

#### 2. Add the App Authorization Block

- Go to **Blocks**
- Click **"Add Building Block"**
- Choose **App Authorization → Server-side App**
- Copy the **Client ID**
- In your **Botpress LiveChat integration config**, paste this Client ID
- Add the following scope:

  ```
  chats.conversation--all:rw
  ```

- **Important:** Add your **Botpress webhook URL** to the **Redirect URIs** field in this block

#### 3. Add Your Organization ID

- Go to [https://platform.text.com/console/settings/account](https://platform.text.com/console/settings/account)
- Copy your **Organization ID**
- Paste it into your **Botpress LiveChat integration config**

#### 4. Get Your Personal Agent Token

- Navigate to [https://platform.text.com/console/settings/authorization/personal-access-tokens](https://platform.text.com/console/settings/authorization/personal-access-tokens)
- Click **"Create Token"**
- Give your token a descriptive name (e.g., "Botpress HITL Integration")
- Select the following scopes:
  - `chats--access:rw`
- Click **"Create Token"**
- **Important:** Copy the Base64 encoded token immediately as it won't be shown again
- In your **Botpress LiveChat integration config**, paste this Base64 encoded token in the `agentToken` field

#### 5. Configure Group Routing

- In LiveChat, go to **Settings → Groups**
- Create a new group specifically for HITL conversations or note the ID of an existing group
- Copy the **Group ID** (this will be a number)
- In your **Botpress LiveChat integration config**, paste this Group ID in the `groupId` field
- **Note:** All HITL conversations will be routed to this group
- **Important:** By default, the initial agent assignment will be the agent that created the chat, so that agent must be in the specified group. Additionally, there need to be other available agents in the group besides the initial agent for the assignment to work properly. If necessary, you can set primary/backup agents in the group configuration.

#### 6. Configure Webhooks

##### a. Incoming Event Webhook

- In the **Blocks** section, add a **Chat Webhooks** block
- Set the **Webhook URL** to your **Botpress LiveChat integration webhook URL**
- **Generate a secret key** and use the same key in your Botpress config
- Set the following:

  - **Type**: `license`
  - **Trigger**: `incoming_event`
  - **Filter**: `author_type = agent`

- Click **Save**

##### b. Chat Deactivated Webhook

- Add another **Chat Webhooks** block
- Use the **same webhook URL** and **secret key**
- Set:

  - **Trigger**: `chat_deactivated`
  - **Type**: `license`

- Click **Save**

##### c. Chat Transferred Webhook

- Add one more **Chat Webhooks** block
- Use the **same webhook URL** and **secret key**
- Set:

  - **Trigger**: `chat_transferred`
  - **Type**: `license`

- Click **Save**

#### 7. Finalize App Setup

##### a. Add an Icon

- Go to the **Listing Details** section
- Upload a **random icon** for your app (any image will work)

##### b. Install the App

- Go to the **Private Installation** tab
- Click **"Install App"**

### Summary of Required Botpress Config

- **Client ID**: From App Authorization block
- **Organization ID**: From Account Settings
- **Secret Key**: From webhook setup
- **Agent Token**: From Personal Access Tokens (Base64 encoded)
- **Group ID**: From LiveChat Groups settings
- **Webhook URL**: Provided by Botpress
- **Scopes**: `chats.conversation--all:rw`
- **Redirect URI**: Must include your Botpress webhook URL in the App Auth block

## Usage

1. Configure the integration with your LiveChat credentials
2. Start a chat session using the `startHitl` action
3. Messages from the bot will appear in LiveChat
4. Agent responses in LiveChat will be sent back to the bot
5. All HITL conversations will be automatically routed to the specified group

## Events

The integration handles the following LiveChat events:

- `incoming_event`: New messages from agents
- `chat_deactivated`: Chat session ended
- `chat_transferred`: Chat transferred to another agent

## Security

- Webhook verification using a secret key
- OAuth2 authentication for API calls
- Personal agent token authentication
- Secure token management

## Support

For support, please contact the Botpress team or refer to the [LiveChat API documentation](https://developers.livechat.com/).

สร้างสิ่งที่ดีกว่าด้วย Botpress

สร้างประสบการณ์ตัวแทน AI ที่น่าทึ่ง

เริ่มต้นใช้งานฟรี
ไอคอนลูกศร
เรียนรู้เพิ่มเติมที่ Botpress Academy

สร้างตัวแทน AI ได้ดีขึ้นและรวดเร็วยิ่งขึ้นด้วยหลักสูตร คำแนะนำ และบทช่วยสอนที่เราคัดสรรมา

จ้างผู้เชี่ยวชาญ

เชื่อมต่อกับนักพัฒนาที่ผ่านการรับรองของเราเพื่อค้นหาผู้สร้างผู้เชี่ยวชาญที่เหมาะกับความต้องการของคุณ

การดําเนินงานของระบบทั้งหมด
SOC 2
รับรอง
จีดีพีอาร์
ได้มาตรฐาน
© 2025
แท่น
ราคา
สตูดิโอตัวแทน
เครื่องยนต์อัตโนมัติ
ฐานความรู้
ตาราง
ฮับ
การบูรณาการ
ช่อง
LLMs
ทรัพยากร
พูดคุยกับฝ่ายขาย
การเอกสาร
จ้างผู้เชี่ยวชาญ
วิดีโอ
เรื่องราวของลูกค้า
ข้อมูลอ้างอิง API
บล็อก
สถานะ
ทรัพยากร v12
ชุมชน
การสนับสนุนชุมชน
มาเป็นหุ้นส่วน
มาเป็นเอกอัครราชทูต
ร่วมเป็นพันธมิตร
บริษัท
ประมาณ
อาชีพ
ข่าวสาร
ชอบด้วยกฎหมาย
ความเป็นส่วนตัว
Botpress 2025