quickest-silver•17mo ago
Adaptive Cards in Voiceflow
Hello everyone,
I'm a beginner and I'm curious to know if it's possible to use adaptive cards (or the JSON payload) in Voiceflow. Could anyone kindly guide me on whether it's achievable and, if so, the steps I should follow to implement it? I'd really appreciate your help!
Thank you in advance.
2 Replies
Voiceflow does not directly support Adaptive Cards. However, you can use the JSON payload to send custom responses, which can include Adaptive Cards if your platform supports it. Here's a general guide on how you can do this:
1. Create your Adaptive Card: You'll need to design your Adaptive Card using the Adaptive Cards designer or manually write the JSON payload for the card.
2. Use the JSON payload in Voiceflow: In Voiceflow, you can use the "Code" block to set a variable to the JSON payload of your Adaptive Card. For example, you might create a variable named
adaptiveCard
and set it to the JSON payload.
3. Send the Adaptive Card: You can use the "Speak" block in Voiceflow to send the Adaptive Card. In the "Speak" block, you would reference the adaptiveCard
variable you created earlier.
Please note that this method requires your platform (like Microsoft Teams or any other platform that supports Adaptive Cards) to be able to interpret the JSON payload as an Adaptive Card. Voiceflow itself does not interpret or display Adaptive Cards.
Remember, the actual implementation may vary based on the specifics of your project and the platform you're using. Always refer to the documentation of your specific platform for the most accurate information.quickest-silverOP•17mo ago
this is great! Thanks for the quick response.