adverse-sapphire
adverse-sapphire2y ago

How to add a phone number type to Open URL/hyperlink?

If I just use html, I can specify the type of link like this: a href="tel:1234..". But, there is no such option in card or text or even ai. Is there any easy solution for this?
31 Replies
Tico | Voiceflow Assistant
To add text or a hyperlink in Voiceflow, you can use the Text Markup Editor. Here’s how you can do it: 1. Adding Text Markup: - Access Text mode by selecting it from the assistant's top menu or using the keyboard shortcut T. - Click on the canvas where you want to add your text. 2. Creating a Hyperlink: - Type the text you want to display as the hyperlink. - Highlight the text you want to turn into a hyperlink. - Click the link icon in the Text Markup Editor or use the keyboard shortcut CMD/Ctrl + K. - Input your desired link and hit enter. This will create a clickable link in your Voiceflow project. For more detailed instructions, you can refer to the Voiceflow documentation on Text Markup.
adverse-sapphire
adverse-sapphireOP2y ago
The bot is answering for something else above @Tico | Voiceflow Assistant
W. Williams (SFT)
You can create the card using a Custom Action block. 🙂
adverse-sapphire
adverse-sapphireOP2y ago
@W. Williams (SFT) , thanks for your comment. I looked at Custom Action but not sure what you mean. Actually, I found the issue is with Text block. I can create tel: link in path for button and card paths, but it does not look good in terms of style and alignment for long text. Here is the issue with text block. even when I create tel:link it strip off the tag, while mailto works.
adverse-sapphire
adverse-sapphireOP2y ago
No description
adverse-sapphire
adverse-sapphireOP2y ago
No description
adverse-sapphire
adverse-sapphireOP2y ago
Here is the one I created with card/buttons (fake details). It does not look good.
No description
adverse-sapphire
adverse-sapphireOP2y ago
Perhaps, I can build a custom card with code, but it is a bit of hassle... @KimLooo Perhaps, the team can add the functionality to the text box for tel: link?
W. Williams (SFT)
ok, just create a card, add a button and then in the URL enter tel:12345... see if that works. Never tried it but it should work.
adverse-sapphire
adverse-sapphireOP2y ago
@W. Williams (SFT) yup, I tried that as in the screenshot above, and it does work But, the styling looks terrible. I spent some time this evening, I managed to do it with custom Extension and custom action block. But, it is such a hassle. It is no longer no code just to add tel: link... I hope VF will fix this very soon @NiKo | Voiceflow . Anyway, now I know how to create custom extensions, and I achieved the outcome I wanted. So, that is good. Oh, but extension is somehow limited as I cannot import it into the VF workflow. I can only test it on a site.
fair-rose
fair-rose2y ago
@nobyf Why don't you just have the buttons saying stuff like, "Email us, Call our Office, call oru mobile, visit us" and then have it linked to literally call or email them and have the "visit us" link it to a google maps link
adverse-sapphire
adverse-sapphireOP2y ago
Sometimes user wants to see these details without being hidden. @whipabenz
fair-rose
fair-rose2y ago
Okay then just have a button for contact information and then when they ask you for particular contact give them only that
adverse-sapphire
adverse-sapphireOP2y ago
I have one like that. But for this use case, we need them displayed just like emails.
fair-rose
fair-rose2y ago
NOT in a carousel/card Let me show you
fair-rose
fair-rose2y ago
No description
fair-rose
fair-rose2y ago
It's just going to look ugly if you try to display that in buttons use text blocks Maybe use dynamic buttons if you know how to do that
adverse-sapphire
adverse-sapphireOP2y ago
So, you are using text box? Our email is .. I am taking about phone numbers. Can have buttons, etc. But not display the number that is clickable. I guess we can separate the number to display and button to call, but it is verbose. It should be simple. Email works, but not phone numbers. It is a standard html a tag, but not implemented in the vf editor.
fair-rose
fair-rose2y ago
You mean you want them to be able to click the number and call?
adverse-sapphire
adverse-sapphireOP2y ago
I made custom extension anyway, but lots of work just for that. Yes It is a standard behaviour.
fair-rose
fair-rose2y ago
I see so you want them to click the link of a number to call
adverse-sapphire
adverse-sapphireOP2y ago
Yes Like you can clock email Click 🙂
fair-rose
fair-rose2y ago
Okay So why don't you just hyperlink it to a link that opens the call app Let me see if I can find a video for that
adverse-sapphire
adverse-sapphireOP2y ago
Ok It is already hyperlink, no?
fair-rose
fair-rose2y ago
Just hyperlink it and put tel: +
adverse-sapphire
adverse-sapphireOP2y ago
I just need to do tel:12234 Yes
fair-rose
fair-rose2y ago
that's what should work
adverse-sapphire
adverse-sapphireOP2y ago
Nope
fair-rose
fair-rose2y ago
you never added + before the number
adverse-sapphire
adverse-sapphireOP2y ago
Vf editor removes it when render Ok Add +? On the web it works without + But i have not tried that with vf. Will try later. ok, I tried. It is the same. It does not work. VF removes it.
fair-rose
fair-rose2y ago
👍

Did you find this page helpful?