Webhook 集成
将捕获的潜在客户和事件实时推送到任何外部系统。将 PilotAgent 连接到您的 CRM、通知工具或自定义端点。Enterprise+ 计划可用。
Webhook 如何工作
Webhook 是一个在 PilotAgent 中发生事件时自动接收数据的 URL。当捕获潜在客户或发送消息时,PilotAgent 会立即将详细信息发送到您的 webhook URL。
POST https://your-api.com/webhook
Content-Type: application/json
{ "event": "lead_captured", "timestamp": "2026-03-14T12:00:00Z", "data": { "name": "Sarah Chen", "email": "sarah@example.com", "phone": "+1555-0198", "address": "123 Main St", "listing": "Mid-century dining table", "agent": "Main Account" } }
Content-Type: application/json
{ "event": "lead_captured", "timestamp": "2026-03-14T12:00:00Z", "data": { "name": "Sarah Chen", "email": "sarah@example.com", "phone": "+1555-0198", "address": "123 Main St", "listing": "Mid-century dining table", "agent": "Main Account" } }
设置 Webhook
- 1进入控制面板的 Webhook 部分
- 2输入您的 webhook URL(来自 Zapier、Make、n8n 或您自己的服务器)
- 3选择要发送的事件(潜在客户已捕获、消息已发送等)
- 4使用内置测试按钮测试连接
支持的事件
lead_captured
当从对话中提取到新的潜在客户时
message_sent
当 AI 发送自动回复时
conversation_started
当新的买家对话开始时
limit_warning
当接近您的每月消息限额时
常见集成
HubSpot / Salesforce
从捕获的潜在客户自动创建联系人
Google Sheets
通过 Zapier 为每个捕获的潜在客户添加新行
Slack / 电子邮件提醒
在高价值潜在客户进入时获得实时通知
重试逻辑
如果 webhook 投递失败(网络问题、服务器停机),PilotAgent 会使用指数退避进行重试。您可以在控制面板中查看投递状态和重试历史。不会丢失任何潜在客户数据。