# Hyperlinks

{% hint style="warning" %}
I know some works needs to be done to have these types of hyperlinks work in Modals. This was working but it looks to have been broken at some point.&#x20;
{% endhint %}

## Links that send text back to Teneo as a user input

### Answer Text in Output Node

You can output links in html or answer text that are then fed back into Teneo as user input.

```markup
<a href="#" class="sendInput">This will be sent to Teneo</a>
```

Alternatively:

```markup
<a href="#" class="sendInput" data-input="This will be sent to Teneo">This is just the anchor text</a>
```

## Links that open an link in an iframe when in Demo mode

### Answer Text in Output Node

```markup
<a href="https://somewebsite.com" class="openInIframe">This will open the page https://somewebsite.com in an iframe once clicked.</a>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jolzee.gitbook.io/leopard/components/hyperlinks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
