การเชื่อมต่อ WhatsApp สำหรับแชทบอท AI
เกี่ยวกับการเชื่อมต่อนี้
WhatsApp เป็นการเชื่อมต่อที่ได้รับความนิยมสูงสุดบน Botpress ช่วยให้ผู้สร้างสามารถเชื่อมต่อแชทบอทและ AI agent กับแพลตฟอร์มส่งข้อความ WhatsApp ได้
โดยปกติแล้ว ผู้ใช้ของเราจะใช้การเชื่อมต่อ WhatsApp เพื่อเปิดใช้งานแชทบอทบน WhatsApp ไม่ว่าจะเป็นสำหรับบริการลูกค้า การดูแลลูกค้าเป้าหมาย หรือการสื่อสารข้อมูลอื่น ๆ ที่เกิดขึ้นผ่าน WhatsApp
การเชื่อมต่อนี้สร้างขึ้นบน WhatsApp Business API อย่างเป็นทางการ ทำให้ทุกการโต้ตอบปลอดภัย เชื่อถือได้ และเป็นไปตามนโยบายของ WhatsApp
การเชื่อมต่อที่เตรียมไว้ล่วงหน้าของเราช่วยให้คุณ สร้างแชทบอท WhatsApp ได้อย่างง่ายดาย ไม่ว่าคุณจะมีทักษะการเขียนโค้ดระดับใดก็ตาม
ฟีเจอร์เด่น
- ทำให้การสนทนากับลูกค้าเป็นอัตโนมัติ
- ส่งการแจ้งเตือนแบบเรียลไทม์
- รองรับข้อความมัลติมีเดีย (รูปภาพ วิดีโอ ข้อความเสียง)
- ปรับแต่งคำตอบด้วยข้อมูลจากแชทบอท
- เปิดใช้งานการสนทนาแบบสองทางกับผู้ใช้
- กระตุ้น workflow จากการโต้ตอบบน WhatsApp
- ขยายการสนับสนุนไปยังหลายภูมิภาคและหลายภาษา
- รักษาความสอดคล้องตามข้อกำหนดของ WhatsApp Business API
คำถามที่พบบ่อย
แพลตฟอร์มแชทบอทใดบ้างที่เชื่อมต่อกับ WhatsApp ได้?
คุณสามารถเชื่อมต่อได้โดยสมัครขอใช้ WhatsApp Business API และเชื่อมโยงแพลตฟอร์มแชทบอทของคุณกับบัญชีที่ได้รับอนุมัติ แพลตฟอร์มส่วนใหญ่ รวมถึง Botpress มีตัวเชื่อมต่อที่ให้คุณเพิ่มข้อมูลรับรอง WhatsApp Business หมายเลขโทรศัพท์ และเทมเพลตต่าง ๆ เมื่อเชื่อมต่อแล้ว แชทบอทจะสามารถส่งและรับข้อความผ่าน WhatsApp ได้
จะเชื่อมต่อแชทบอทกับ WhatsApp Business API ได้อย่างไร?
คุณต้องมีบัญชี WhatsApp Business หมายเลขโทรศัพท์ที่ได้รับการยืนยัน และได้รับอนุมัติจาก Meta สำหรับการเข้าถึง API หากขาดอย่างใดอย่างหนึ่ง จะไม่สามารถเปิดใช้งานแชทบอท WhatsApp ในการใช้งานจริงได้
การเชื่อมต่อแชทบอทกับ WhatsApp มีค่าใช้จ่ายเท่าไร?
การเชื่อมต่อแชทบอทกับ WhatsApp บนแพลตฟอร์มอย่าง Botpress ไม่มีค่าใช้จ่าย แต่เมื่อคุณเปิดใช้งานบอทแล้ว คุณจะต้องจ่ายค่าบริการให้กับ API ของ LLM และ WhatsApp (Meta) โดยปกติจะอยู่ที่ประมาณ $0.008 ถึง $0.063 ดอลลาร์สหรัฐต่อข้อความ หรือประมาณ $50-$150 ต่อเดือน ขึ้นอยู่กับปริมาณผู้ใช้
จำเป็นต้องมีบัญชีธุรกิจที่ได้รับการยืนยันเพื่อใช้แชทบอท WhatsApp หรือไม่?
ใช่ ต้องมีการยืนยันเพื่อเข้าถึง Business API และเพื่อให้แน่ใจว่าข้อความเป็นไปตามกฎของ WhatsApp
แชทบอท WhatsApp สามารถส่งรูปภาพ ไฟล์ หรือข้อความเสียงได้หรือไม่?
ได้ แชทบอท WhatsApp รองรับข้อความ รูปภาพ PDF เอกสาร วิดีโอ และข้อความเสียง สำหรับข้อความที่ส่งออกเชิงรุก มักต้องส่งผ่านเทมเพลตข้อความที่ได้รับการอนุมัติล่วงหน้า ส่วนการสนทนาที่ผู้ใช้เริ่มต้นสามารถตอบกลับด้วยมัลติมีเดียได้อย่างอิสระ
แชทบอท WhatsApp ปลอดภัยและเป็นไปตามกฎคุ้มครองข้อมูลหรือไม่?
ใช่ หากสร้างบน WhatsApp Business API อย่างเป็นทางการ การสื่อสารทั้งหมดจะถูกเข้ารหัสแบบ end-to-end และ Meta บังคับใช้ตาม GDPR และมาตรฐานความเป็นส่วนตัวในแต่ละภูมิภาค ความปลอดภัยยังขึ้นอยู่กับวิธีที่แพลตฟอร์มแชทบอทของคุณจัดเก็บข้อมูลลูกค้า ดังนั้นผู้สร้างควรตั้งค่าการควบคุมการเข้าถึงที่เหมาะสมและปฏิบัติตามข้อกำหนดของอุตสาหกรรม
ฉันต้องเตรียมอะไรบ้างก่อนจะตั้งค่าแชทบอทบน WhatsApp?
คุณต้องมีบัญชี WhatsApp Business หมายเลขโทรศัพท์ที่ได้รับการยืนยัน และได้รับอนุมัติจาก Meta สำหรับการเข้าถึง API หากขาดอย่างใดอย่างหนึ่ง จะไม่สามารถเปิดใช้งานแชทบอท WhatsApp ในการใช้งานจริงได้
ใช้เวลานานแค่ไหนในการขออนุมัติการเข้าถึง WhatsApp API?
โดยปกติจะใช้เวลาหลายวัน แต่บางกรณีอาจนานถึงสองสัปดาห์ ขึ้นอยู่กับการตรวจสอบของ Meta ซึ่งจะตรวจสอบข้อมูลธุรกิจ การเป็นเจ้าของหมายเลขโทรศัพท์ และความสอดคล้องกับนโยบายของ WhatsApp
<iframe src="https://www.youtube.com/embed/Kt4Ay_q-WKI" ></iframe>
The WhatsApp integration allows your AI-powered chatbot to seamlessly connect with WhatsApp, one of the most popular messaging platforms worldwide. Integrate your chatbot with WhatsApp to engage with your audience, automate conversations, and provide instant support. With this integration, you can send messages, handle inquiries, deliver notifications, and perform actions directly within WhatsApp. Leverage WhatsApp's powerful features such as text messages, media sharing, document sharing, and more to create personalized and interactive chatbot experiences. Connect with users on a platform they already use and enhance customer engagement with the WhatsApp Integration for Botpress.
## Migrating from 3.x to 4.x
### Automatic downloading of media files
Previously, accessing the content of media messages (such as images, videos, audio and documents) required authenticating with the WhatsApp API using a valid token. In version 4.0 of WhatsApp, the _Download Media_ parameter enables automatic downloading of media files. These downloaded files do not require authentication for access. However, they do count against your workspace's file storage. To continue using the WhatsApp API URLs, set the _Download Media_ parameter to disabled. The _Downloaded Media Expiry_ parameter allows you to set an expiry time for downloaded files.
### Interactive messages values
In version 4.0 of WhatsApp, all incoming button and list reply messages will include both the text displayed to the user (_text_) and the payload (_value_). Use `event.payload.text` to retrieve the label of a button or choice, and use `event.payload.value` to access the underlying value.
### _postback_ and _say_ messages prefix
In version 4.0 of WhatsApp, _postback_ and _say_ messages no longer use the prefixes `p:` or `s:`. If your bot relied on these prefixes for logic or transitions, you can update it to depend solely on the value set for the postback.
### Start conversation
Version 4.0 of WhatsApp introduces small changes in the call signature of the `startConversation` action:
- The `senderPhoneNumberId` parameter has been renamed to `botPhoneNumberId`
- The input object now includes a single property called `conversation`, which contains the actual arguments
If your bot used the `startConversation` action, make sure all parameters are set. Also, if you called `startConversation` from code, make sure the action is called with the correct arguments:
```ts
actions.whatsapp.startConversation({
conversation: {
userPhone: '+1 123 456 7890',
templateName: 'test_message',
templateLanguage: 'en',
templateVariablesJson: JSON.stringify(['First value', 'Second value'])
botPhoneNumberId: '1234567890'
}
})
```