> For the complete documentation index, see [llms.txt](https://docs.screendesk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.screendesk.io/helpdesk-integrations/hubspot/snippets.md).

# Snippets

Put a recording link in a HubSpot snippet, so any agent can ask for a recording in a few keystrokes.

A HubSpot snippet can carry a Screendesk recording link. The link names no ticket, so when the customer has recorded, Screendesk shows them the recording's link and asks them to paste it in their reply. Your agents open the recording from that link.

{% embed url="<https://app.screendesk.io/recordings/92918be5-24d6-49c1-85fd-78b25de4243b>" %}

1. In Screendesk, go to **Settings → Integrations**, click **Configure** on the HubSpot card and go to **Let customers record on their own**.
2. If your workspace has websites with the Screendesk snippet, choose under **Where customers record** where customers record. Changing it changes the link, so copy it again after.
3. Click **Copy** next to **Snippets, emails and forms**.
4. In HubSpot, go to **CRM → Snippets** (under **More** if it isn't in your navigation) and click **Create snippet**.
5. In **New snippet**, give it an **Internal name**, such as *Ask for a screen recording*.
6. In **Snippet text**, write a sentence, select a few words and click the link icon. In **Create link**, paste the link as the **URL** and click **Apply**. For example: *Could you show us what happens on your screen? Record it here, then paste the link it gives you in your reply.*
7. Give it a **Shortcut**, such as `record`, and save the snippet.

Agents insert it by typing `#` and the shortcut in a reply, then pressing Enter, or from the snippets icon below the editor. Right after you save a new snippet, HubSpot can take a minute before it inserts it.

{% hint style="info" %}
To get the recording on the ticket as a note, use **Request a recording** in the Screendesk card on the ticket: its link names the ticket.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.screendesk.io/helpdesk-integrations/hubspot/snippets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
