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.

1

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

2
3

Access the Action Settings

  • 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.

4

Trigger conditions

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.

  • 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 — should describe the main idea of this action. Only English alphabet characters and underscores (_) are allowed.

  • Function Description — a description of what this action will do.

5

Action variables

  • 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.

6

Action constants

  • 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.

7

Additional Settings

  • 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 — what text will be returned to the bot in case of an error. We recommend writing something like "An error occurred"

Configuration is complete.

Last updated