Overview
In Fliqr AI, creating clickable links is essential for providing users with easy access to websites, contact information, and other resources. This documentation explains how to make various types of links clickable within your chatbot, such as website URLs, phone numbers, email addresses, and more.Supported Clickable Link Types
Website URLs
Direct users to a website.
Phone Numbers
Allow users to call a number directly.
Email Addresses
Enable users to send an email.
SMS Links
Let users send a text message.
Google Maps Locations
Provide a clickable link to a specific location on Google Maps.
Social Media Links
Direct users to social media profiles or pages.
Creating Clickable Links
1. Clickable Website URLs
1. Clickable Website URLs
To create a clickable link for a website, use the following HTML structure:
- href: The URL of the website you want the user to visit.
- target=“_blank”: Opens the link in a new tab.
- Example Website: The text that users will click on.
2. Clickable Phone Numbers
2. Clickable Phone Numbers
To create a clickable link that allows users to dial a phone number directly, use the following structure:
- tel:: Indicates a telephone number.
- +18001234567: The phone number users will call.
- Call Us: The text that users will click on.
3. Clickable Email Addresses
3. Clickable Email Addresses
To create a clickable link that opens the user’s default email client, use this format:
- mailto:: Opens the default email client.
- [email protected]: The email address that will be used.
- Email Us: The text that users will click on.
4. Clickable SMS Links
4. Clickable SMS Links
To allow users to send a text message directly from a link, use this structure:
- sms:: Indicates an SMS action.
- +18001234567: The phone number that the text message will be sent to.
- Send a Text: The text that users will click on.
5. Clickable Google Maps Locations
5. Clickable Google Maps Locations
To link to a specific location on Google Maps, use this structure:
- https://maps.google.com/?q=: Base URL for Google Maps.
- Location+Name: The location you want to display on the map.
- View on Google Maps: The text that users will click on.
6. Clickable Social Media Links
6. Clickable Social Media Links
Using the Prompt Template Section in Fliqr AI
Fliqr AI provides a Prompt Template section that simplifies adding instructions and formatted examples for training your bot. This feature allows you to create user and assistant message examples in the proper format, ensuring your bot learns how to send clickable links correctly. In the Prompt Template section, you can easily:- Add Instructions: Clearly outline how the bot should format clickable links, including websites, phone numbers, and emails.
- User and Bot Style Examples:
- Provide a user-style message requesting a link (e.g., “Can you send me the link to McDonald’s?”).
- Supply the assistant’s formatted response using HTML tags (e.g.,
<a href="https://www.mcdonalds.com" target="_blank">McDonald's</a>).
- Test Link Formatting: By adding these prompts and responses, you can test how the bot will respond in real interactions, ensuring that clickable links are presented correctly.
- User Message: “Can you send me the link to McDonald’s?”
- Assistant Response: Sure! You can click here:
<a href="https://www.mcdonalds.com" target="_blank">McDonald's</a>
Best Practices
Use Clear Link Text
The text users will click on should be descriptive and relevant. Avoid generic terms like “Click Here.”
Open External Links in a New Tab
Always use
target="_blank" to open external links (like websites and social media) in a new tab. This ensures that users can easily return to the chatbot conversation.Use SMS Links Thoughtfully
SMS links should be used sparingly, ensuring the phone number is formatted correctly and users are aware that clicking the link will open their messaging app.
Testing Links
Always test your clickable links before deploying the chatbot. This ensures that the URLs, phone numbers, and email addresses are correct and function as expected.
Example Conversations to Include in your Prompt:
Website Link
User: Can you send me the link to McDonald’s?
Assistant: Sure! You can click here:
Assistant: Sure! You can click here:
<a href="https://www.mcdonalds.com" target="_blank">McDonald's</a>.Phone Number Link
User: Can you send me the phone number for Apple customer service?
Assistant: Sure! You can call them here:
Assistant: Sure! You can call them here:
<a href="tel:+18006927753">1-800-MY-APPLE</a>.Email Link
User: Can you send me the link to the Microsoft support email?
Assistant: Sure! You can email them here:
Assistant: Sure! You can email them here:
<a href="mailto:[email protected]">[email protected]</a>.Google Maps Link
User: Can you send me the link to the Pizza Hut location on Google Maps?
Assistant: Sure! You can click here:
Assistant: Sure! You can click here:
<a href="https://maps.google.com/?q=Pizza+Hut">Pizza Hut Location</a>.