Hi, for most of the bots we build we really need the ability to send pro-active/welcome messages. It looks like this is currently no possible. Can you please build this ASAP and give a rough indication of when it will be available? I think almost every bot will need to be able to do this.
Solved! Go to Solution.
Currently the auto-triggered welcome message is not enabled for web canvas (It is enabled in Teams and Facebook Channel). To be able to trigger the welcome message in web canvas, a hidden event activity need to be sent to the bot by the canvas. The activity type="event" and name="startConversation".
There are some sample code on how to implement in canvas:
Making Bots start a conversation has been submitted as a idea on the Idea forum:
Can you please add your vote to it and leave a comment on you use case here:
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Make-bot-start-the-conversation/idi-p/404752
Currently the auto-triggered welcome message is not enabled for web canvas (It is enabled in Teams and Facebook Channel). To be able to trigger the welcome message in web canvas, a hidden event activity need to be sent to the bot by the canvas. The activity type="event" and name="startConversation".
There are some sample code on how to implement in canvas:
For more information on this be sure and check out:
https://docs.microsoft.com/en-us/power-virtual-agents/extend-custom-canvas-connect
Thanks! Can you please also share how to do this on Facebook Messenger?
In case of Facebook messenger, to proactively trigger messages, you send the desired topic trigger phase in the pay load of Get Started.
For example to trigger default Greeting topic:
curl -X POST -H "Content-Type: application/json" -d '{ "get_started": {"payload": "Hello"} }' "https://graph.facebook.com/v2.6/me/messenger_profile?access_token=<PAGE_ACCESS_TOKEN>"
You can find more details here.
We are working on a blog called "Make your bot start the conversation using custom Web Chat" which will come out soon. Stay tuned!
Is there any way to send Pro-active messages in Teams at 9:00 AM everyday
Join digitally, March 2โ4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Congratulations to our Season 1 2021 Super User Crew!
User | Count |
---|---|
4 | |
2 | |
2 | |
2 | |
1 |
User | Count |
---|---|
9 | |
3 | |
3 | |
2 | |
2 |