> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/bots/presets.md). Agents can also search and read this documentation through its [MCP server](https://docs.origami.tech/~gitbook/mcp).

# Presets

Save a bot or a single grid as a preset with fill-in inputs, import Origami or your own presets into a bot, and share grids between bots with Copy and Paste.

A preset is a saved grid configuration you can import into any custom bot. There are two scopes: a **Bot** preset holds all grids of a bot; a **Grid** preset holds one grid. Presets can carry **inputs** — named values the importer fills in, so one preset serves many pairs and sizes.

Presets store arguments, order flags (**Post Only**, **Reduce Only**), the enabled state and the Long / Short side of each grid. They do not store the bot's account, pair, leverage or margin mode.

![Select preset dialog: Grids tab, Presets By filter and the Origami presets with their parameters](https://602593284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDjboTEEPFNxFhKJ6msZi%2Fuploads%2FPwAMrqM6meVpkZpd5Eo0%2Fbots-presets-01.png?alt=media)

## Import a preset

You can import when creating a bot (the **Select preset** step after **Continue**) or later from the bot header: **Preset → Select Preset**.

1. Choose the scope at the top: **Bots** or **Grids**. A bot that already has saved grids offers **Grids** only — bot presets would replace them.
2. Filter with **Presets By**: **All**, **Origami** (public presets maintained by Origami) or **Me** (yours). Use **Search** to find by name.
3. Click a card to preview its arguments. Multi-grid presets show a tab per grid; **Copy** copies the arguments as JSON.
4. Click **Import**. If the preset has inputs, **Fill Inputs** asks for each **Name** / **Value** first — *The values of these variables will be updated across all grids associated with this bot*. Presets without inputs say *This preset has no configurable inputs*.

What happens to existing grids:

| Scope           | Result                                                 |
| --------------- | ------------------------------------------------------ |
| **Bot** preset  | Replaces all grids in the form with the preset's grids |
| **Grid** preset | Appends one grid to the existing ones                  |

Imported grids are not saved until you click **Save** on the grids page.

## Save a preset

1. On the grids page save your grids, then open **Preset → Save Preset**. (**Save Preset** is disabled until at least one grid has been saved.)
2. In **Save preset** pick the scope — **Bot** or **Grid**.
3. Fill **Bot Name** or **Grid Name** and **Description (optional)**. For a bot preset each **Grid n** tab has its own name, description and an editable copy of the arguments — trim values that are specific to your account.
4. Click **Next** to define inputs, or **Save**.
5. **Fill Inputs**: **Add input**, then **Name**, **Value** (the default) and **Description**. An input replaces the argument of the same name in every grid at import time.
6. Click **Save**. Toast: **Preset saved**.

![Save preset dialog, Bot scope, with Bot Name, Description and one tab per grid](https://602593284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDjboTEEPFNxFhKJ6msZi%2Fuploads%2FEo84AWUYrA3d08N5i8SF%2Fbots-presets-02.png?alt=media)

Your presets are private and appear under **Presets By → Me**. There is no sharing switch; to pass a configuration to someone else use Copy / Paste below or export the JSON with **Copy** in the preview.

## Delete a preset

In **Select Preset**, private presets have a delete action: **Delete&#x20;*****name*****&#x20;preset?** → **Delete**. Toast: **Preset deleted**. Origami presets cannot be deleted.

## Copy and paste without a preset

For a one-off transfer the grids page has clipboard actions:

| Action                         | Where        | Result                                                                                                                                                       |
| ------------------------------ | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Copy Bot** / **Paste Bot**   | Bot header   | Copies all grids; paste **appends** them to the target bot. Toasts: **Bot grids were copied successfully**, **The bot grids have been pasted successfully**. |
| **Copy Grid** / **Paste Grid** | Grid toolbar | Copies one grid's arguments as JSON; paste appends a new grid with those arguments and default flags.                                                        |

The copy is also placed in the system clipboard as JSON, so you can paste it into a chat or a file. **Paste Grid** accepts JSON from the clipboard as long as it contains the four base arguments (`execute_price`, `execute_volume`, `buy_orders_count`, `sell_orders_count`); otherwise you see **Could not paste grid**.

## Troubleshooting

| Symptom                                | Cause                                                                                | Fix                                                                                |
| -------------------------------------- | ------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| **Select Preset** shows only **Grids** | The bot already has saved grids                                                      | Delete the grids first if you want a bot preset, or import grid presets one by one |
| **Save Preset** is disabled            | No grid saved yet                                                                    | Click **Save** on the grids page                                                   |
| **Error importing preset!**            | Preset incompatible with the bot (for example Hedge-mode sides on a One-Way account) | Import a grid preset and adjust, or fix the account's Position Mode                |

## Related

* [Launch your first bot from a preset](https://docs.origami.tech/getting-started/first-bot.md)
* [Spot grid bot](https://docs.origami.tech/bots/spot-bot.md) · [Futures grid bot](https://docs.origami.tech/bots/futures-bot.md)
* [Global variables](https://docs.origami.tech/bots/global-variables.md) — for values shared across bots rather than filled at import
