# Save drafts and publish changes to your agent > Stage changes to your agent in a draft, check exactly what will change, and publish when it's ready Drafts let you change a QwryAI agent without affecting customers until the change is ready. Changes you make to instructions, the model, Actions, Procedures and channel settings go into a **draft**, and your customers keep talking to the **live** agent on every channel until you **Publish**. Before you publish, you can see each change side by side with what's live now, and drop any you don't want. ## Save and publish Changes you make on pages such as **Instructions**, **Actions**, **Procedures**, **Widgets**, **Voice** or a channel's settings go into your draft. Nothing changes for your customers yet. **Instructions** saves as you type; in other editors, whatever you save goes into the draft. If you leave the Instructions page straight after an edit, the last edit still saves. The **Playground** always uses your draft, so you can try a change before anyone else sees it. Your Chat bubble, Help Page, the preview link and every other channel keep using the live agent. When the draft is ready, select **Publish** in the top-right corner. While your draft has changes that aren't live yet, a count such as **1 change** appears next to **Publish**, and a dot marks the arrow beside it. **Publish** appears on the pages whose changes go into the draft: the Playground, **Instructions**, **Actions** and **Procedures**, **Widgets**, **Voice**, **Guardrails** and **Channels**. It shows only while there's something to publish. ![The page header with the amber count of unpublished changes and the Publish button with its arrow.](annotated/01-publish-pill.webp "A count of unpublished changes, then Publish.") ![The Publish options menu open, with View pending changes and Discard changes.](annotated/02-publish-menu.webp "The arrow next to Publish.") The **Publish changes** window lists everything your draft changes compared with what's live, grouped by area: **Agent**, **Channels**, **Actions** and **Procedures**. Open a change to see it in two columns, **Live now** and **Draft**. To drop one change from your draft, select its discard icon and confirm; the icon beside it opens the page where that setting lives. Then select **Publish**. Your changes go live immediately, and QwryAI confirms with *Your changes are live.* ![The Publish changes window, noting Goes live immediately, with the Chat widget change open in Live now and Draft columns and the Publish button.](annotated/03-publish-dialog.webp "See each change before it goes live.") ![The discard icon on the Chat widget change in the Publish changes window.](annotated/05-discard-change.webp "Drop one change and keep the rest of the draft.") The arrow next to **Publish** opens more options: | Option | What it does | | - | - | | **View pending changes** | Shows what your draft changes compared with live, without publishing. The window is titled **Pending changes**. | | **Discard changes** | Throws away every unpublished change, so your draft matches the live agent again. Your live agent stays untouched. | ![The Discard pending changes? confirmation, explaining that changes since your last publish will be discarded and your live agent stays untouched.](annotated/04-discard-confirm.webp "Discard everything since your last publish.") ## Settings that go live right away Some settings aren't part of the draft. They take effect as soon as you save them: * Data sources and training * Connections to other apps and channels, such as WhatsApp, Messenger, Instagram, Slack and Zendesk * Turning a channel on or off, such as the Chat bubble's **Visibility** * Security settings: **Specific domains**, the **Guardrails** rate limit, spam detection and country blocking * Sharing a preview link * Uploaded images, such as the agent picture and a custom bubble icon * The **Copilot model** in **Settings › General** > [!NOTE] > > Removing an Action or a Procedure is staged in the draft too: it keeps working for customers until you publish, and discarding the removal brings it back. ## When to publish and when to keep drafting The draft lets you group related changes and publish them together. As a rule of thumb: * **Keep drafting** while a change is only partly done. For example, a new returns Procedure that also needs an Action and an instructions update should go live together, not in three steps. * **Publish** once you've tried the change in the [Playground](/docs/user-guides/chatbot/playground) and it behaves the way you want. For changes that affect important conversations, run your [Tests](/docs/user-guides/chatbot/tests) after publishing and compare the results with the last run. * **Discard changes** to drop an experiment that didn't work. ### Example: rolling out a new return policy A team is extending its return window from 30 to 45 days. **1. Update the draft** A teammate edits the instructions and the returns Procedure. Customers still get the 30-day policy. **2. Try it** In the Playground, they ask "Can I return something I bought 40 days ago?" and check that the agent says yes. **3. Publish** They check the list in the **Publish changes** window and select **Publish**. Only then do they replace the old returns PDF in **Data sources**: data sources go live as soon as they're saved, so updating the PDF earlier would have shown customers the new policy before the instructions matched it. Finally, they run the returns test on the **Tests** page. **4. Fix forward if needed** If something's wrong, they edit the instructions or Procedure again, check it in the Playground, and publish the fix. ## Changes made outside the dashboard Changes [Backstage](/docs/user-guides/chatbot/backstage) makes go into your draft, just like yours, so you review and publish them the same way. ## Frequently asked questions > [accordion] Do I need to save my changes? > > Not on **Instructions**: it saves to your draft as you type. In other editors, whatever you save also goes into your draft. Customers only see draft changes after you select **Publish**. > [accordion] Can I drop just one change? > > Yes. Open **Publish** or **View pending changes**, select the discard icon on that change and confirm. The rest of your draft stays as it is. > [accordion] Which changes go live without publishing? > > Data sources and training, connections to other apps and channels, turning a channel on or off, security settings such as **Specific domains** and the Guardrails page, preview sharing and uploaded images. See [Settings that go live right away](#settings-that-go-live-right-away). > [accordion] I saved a change but my website still shows the old behaviour. Why? > > Saving puts the change in your draft, and only the Playground uses the draft. Your Chat bubble, Help Page, the preview link and every other channel use the live agent until you select **Publish**. > [accordion] Can I undo a publish? > > Make the change again in the editor and publish it: edit the setting back, check it in the Playground, then select **Publish**.