In this article, you will learn how to create instructions to make the AI Agent send the correct links and guide the visitor to navigate to these links, for example, by clicking on 'click here'.
Providing links to the AI Agent
There are several ways to provide your AI Agent with links: by adding the sitemap of your website via the Web Crawler or Document Scraper, or by manually adding links you want your AI Agent to send using instructions in Domain Knowledge or Instructions.
Web Crawler
To learn how to scrape your sitemap, refer to this Help Center article. By scraping your sitemap, your AI Agent will know all the links on your website and can include these in its responses.
Document Scraper
You can read how to add documents in this Help Center article. For example, you can convert the sitemap of your website into a PDF file and add it via the Document Scraper.
Instructions
Manually adding instructions (in Domain Knowledge or Instructions) looks like this:
Below are the links to the pages you can send:
-
Pricing: www.X.com/pricing
-
Products: www.X.com/products
-
Contact: www.X.com/contact
If you only use AI Search, URLs cannot be sent. URLs are not added to your AI Agent's knowledge with AI Search. If you still want to send URLs, you’ll also need to use the Document Scraper or the Web Crawler.
Making links clickable
Next, you can instruct the AI Agent to ensure it makes the links clickable. You can use the template below for this. It’s best to add these instructions in one of the tabs in Domain Knowledge.
Ensure you create the links using markdown. When you receive a prompt or input with a link, convert it into a clickable link. When sharing links, always use keywords like "here" or "click here" instead of full web addresses.
An example of a markdown link is: [Link text Here](https://link-url-here.org)
This instruction is to make the links clickable for the chat widget. In other channels (WhatsApp, Instagram, and Facebook), this currently looks different. However, we aim to make sending links possible there soon using markdown.