> For the complete documentation index, see [llms.txt](https://docs.suvvy.ai/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.suvvy.ai/en/main-settings/prompts/chtenie-url-ssylok.md).

# Reading URLs

**What is URL link reading?**

**URL link reading** is the ability of the bot to retrieve the information you need from any web page of a website.

## Creating a URL link viewing action.

{% stepper %}
{% step %}

#### Go to the "Workflows" section, click the "+ Add" button

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2Fg8Qy7utkx3ypRhb0A2aq%2Fimage.png?alt=media&amp;token=d11ba47e-9fa5-4bcc-bbfb-7ebc36debfcc" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Select "Reading Links

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2Ft36dCY2r8D9jG04Z5nXY%2Fimage.png?alt=media&amp;token=23ba3c68-0322-4ce2-a525-b8522e3a4fa5" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Access the Action Settings

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2Fv54KQp9JRy5qYwqGKYX8%2Fimage.png?alt=media&amp;token=9c39b33f-ffc4-4bb9-9ffd-5d14cbefeff0" alt=""><figcaption></figcaption></figure>

* **Action name —** a display name by which you can easily identify the required tool in the general list
* **+ Add Step —** you can trigger multiple webhooks or perform multiple other functions within a single action. For each new webhook, you must add an additional step using the "+ Add Step" button.
* **URL —** a field for adding an argument into which the link will be placed.
* **Put the received text into a variable —** enable the option so that after calling the webhook, the received text can be placed in a variable and passed to another function if necessary.
* **Bot response rules —** with this setting, we have the option to choose which step's response will be passed to the bot - from the first, the last, or from all.
  {% endstep %}

{% step %}

#### Trigger conditions

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FLv3asmn15Dfpcq89djvd%2Fimage.png?alt=media&amp;token=b444a7be-64ab-4120-ab72-760454f35b5a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To automatically generate a **Function Name**, fill in the **Action Name** field and press the **auto-generation button** to the right of the function name field.
{% endhint %}

* **Call by LLM model** — the function is called by the LLM model through instructions written to the bot.
* **Trigger call** — the function is called based on a pre-defined event when the specified conditions are met.
* **Function Name**  &#x20;— should describe the main idea of this action.  &#x20;Only English alphabet characters and underscores (\_) are allowed.
* **Function Description**  &#x20;— a description of what this action will do.
  {% endstep %}

{% step %}

#### Action variables

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FFHHBA478RqWa0hOs7Xhb%2Fimage.png?alt=media&amp;token=8ae73e68-81ed-4e55-b98d-ef567bb4aa92" alt=""><figcaption></figcaption></figure>

* **Argument** - since the argument for the function is any **URL link** by design, in the **Argument** field we write **`url_link`**.
* **Argument Description** - this field is optional and serves as a description to avoid confusion if there are multiple arguments.

{% hint style="warning" %}
Ensure that the **argument** is written in English and without spaces. You can use English alphabet characters and underscores (`_`).
{% endhint %}
{% endstep %}

{% step %}

### Action constants

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FF1aYBNPB87rEGuPwF4jO%2Fimage.png?alt=media&amp;token=a596dff4-9ded-4d8a-b38e-d6336e22adb5" alt=""><figcaption></figcaption></figure>

* **Constant** — in some cases, a link may consist of several parts, one of which is constant (i.e. unchangeable), in which case we write its name in this field.
* **Value** — value of the constant.
  {% endstep %}

{% step %}

#### Additional Settings

<figure><img src="https://2542240793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnmK9dnkx224HgS0VSB5J%2Fuploads%2FV9L2uLL2Wx6PLHWOgbYm%2Fimage.png?alt=media&amp;token=41737938-8c0c-4d7f-abe1-2bbb2643d9a2" alt=""><figcaption></figcaption></figure>

* **Stop dialog on call** — after calling the function to "Read the URL link", the dialogue will stop and the bot will stop responding.
* **Do not respond on call** — after calling the "Read URL link" function, the dialogue will not be stopped, but no response will be sent to the dialogue.
* **Notify on error** — if a function call fails, you will receive a notification.
* **Stop on error** — if the function call fails, the dialog will stop.
* **Error Message**  &#x20;— what text will be returned to the bot in case of an error. We recommend writing something like "An error occurred"
  {% endstep %}
  {% endstepper %}

Configuration is complete.
