> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ledgersyncappv2.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Your firm's own playbooks

> Change the steps your AI follows, like adding a check to the month-end review, for your whole firm or for one client. LedgerSync keeps your version, so every chat at your firm follows it, in any AI app. Nothing changes in QuickBooks.

# Your firm's own playbooks

Change a step of any playbook once. Every chat at your firm, or about one client, follows your version.

**For any client in LedgerSync.** Not set up yet? Go to [Start here](https://docs.ledgersyncappv2.com/ai/start-here.md). Added it a while ago? Do
[After a LedgerSync update](https://docs.ledgersyncappv2.com/ai/troubleshooting.md#after-an-update) once.

## Start

Step 1 of 5

Start a new chat

In Claude, ChatGPT or Grok. In ChatGPT, also type **@** and pick **LedgerSync**.

Step 2 of 5

Tell the AI what to change

Type what your firm does differently, for example *"In our month-end review, also check the payroll account."* For
one client only, name the client: *"For Acme, the 1099 check should count only the Contract Labor account."* Not sure
what you have? Ask *"Show me our firm's playbooks."*

Step 3 of 5

Check the changes

The AI shows exactly which lines change and who the change reaches: every chat at your firm, or the chats about that
client. Nothing is saved yet. Ask for changes until it reads right.

Step 4 of 5

Say yes

LedgerSync saves your version. From then on, every chat at your firm, or about that client, follows it, for everyone
at your firm and in every AI app.

Step 5 of 5

Ask for the work as usual

For example *"Review Acme's books for October."* The AI follows your version. In Claude, the ready-made guides give
your firm's version too: the **+** button, **Connectors**, **Add from LedgerSync**, then the playbook.

**Only the steps change.** Nothing changes in QuickBooks, and you can go back at any time.

## More details

> [accordion] Who can change a playbook
>
> * **Your firm's playbooks:** people allowed to manage your firm's global rules. Your firm's owner can give that
>   permission.
> * **A version for one client:** anyone at your firm who manages that client.
> * Everyone at your firm uses your firm's versions, in every AI app, whoever made them.

> [accordion] Versions and going back
>
> * Every version is kept.
> * To go back, ask the AI to remove your version. It shows what changes first and waits for your yes. Then the next
>   one is used: for a client, your firm's version, else LedgerSync's; for your firm, LedgerSync's. A playbook your
>   firm wrote from scratch is gone.
> * When LedgerSync improves its own version of a playbook you changed, the AI tells you, so you can compare them.
>   Ask, for example, *"Show me LedgerSync's own month-end review."*

> [accordion] What LedgerSync keeps
>
> * Your firm keeps at most 30 playbooks of its own, and 30 for each client. A client's playbooks count only toward
>   that client, so every client can have 30.
> * A playbook's steps hold at most 18,000 characters. Like the facts about a client, they can't hold a number of 8 or
>   more digits, such as a tax ID or an account or card number, or sign-in details.
> * Each change is in the [history of AI changes](https://docs.ledgersyncappv2.com/ai/ai-changes.md).
> * When a client is deleted, its own playbooks go too.

> [accordion] LedgerSync's playbooks
>
> Every firm starts with LedgerSync's nine: [Review a client's books for the month](https://docs.ledgersyncappv2.com/ai/review-my-client.md),
> [Explain why an account does not reconcile](https://docs.ledgersyncappv2.com/ai/explain-my-reconciliation.md), [Explain what changed between two
> periods](https://docs.ledgersyncappv2.com/ai/what-changed.md), [Check a new client's books before pricing a cleanup](https://docs.ledgersyncappv2.com/ai/new-client-check.md),
> [Find who needs a 1099](https://docs.ledgersyncappv2.com/ai/1099-vendors.md), [Set up a client for the AI](https://docs.ledgersyncappv2.com/ai/client-setup.md), [Bookkeeping into
> QuickBooks](https://docs.ledgersyncappv2.com/ai/quickbooks-bookkeeping.md), [Set up rules for a client](https://docs.ledgersyncappv2.com/ai/rules-setup.md) and [Run the CheckList for a
> client](https://docs.ledgersyncappv2.com/ai/checklist.md). Your firm can change any of them, or write playbooks of its own.

> [accordion] If the AI says
>
> | The AI says | Do this |
> | - | - |
> | It doesn't know how to do this | Your AI may still have an older copy of LedgerSync's tools. Do [After a LedgerSync update](https://docs.ledgersyncappv2.com/ai/troubleshooting.md#after-an-update), then start a new chat. |
> | Changing the firm's playbooks needs the permission to manage global rules | Ask your firm's owner for that permission, or let the AI save the change for one client instead. |
> | The playbook changed since your preview | Someone at your firm changed it in the meantime. Let the AI show the changes again, then say yes. |
> | The steps can't be kept as they are | Take out any long number or sign-in details, or shorten the steps. The AI shows the new version before saving. |
> | Your firm or the client already keeps as many playbooks as LedgerSync allows | Ask the AI to remove one you no longer use first. |
> | It cannot find the client | Ask "Find my client ..." first. Not the firm owner or an administrator? You see only the clients assigned to you in LedgerSync. |

Anything else? See [Troubleshooting](https://docs.ledgersyncappv2.com/ai/troubleshooting.md).

> [accordion] For developers: the 3 tools
>
> | Tool | What it does | Changes data |
> | - | - | - |
> | `ledgersync_get_playbook` | A playbook's steps by name, the one in use: a client's own version, else your firm's, else LedgerSync's. With no name, the list of every playbook, the one in use first | No |
> | `ledgersync_preview_playbook` | Previews saving or removing your firm's own version of a playbook, for the whole firm or for one client: the lines that change, who they affect and the version it becomes. Changes nothing | No |
> | `ledgersync_apply_playbook` | Saves or removes the playbook the preview showed, after your yes. Every saved version is kept | Yes |
>
> * `ledgersync_preview_playbook` and `ledgersync_apply_playbook` need `write:accounting` and change only
>   LedgerSync's playbooks, never QuickBooks. An AI app's prompt menu gives your firm's version of a LedgerSync
>   playbook when it keeps one; a client's own version comes through the client snapshot.
> * Every field, limit and refusal is on [For developers](https://docs.ledgersyncappv2.com/ai/developers.md).

Stuck? [Book a call with
our team](https://ledgersync.com/book-a-demo) and we'll help you, or email
[support@ledgersync.com](mailto:support@ledgersync.com) with the step and what the screen says.
Never send passwords or card numbers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.