如何从 Studio 中的聊天流发送短信
我有一个工作室流程,可以接收聊天消息(来自 Whatsapp)并将对话转发到 Flex。
发生这种情况时,我正在尝试向硬编码号码发送短信通知。
问题是短信从未发送,并且发送消息小部件失败并显示以下日志:发送消息失败:聊天服务或通道参数丢失
我了解这可能是因为流程具有聊天上下文并且小部件需要聊天服务。但我想发短信。
我尝试像这样配置“发送消息”小部件:
SEND MESSAGE FROM
和SEND MESSAGE TO
设置,所有其他配置字段为空SEND MESSAGE FROM
和使用消息服务 ID 的SEND MESSAGE TO
和PROGRAMMABLE CHAT SERVICE
(这实际上没有意义,但是嘿......)
都不起作用。
如何从 Studio 中的聊天流程发送短信?
I have a studio flow that receives chat messages (from Whatsapp) and forward the conversation to Flex.
I'm trying to send a SMS notification to a hard-coded number as this happen.
The issue is that the SMS is never sent and the Send Message widget fails with the following log:Failure sending message: Chat service or channel parameter missing
I understand that it's probably because the flow has a Chat context and that the widget expects a Chat Service. But I want to send a SMS.
I tried to configure the Send Message widget like this:
SEND MESSAGE FROM
andSEND MESSAGE TO
set and all other config fields emptySEND MESSAGE FROM
andSEND MESSAGE TO
andPROGRAMMABLE CHAT SERVICE
with a Messaging Service ID (which doesn't really make sense but hey...)
Neither worked.
How can I send a SMS from a Chat flow in Studio?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚能够构建一个快速的 Studio Flow,它可以接收来自 WhatsApp 的消息并向硬编码号码发送短信,它对我很有用。我的方法是对消息发送和发送消息中的发送消息和发送消息至号码进行硬编码。 发送消息小部件的聊天配置部分,如下所示:
< img src="https://i.sstatic.net/YlPrh.png" alt="在此处输入图像描述">
在这种情况下,您必须确保发送消息号码是一个 Twilio 数能够发送短信。
I was just able to knock up a quick Studio Flow that receives messages from WhatsApp and sends out an SMS to a hard-coded number and it worked for me. The way I did it was to hard code both the Send message from and Send message to numbers in the Messaging & chat config section of the Send Message widget, like this:
In this case you must ensure that the Send message from number is a Twilio number that is able to send SMS messages.