1. Help Center
  2. Pulse
  3. Tips & tricks for effective Instructions

Adding links

In this article, you will learn how to create instructions to make the chatbot send the correct links and guide the visitor to navigate to these links, for example, by clicking on 'click here'.

Providing links to the chatbot

There are several ways to provide your Pulse chatbot with links: by adding the sitemap of your website via the Web Crawler or Document Scraper, or by manually adding links you want your chatbot to send using instructions in Domain Knowledge or Instructions.

To learn how to scrape your sitemap, refer to this Help Center article.

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.

By scraping your sitemap, your chatbot will know all the links on your website and can include these in its responses.

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 chatbot’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 chatbot to ensure it only sends valid links and makes the links clickable. You can use the templates below for this. It’s best to add these instructions in one of the tabs in Domain Knowledge.

The following instructions are 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.

For the Chat Widget:

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)

 

Using Only Links from the Sitemap

You can also use the following template to ensure the chatbot only uses links from the scraped sitemap. This sitemap must be added to the Document Scraper. You can then identify the Source URL by downloading the document from the Document Scraper and copying and pasting the URL from the browser. The instruction you then add is:

Use the provided information delimited by triple quotes to send links. If the link can't be found in the provided information, do not send a link at all.

"""
Source URL: [https://example.com/faq]. Only use links from this Source URL. Do not invent links that do not exist on this Source URL.
"""