-
Notifications
You must be signed in to change notification settings - Fork 1.5k
en tags webhook
langbot-wiki-sync[bot] edited this page Jul 29, 2026
·
1 revision
Webhooks allow you to send bot message events to external services for processing.
- In LangBot WebUI, click "API Integration" in the sidebar
- Switch to the "Webhooks" tab
- Click "+" to create a new webhook
- Fill in:
- Name: Webhook identifier
- URL: Target URL to receive events
- Description: Optional
- Status: Enable or disable
{
"uuid": "event-unique-id",
"event_type": "bot.person_message",
"data": {
"bot_uuid": "bot-uuid",
"adapter_name": "AdapterName",
"sender": {
"id": "user-id",
"name": "User Name"
},
"message": [
{
"type": "Plain",
"text": "Message content"
}
],
"timestamp": 1234567890
}
}{
"uuid": "event-unique-id",
"event_type": "bot.group_message",
"data": {
"bot_uuid": "bot-uuid",
"adapter_name": "AdapterName",
"group": {
"id": "group-id",
"name": "Group Name"
},
"sender": {
"id": "user-id",
"name": "User Name"
},
"message": [
{
"type": "Plain",
"text": "Message content"
}
],
"timestamp": 1234567890
}
}Webhook services should return JSON:
{
"status": "ok",
"skip_pipeline": false
}- status: Processing status (recommend "ok")
-
skip_pipeline: Whether to skip LangBot pipeline processing
-
true: Message won't continue in pipeline -
false: Message proceeds normally
-
Tip
skip_pipeline lets you completely take over message processing. When true, the message is only handled by your webhook service and won't trigger LangBot's AI features.
Use the dify-plugin-langbot-trigger plugin to receive LangBot webhook events and create workflows in Dify.
- Webhook URL must be accessible
- Request timeout: 15 seconds
- Failed requests don't affect normal processing
- Multiple webhooks execute in parallel
- Any webhook returning
skip_pipeline: trueskips pipeline processing
Automatically synchronized from langbot-app/langbot-wiki.
简体中文
指南
开发者
- 插件开发
- 插件 SDK API
- 核心开发
API 参考
- Service API
English
Guides
Developers
-
Plugin Development
- Plugin Development Tutorial
- Completing Plugin Configuration Information
- Plugin Directory Structure
- Component Development
- Code Style Guide
- Migration Guide
- Publish Plugin
- Plugin SDK API
- Core Development
API Reference
- Service API