## Overview

Pictor includes two prompt management features designed to speed up iteration and protect your work: **one-click duplication** and **version history**. Both are available inside the Custom AI Prompts section.

## Duplicating a prompt

Any saved prompt can be duplicated with a single click. The duplicate is an independent copy — changes to the duplicate do not affect the original.

**When to use duplication:**
- You want to experiment with a variation of a working prompt without risking the original
- You're building a prompt for a new client that's similar to an existing one
- You want to create a "before" snapshot before making significant edits

**How to duplicate a prompt:**
1. Go to **Custom AI Prompts**.
2. Find the prompt you want to copy.
3. Click the **Duplicate** button on the prompt card.
4. A copy is created immediately with the same name, prompt text, references, survey questions, and thumbnail.

## Prompt versioning

Every time you generate a preview inside the Prompt Builder, that generation is saved as a **version**. You can revert to any earlier version at any time — restoring the prompt text, settings, and thumbnail associated with that generate.

If you spend time tuning a prompt and then make an edit that breaks it, you can roll back to any previous generate rather than starting over.

**How to revert to an earlier version:**
1. Open the prompt in the **Prompt Builder**.
2. In the preview panel on the right, locate the generated result you want to restore.
3. Click **Use Prompt Settings** on that preview.
4. The builder will load the configuration that produced that result — save it to make it current.

## Important: prompts are frozen when added to an event

When you add a prompt to an event (or select it in a template or flow), **Pictor takes a snapshot of the prompt at that moment**. This means:

- If you later edit the prompt in Custom AI Prompts, those changes do *not* automatically apply to events where the prompt is already selected.
- To apply an updated prompt to an existing event, you need to **re-select it** in the relevant templates and flows.

This behavior is intentional — it prevents a prompt update from silently changing the output of an event a client has already approved.

## Frequently asked questions

**If I duplicate a prompt and edit the duplicate, does the original change?**
No. Duplicates are fully independent copies.

**How many versions are saved?**
Every preview generation creates a version. There is no cap on saved versions per prompt.

**If I update a prompt, how do I apply the update to a live event?**
Open the event, go to the template or flow stage where the prompt is selected, and re-select the prompt. This refreshes the snapshot to your latest version.

**Will re-selecting a prompt mid-event affect captures already taken?**
No. Past captures use the prompt version that was active when they were taken. Re-selecting only affects future captures.
