# Save & Deploy logic (unified publishing)

### **What’s Save & Deploy logic**

We now have a **real 2-step status model** across Recommendations & Merchandising.

* **Step 1: Save changes:** edits are stored as a *draft* without impacting the live version.
* **Step 2: Deploy:** once the user is ready, they intentionally push the new version live.

This separation makes the workflow **clear, safe, and predictable**.

### **Why this matters**

* You always know **what is live** and **what is still being edited**.
* Users avoid accidental deployments or overwritten strategies.
* Deployment is now a **deliberate action**, not an automatic side effect.
* We gain **better control over synchronizations** (catalog sync, rules propagation, API consumption, etc.).
* The system can safely handle **drafts, concurrent edits, and deployment queues**.

### **Statuses**

* **Draft** → changes saved, not deployed
* **Deployed** → live version
* **Draft waiting** → deployed version exists + new edits pending
* **Deploying** → deployment job in progress
* **Failed** → deployment error, draft preserved

### **In short**

* **Save =** work in progress
* **Deploy =** push live

A clean, controlled, two-step publishing workflow that secures updates and stabilizes synchronization.

***


---

# Agent Instructions: 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:

```
GET https://docs.abtasty.com/recommendations-and-merchandising/concepts/save-and-deploy-logic-unified-publishing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
