Generate → Write → Restore → Clear
The generate-write-restore-clear content lifecycle.
Why These Actions Feel Similar
All four actions happen in the same review area, but they do different jobs.
Generate Content
Generate Content asks MerchantDrafts to create a fresh output package for the current product.
- It runs AI generation.
- On the first generation, text fields are typically auto-applied into the current editor session.
- It updates the review panels so you can inspect content before saving the post.
- It does not publish or permanently save the product by itself.
Write to Product
Write to Product is a re-apply action.
- Use it after you edited or refined the generated output and want those current generated values pushed into the product editor fields again.
- It writes the selected generated fields back into the current product editing surface.
- It still does not save the product to the database until you click WordPress Update or Publish.
Restore
Restore is the one-step reversal for the latest apply.
- It reverts the most recent apply snapshot.
- Think of it as "undo the last write/apply".
- It is narrower than Clear.
- It is useful when the last re-apply was wrong and you want the immediately previous editor values back.
Clear
Clear resets the current MerchantDrafts session state.
- It removes the current generated review data from the MerchantDrafts panels.
- It clears ad-copy and Google Merchant Center review state tied to the current generated session.
- It clears lifestyle draft input state for the current session.
- It restores the product editor to the pre-generation session baseline when that baseline exists.
Think of Clear as "drop this current MerchantDrafts working session and go back to the baseline state".
The Safe Mental Model
- Generate Content = create fresh output
- Write to Product = push the current generated version into editor fields again
- Restore = undo the latest apply
- Clear = wipe the current MerchantDrafts session and return to the pre-generation baseline when available
Important Limitation
None of these buttons replaces the normal WordPress save step.
Your changes are only persisted after Update or Publish.