Button options on prototypes
fsarti last edited by
Hi team, thank you for the amazing work! I'm wondering if you can help me with this one. When I'm building my prototypes I can't find a way to add either URLs or intent names to buttons (from carrousels or the button UI) that would relate to intents in other workflows that are not subject of that specific prototype. Is this possible? If so, how do I do it? Ultimately I'd like to have them exported to a json file via your API.
I appreciate if someone could answer me this one.
Vittorio from the Botsociety team here. So basically if I understand correctly, you would like to export your conversation so that a button (or a carousel button) triggers an intent that is not defined inside your design. Did I get it right?
If that’s the case, it’s possible to do that! What I would do is:
- Design your button and the rest of your conversation
- Add a message after your button as a placeholder
- Go to build mode
- Put the intent name that you want the message to link to. Even if the rest of the intent is not in your design
- Using our API you can export a JSON file with your conversation
Relevant documentation here: https://botsociety.io/documentation/build-mode/
Hope this helps, let me know if you have more questions
fsarti last edited by fsarti
Hi Vittorio, appreciate the answer, you got it right! Would it also work for URLs instead of intents? I tried to change one of the intents names to https://www.cnn.com, but it was transformed to https_www_cnn_com. I've checked the documentation, but couldn't find this specific answer.
vittoriobanfi last edited by vittoriobanfi
Great! If you would like to model a URL opening you can use the 'webview' message type. With the webview, you can show what happens when the user clicks on a URL. Mapping directly an intent to a URL is not supported as many bot building tools (Dialogflow, Rasa) do not allow it. Hope it clarifies! Please let me know if you have any other question
EDIT: In the new Botsociety, you can also link directly to an external website. Demo video: https://www.youtube.com/watch?v=p50UsmXY91M
kristina.csanaky last edited by
Hi @vittoriobanfi, I ran into a similar problem today: I'd like to add a URL to the button on the carousel.
I'd like to feature 3 products in a carousel with a 'View Product' button, that opens the product page in a popup window.
Then in the second part of the bot response, I need to add another prompt in order to move the conversation forward (since the CTA button in the carousel links to an optional 'external' content). Here is a screenshot of a similar interaction in Messenger:
I don't seem to be able to use the 'webview' message type, since I'm already using the carousel.
Is this something that I can build with Botsociety?
fsarti last edited by fsarti
@vittoriobanfi same thing as Kristina. I have lots of buttons on button cards and carousels that direct users to a webpage. It would be very important for me to be able to include the URLs in the JSON file that I want to export. Is this a difficult feature to add?
dmoehalley last edited by
Can't add buttons!
I don't see how I can even add button responses to conversations. Is that only available thru Enterprise?
@dmoehalley It's available to everyone! Just click on the top to change the message type to buttons, as shown here:
If you click on Simple Text you will switch message type