> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xsoar-8-on-prem/8.13/configure-cortex-xsoar/playbooks/manage-playbook-content.md).

# Manage playbook content

#### Manage playbook content with a remote repository

In Cortex XSOAR, you can develop and test your playbook content on development machines before using it in a production environment using the remote repository feature.

For more information about content management in Cortex XSOAR, see [Content management in Cortex XSOAR](/cortex-xsoar-8-on-prem/8.13/configure-cortex-xsoar/remote-repository-management/content-management-in-cortex-xsoar.md).

#### Save versions of your playbook in Cortex XSOAR

You can save versions of a playbook as you are developing it. When you save a version of a playbook, add a meaningful comment so that you will be able to recognize the changes you made in that version at a later time. The version is saved with the name of the playbook, your commit message, an indication of what the change was (modify, insert), the date the playbook was saved, and the name of the author who last saved it. If necessary, you can access the playbook’s version history and revert your playbook to a previous version.

1. In a playbook, after making changes, click the list next to **Save Playbook** and then click **Save version for current Playbook**.

   ![playbook-save.png](/files/zcofKwnvIKWH9C07Wn5k)
2. Enter a description of the change that was made to the current version.
3. Click **Update Playbook**.
4. To access a version of a playbook:
   1. Click the icon next to **New Playbook**. The tooltip displays **Version history for all Playbooks**.

      ![playbook-version.png](/files/nXZYD6LP28ZbsutKah56)
   2. Search for the required playbook. The description that was entered when the version was saved should help you locate the version you now require.
   3. Click **Restore** to restore the required version of the playbook.

#### Playbook editing conflict management

If multiple users simultaneously attempt to open the same playbook for editing, they could overwrite each other's changes in the playbook editor. To prevent users from accidentally losing their work, the playbook editor only allows the first user to edit and save. Subsequent users are automatically placed in View Mode Only, and a banner in the playbook editor clearly shows who is currently editing the playbook. These subsequent users can still view, debug, run, duplicate, and download the playbook.

The playbook is automatically unlocked when the user currently editing the playbook closes the editor, logs out, or when their session expires. In addition, users with **Unlock** permission can click **Unlock** in the banner on the **Playbooks** page or directly in the playbook editor to force-unlock the playbook.

{% hint style="info" %}

### Important

Manually unlocking a playbook may cause version conflicts. This turns off concurrent editing protection, and if the original user is still editing, their changes might be lost or overwritten.
{% endhint %}

The playbook **Unlock** permission is located under Settings → **Configurations** → **Access Management** → **Roles**. Edit a role and go to Investigation & Response → **Automations** → **Playbooks**.


---

# 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://cortex-docs.paloaltonetworks.com/cortex-xsoar-8-on-prem/8.13/configure-cortex-xsoar/playbooks/manage-playbook-content.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.
