> 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/organization-and-workflows/workspace-automations.md). Agents can also search and read this documentation through its [MCP server](https://docs.screendesk.io/~gitbook/mcp).

# Automations

Send each recording where your team works: a Slack channel, an issue tracker, an email, a folder or a label.

An automation watches for the recordings you describe and acts on each one: it posts in a Slack channel, creates an issue, sends an email, or files, labels or assigns the recording. It works the same for recordings your customers send and for the ones your team makes.

Automations are in the sidebar, under **Automations**. Admins and editors can create them. Only admins can connect a tool. They run on the Pro and Enterprise plans.

{% embed url="<https://app.screendesk.io/recordings/895d8086-f55a-4489-a5c4-8fa5161ff56e>" %}

<figure><img src="https://3820804400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfW6XSzJSKsNyZnOkSJPt%2Fuploads%2FzEYqaErIqITnj6yvNNIX%2Fautomations-list-2.png?alt=media" alt="The Automations page: the list of automations, each with what it does, how often it ran this week, its last run and its switch"><figcaption></figcaption></figure>

## Create an automation

1. Select **Automations** in the sidebar, then **New automation**. On a first visit you can also start from a template.
2. Under **When**, choose what starts it.
3. Add conditions to say which recordings it is about.
4. Under **Then**, select **Add an action** and choose where the recording goes.
5. Select **Turn on**.

Every change is saved as you make it. An automation can't be turned on until it is finished: the top of the page says what is missing.

<figure><img src="https://3820804400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfW6XSzJSKsNyZnOkSJPt%2Fuploads%2FcRBoikbuNJuLwMpVaT94%2Fautomation-setup.png?alt=media" alt="An automation&#x27;s Setup: the When card with its conditions, and the Then cards with their actions"><figcaption></figcaption></figure>

### When

| It starts when                   | Which means                                                                                                                                                |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A recording is ready             | It can be watched and its AI report is written. If your plan doesn't write reports, or a report can't be written, it runs without one and its run says so. |
| A label is added                 | A teammate adds a label, or accepts one the AI suggested.                                                                                                  |
| A recording is added to a folder | A teammate files it or moves it there.                                                                                                                     |

### Conditions

Conditions narrow an automation to some recordings: by type (customer, team, video call), source, label, folder, customer email or domain, teammate, or whether it has console errors. Which ones you can use depends on what starts the automation.

Conditions on one line must all be true. Select **Or** to add another line: the automation runs when any line matches.

Under the conditions, Screendesk says how many of your latest recordings they match, so you can check them before turning the automation on.

### Actions

An automation takes up to 5 actions. They run in order, top to bottom: drag a card by its head to reorder.

| Action                                              | What you choose                                                                                          |
| --------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| Post in Slack                                       | The channel                                                                                              |
| Create a Linear issue                               | Optionally a project, priority, assignee, status and labels. The team is the one Linear is connected to. |
| Create a Jira issue                                 | The project and issue type, then optionally a priority and labels                                        |
| Create a GitHub issue                               | The repository, then optionally labels, assignees and a milestone                                        |
| Create a Trello card                                | The list                                                                                                 |
| Send an email                                       | Who to email                                                                                             |
| Send to a webhook                                   | One of your webhook endpoints                                                                            |
| Add a label, Move to a folder, Assign to a teammate | The label, folder or teammate                                                                            |

Screendesk decides what is sent: the recording's title and link, who it is from, its console errors, and the summary and steps from its AI report when it has one.

A tool that isn't connected yet shows **Connect** in the list of actions. An admin who selects it comes back to the automation with the action added.

## Test an automation

Select **Test** and pick one of your recent recordings. The automation runs once on it, for real: the message is posted and the issue is created. The run opens in **Runs**, marked Test.

A test runs even when the recording doesn't match the conditions, and says so.

## Runs

Each automation has a **Runs** view next to **Setup**: every recording it handled, and what each action did, with a link to the issue or card it created.

<figure><img src="https://3820804400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfW6XSzJSKsNyZnOkSJPt%2Fuploads%2F11GG1DI1kgwotl9g77cV%2Fautomation-runs.png?alt=media" alt="An automation&#x27;s Runs: each recording it handled, with what every action did"><figcaption></figcaption></figure>

When an action fails, the run says why. Select **Try again** to redo what failed; actions that already worked aren't repeated. In the list of automations, one whose last run failed says so.

Runs are kept for 90 days, and are deleted with their recording.

## When Screendesk pauses an automation

Screendesk switches an automation off, and says why in the list, when:

* a tool refuses the connection. Select **Reconnect** in the list or on the action; the automation comes back on once the tool is reconnected.
* something it uses was deleted: a label, a folder, a teammate or a webhook endpoint. Pick another and turn it back on.
* it fails 10 times in a row, or runs more than 500 times in an hour.
* you change it while it is on and leave a condition or an action unfinished. It comes back on as soon as you finish.

What an automation does never starts another automation, so a label it adds or a folder it files into doesn't trigger a second one.

A workspace can have up to 50 automations.

## Automations made in a folder

Automations used to be set up inside each folder. They are made on the Automations page now, and the ones your workspace already had are in the same list, marked **Made in the folder**.

* They keep running as they were set up, each time a recording or bug report is added to their folder. **Move to a folder** sets them off too.
* Switch one off, or delete it, from the list. It shows when it last ran, and says so when that run failed.
* One can't be edited any more. To change it, make a new automation that starts when **A recording is added to a folder**, then delete the old one.

<details>

<summary>What a webhook made in a folder sends</summary>

A webhook that was set up in a folder keeps its URL, its method and its headers, and sends JSON like this:

```json
{
  "event": "recording.created",
  "timestamp": "2026-10-29T14:30:00Z",
  "item": {
    "id": 1234,
    "uuid": "3f1c…",
    "title": "Checkout walkthrough",
    "description": "How to complete checkout",
    "url": "https://app.screendesk.io/recordings/3f1c…",
    "media_type": "video",
    "created_at": "2026-10-29T14:29:58.120Z",
    "captured_at": null,
    "duration": 150,
    "media_url": "https://…",
    "video_url": "https://…",
    "screenshot_url": null,
    "thumbnail_url": "https://…",
    "page_url": null,
    "browser": "Chrome",
    "os": "macOS",
    "resolution": "1440x900",
    "has_console_logs": true,
    "has_network_logs": true,
    "has_clicks": false,
    "creator": {"id": 42, "name": "Alex", "email": "alex@example.com"},
    "folder": {"id": 7, "uuid": "9a2e…", "name": "Bugs"},
    "account": {"id": 3, "name": "Acme"}
  },
  "recording": {"id": 1234, "title": "Checkout walkthrough", "source": "…", "customer_email": "…"},
  "user": {"id": 42, "name": "Alex", "email": "alex@example.com"},
  "folder": {"id": 7, "name": "Bugs", "folder_type": "recording_folder"},
  "account": {"id": 3, "name": "Acme"}
}
```

Bug reports send `"event": "capture.created"` with a `capture` object instead of `recording`. `item` has the same fields for both, so read it first. Media and browser values can be `null`.

* The request times out after 10 seconds. Timeouts and server errors (5xx) are retried up to 3 times; client errors (4xx) aren't.
* Requests aren't signed. A new automation's **Send to a webhook** sends a signed `automation.matched` event instead, described below.

</details>

## The webhook's body

**Send to a webhook** sends the `automation.matched` event to the endpoint you chose, whatever events that endpoint takes. It is signed and retried like every other webhook.

Its `data` has the same fields as `recording.ready`, and:

| Field of `data` | What it holds                                                             |
| --------------- | ------------------------------------------------------------------------- |
| `automation`    | The automation that sent it: its `id` and its `name`.                     |
| `test`          | `true` when it was sent by the automation's Test, `false` for a real run. |

```json
{
  "id": "msg_2f8Kq1LwT9xVbN4cRz7Ge5Yh",
  "type": "automation.matched",
  "timestamp": "2026-11-16T09:30:00Z",
  "data": {
    "recording_id": "6f1c0a52-8d1e-4a57-9f0b-2b1f0c9d3e11",
    "view_url": "https://app.screendesk.io/recordings/6f1c0a52-8d1e-4a57-9f0b-2b1f0c9d3e11",
    "kind": "customer",
    "title": "Checkout button does nothing",
    "source": "Zendesk",
    "created_at": "2026-11-16T09:30:00Z",
    "duration_seconds": 42,
    "customer": {
      "email": "maya@example.com"
    },
    "requested_by": {
      "email": "sam@northwind.example",
      "name": "Sam Rivera"
    },
    "helpdesk": {
      "platform": "zendesk",
      "ticket_id": "48213"
    },
    "website": "shop.example.com",
    "has_logs": true,
    "labels": [
      "Checkout"
    ],
    "folder": null,
    "automation": {
      "id": "aut_8Zq2mXw4Tn6LpR1c",
      "name": "Send Zendesk bug recordings to our tracker"
    },
    "test": false
  }
}
```

## In the audit log

Building an automation isn't logged: it does nothing until it is on. From then on the audit log keeps:

| Event                 | Recorded when                                                   | Severity |
| --------------------- | --------------------------------------------------------------- | -------- |
| `automation.enabled`  | It is switched on, with what it does at that moment             | Medium   |
| `automation.disabled` | A teammate switches it off                                      | Medium   |
| `automation.updated`  | It is changed while it is on, with what it did before and after | Medium   |
| `automation.tested`   | It is tested on a recording                                     | Low      |
| `automation.deleted`  | It is deleted                                                   | High     |
| `automation.paused`   | Screendesk pauses it, with the reason                           | Medium   |
| `automation.resumed`  | Screendesk switches it back on, with what it does from then on  | Medium   |


---

# 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/organization-and-workflows/workspace-automations.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.
