foreign-sapphire
foreign-sapphire15mo ago

Teams Integration doesn't recognize Buttons

So i've integrated teams with voiceflow and i have the buttons pop up correctly, but let's say one of them is 'Alex' i click on it message with payload 'Alex' get's sent but it takes the no match path even though when i try it in the voiceflow directly or even just type 'Alex' in, it get's recognized as that path. Any one has experience with this?
3 Replies
Tico | Voiceflow Assistant
In Voiceflow, buttons can be configured to trigger specific events or paths in your flow. Here's how you can set up and manage buttons: 1. Button Configuration Each button should be defined with a unique name and a request type. For example:
buttons: [
{ name: 'Button A', request: { type: 'eventA', payload: 'example' } },
{ name: 'Button B', request: { type: 'eventB', payload: 'another-example' } }
]
buttons: [
{ name: 'Button A', request: { type: 'eventA', payload: 'example' } },
{ name: 'Button B', request: { type: 'eventB', payload: 'another-example' } }
]
When a button is clicked, it sends a request payload to the runtime. 2. Listen Functionality You can define a 'listen' command to respond to button clicks. For instance, clicking 'Button A' can trigger a function step to leave from a specific path. 3. No Match Configuration In cases where the user input doesn't match any button payloads, you can define a 'No Match' path. This can be set to reprompt your users or configure a fallback path. 4. Testing You can test the button functionality in the Voiceflow Prototype Tool to ensure that the buttons are working as expected. 5. Advanced Features Buttons can also be integrated into carousels and cards, which can trigger the 'listen' functionality. Here is an example of how you might configure a button with a payload:
trace: {
type: 'choice',
payload: {
buttons: [
{ name: 'Button A', request: { type: 'eventA', payload: 'example' } },
{ name: 'Button B', request: { type: 'eventB', payload: 'another-example' } }
]
}
}
trace: {
type: 'choice',
payload: {
buttons: [
{ name: 'Button A', request: { type: 'eventA', payload: 'example' } },
{ name: 'Button B', request: { type: 'eventB', payload: 'another-example' } }
]
}
}
For more detailed information, you can refer to the following resources: - Voiceflow Functions Documentation - Voiceflow Buttons Configuration
foreign-sapphire
foreign-sapphireOP15mo ago
Thanks Tico, anyway here is a image of teams chat, it's in different langauge but it doesn't matter, i tried clicking 'Pracovný inzerát' and i've tried simple names without the signs of my langauge and it didn't help. Also here is a short part from teams which get's sent to voiceflow
_activity: {
text: 'Pracovný inzerát',
textFormat: 'plain',
type: 'message',
_activity: {
text: 'Pracovný inzerát',
textFormat: 'plain',
type: 'message',
No description
foreign-sapphire
foreign-sapphireOP15mo ago
so i think voiceflow should be able to recognize it and i'm not sure where the problem is

Did you find this page helpful?