# Web purchase link in Knowledge articles

> Add to a Knowledge article the URL of your website where that product is bought (one per language) so the WhatsApp Agent sends it to the customer.

## What the purchase link is for

Each article in **Communications > Knowledge** has an optional field called **Web purchase URL**. It is for products that are **not booked through Lueira** (for example, an activity sold by an external provider or that only exists on your website): when a customer asks about them on WhatsApp, the WhatsApp Agent answers with the information from the article and sends this link so they can buy there.

If the product does exist in Lueira, there is no need to fill it in: the WhatsApp Agent books it directly. For the full picture, see [What the WhatsApp Agent sells and what it does when it can't](lueira-guide:42982e98-ccb8-4b43-ba2e-012e5c12d2b9?locale=en).

## How to add the link

1. Go to **Communications > Knowledge**.
2. Click **Add article** (or the pencil on an existing article). For a new one, choose **Create from scratch**.

![Choose how to create the Knowledge article](https://media.support.lueira.com/images/5a9960ee-c2ce-443e-8725-377d8d2b9865.jpg)

1. In the **Content** step, write the title, description and content. Between the description and the content is the **Web purchase URL** field: paste the full address, including `https://`.

![Web purchase URL field](https://media.support.lueira.com/images/96787833-af6e-4f4e-bead-5cbef765b86d.jpg)

1. Click **Next**, leave the article as **Published** and click **Create article** (or **Save** if you are editing it).

If the URL isn't valid, you will see the warning *"The purchase URL is not valid. Use a full http(s) link"* and you won't be able to save.

## A different link per language

If your website has a different address for each language, put it in the tab for that language (**Spanish**, **Catalan**, **English**…). In the tabs of the other languages the field has the same name and its help text says *"Purchase URL in this language (if different)"*.

![Purchase URL in the tab of another language](https://media.support.lueira.com/images/b903dd73-242b-4643-8e6d-9fb5d679fefe.jpg)

The WhatsApp Agent chooses like this:

- If the customer writes in a language that has a URL, it sends **that one**.
- If there isn't one, it sends the **default URL** (the one for the article's main language).

Leave a tab empty if the address is the same as the main language's.

## Tips and common mistakes

- **One link per product.** Create one article per external product so the customer receives the exact link, not a generic one.
- **Published.** The WhatsApp Agent doesn't read an article in **Draft**.
- **Full link.** Without `https://` it won't save.
- **Update the link if your website changes.** The WhatsApp Agent sends exactly what is saved.
- If you change an article's link, the WhatsApp Agent uses the new one from the next conversation.

Source: https://help.lueira.com/en/articles/enlace-de-compra-en-la-web-en-los-articulos-de-conocimiento
