You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

关于使用Salesforce LiveAgent REST API发送客户消息及实现Agent身份程序化发消息的技术求助

使用Salesforce LiveAgent REST API发送客户消息及实现Agent身份程序化发消息的技术求助

我最近在研究Salesforce Live Agent聊天REST API,想找到一种程序化发送Agent身份消息的方法,但一直卡着没进展。

比如这个端点:
/salesforceliveagent.com/chat/rest/Chasitor/ChatMessage
看起来只能用来发送客户(Patron)的消息,完全没法以Agent身份发送内容?想问问Salesforce有没有对应的开放API支持Agent身份发消息?这样我就能对接第三方平台,让Agent在外部平台回复,不用必须在Salesforce系统里操作了。

之前我试着问过ChatGPT,它给的请求体格式是这样的:

{ 
  "text": "Hello, how can I help you?",
  "senderType": "Agent",
  "senderName": "John Doe"
}

但实际调用后完全没效果,消息还是显示是Patron发送的。有没有懂行的朋友能指点一下?万分感谢!

备注:内容来源于stack exchange,提问作者James D

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.23 13:07:40