> 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/zendesk/zendesk-macros.md).

# Zendesk macros

Zendesk macros can streamline customer communication by automating responses. By integrating Screendesk, you can easily request screen recordings to better understand and resolve customer issues. This guide explains how to create a macro for sending Screendesk recording links to customers.

## Steps to Create the Macro with Screendesk Integration

1. **Access Zendesk Admin Center**\
   Log in to Zendesk and navigate to **Admin Center > Workspace > Macros**.

<figure><img src="/files/jEQ6ZinrDTVakvplzDM9" alt=""><figcaption></figcaption></figure>

2. **Create a Macro**

* Click on **Create a Macro**.
* Name your macro something clear, such as **Request Screen Recording**.
* **Add an Action**

  * Click on **Add Action** and select **Comment/Description**.
  * Enter a generic text template explaining the purpose of the recording and how customers can provide it.

  **Example Template:**

> Hello {{ticket.requester.first\_name}},\
> We understand you’re experiencing an issue with {{custom\_fields.software\_name}}, and we’re here to help. To assist you more effectively, could you kindly share a recording of the problem you’re encountering? Don’t worry, there’s no need to download anything or sign up – it’s a simple and secure process.
>
> Here’s how you can record and share your issue with us:
>
> 1. Click on this link: \[Insert link here].
> 2. Once there, click on **Start Recording**
> 3. Choose the screen you want to share and demonstrate the issue you’re facing.
> 4. After you’ve shown us the problem, click on **Stop** to end the recording. Then, click on **Submit** to share it with our support team.
>
> We appreciate you taking the time to do this. It will greatly help us understand the issue more clearly and allow us to provide a more precise solution.
>
> Best regards,\
> The Support Team

* **Retrieve the Screendesk Generic Recording Link**
  * Log in to [Screendesk](https://app.screendesk.io).
  * Click on **Request recording** to generate a generic recording link.\
    Example link:\
    `https://app.screendesk.io/recordings/new?ak=0ZMy1g&key=vQvF_A&src=rria`
* **Customize the Screendesk Link**\
  Modify the link to associate the recording with the Zendesk ticket:

  * Add `zid={{ticket.id}}&` after `new?` to include the ticket ID.
  * Replace `src=rria` with `src=rrz&p=1` for proper integration.

  **Final Link Example:**\
  `https://app.screendesk.io/recordings/new?zid={{ticket.id}}&ak=0ZMy1g&key=vQvF_A&src=rrz&p=1`
* **Insert the Customized Link into the Macro**\
  Replace the placeholder `[Insert link here]` in the template with your customized Screendesk link.
* **Save and Test the Macro**
  * Save the macro and test it in Zendesk Messenger.
  * Ensure that:
    * The macro sends the correct Screendesk link to the customer.
    * Recordings are logged as internal notes in the Zendesk ticket.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.screendesk.io/helpdesk-integrations/zendesk/zendesk-macros.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
