Dialogflow Messenger Specify Environment

285 views
Skip to first unread message

Kevin MacDermid

unread,
Dec 17, 2020, 10:05:10 AM12/17/20
to Dialogflow CX Edition users
Hello, simple request I think, not sure if it's implemented yet.

I want to provide a demo of the agent using Dialogflow Messenger, and I'd like it to link to a specific environment. The way to do this wasn't obvious to me.

Here's what I tried, I found the environment resource name, and I tried providing it in the agent-id field of df-messenger element, so it looks like

<df-messenger
df-cx="true"
chat-title="title"
agent-id="<agent_id>/environments/<environment_id>"
language-code="en"
expand=true>
</df-messenger>

But the bot will not respond and I get a CORS error in the console. The bot does respond when I use just agent-id. Is this just a matter of the feature not existing? Or am I not providing the parameter correctly?

Mark Jonathan Pagatpat

unread,
Dec 29, 2020, 11:55:32 AM12/29/20
to Dialogflow CX Edition users

Unfortunately, setting the environment feature for Dialogflow CX messenger is currently not available. You can stay tuned to our Release Notes for updates: https://cloud.google.com/dialogflow/docs/release-notes.

Agent ID format should only contain the Agent ID as stated in the documentation.
Reply all
Reply to author
Forward
0 new messages