URL中的DialogFlow Prameter

发布于 2025-02-10 19:34:58 字数 487 浏览 1 评论 0 原文

can someone help please???, so i just want to pass parameters in dialogflow url webhook, but i didn't know how??`//here is the url
https://ef9c-41-141-192-237.ngrok.io/email/sendemail?toemail=$email&subject=$subject&text=$msg'
$msg $email $subject are the parametrs , but the apps can not read the params enter image description here

here is my intent with params

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南薇 2025-02-17 19:34:58

这不是对话流URL Webhook的工作方式。

预计Webhook URL的终点能够处理 DialogFlow JSON请求格式并使用响应格式回复。您的处理程序可以从该请求对象获取参数,然后使用您期望的参数格式调用端点。

This is not how the Dialogflow URL webhook works.

The end point of the webhook URL is expected to be able to handle a POST in the Dialogflow JSON Request format and to reply using the response format. Your handler can get the parameters from that request object and then call the endpoint using the parameter format that you expect.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文