Governed ability

Create WooCommerce order note

aafm/wc-create-order-note Guarded write

Adds a note to a WooCommerce order by order id. Optionally marks the note as customer-facing so it appears in the customer's account. Requires the manage-WooCommerce capability.

How it is governed

The same model as every ability in the plugin, stated for this one.

  • Off until you enable it

    Like every ability, Create WooCommerce order note ships switched off. You turn it on one at a time, and an update never widens access on its own.

  • Guarded write

    Writes stay conservative, and the plugin re-checks the capability before the call runs.

  • Capability gated

    A connection only sees Create WooCommerce order note if the user you connected can run it, and the plugin checks that capability again before it executes.

  • Every call audited

    The call is written to the log in your own database, denials included, with the argument keys but never the values.

See it in action

An illustrative run. Your real calls and data stay on your own site.

agent-abilities · audit Governed
You Create WooCommerce order note on this site.
Run Running aafm/wc-create-order-note
Gate Allowed capability re-checked before running
Audit aafm/wc-create-order-note · principal: editor · args: id
Result Applies the change, then writes the call to the audit log.

Try it with a prompt

Example requests you could paste to your agent.

  1. Add a private note to order 1088 saying the customer asked for gift wrapping.
  2. Leave a customer-facing note on order 1088 that the parcel shipped today.
  3. Record an internal note on order 1088 about a delayed restock.

These are illustrative example prompts. The agent runs them as the user you connected, checked against that user's capabilities and written to your audit log.

Frequently asked

Short answers for Create WooCommerce order note.

Can the note be shown to the customer?

Yes. You can optionally mark a note as customer-facing so it appears in the customer's account. By default a note is private to the store.

Is this enabled by default?

No. It is a write ability, off until an administrator enables it, and it requires the manage-WooCommerce capability.

Is the note text saved to the audit log?

No. The audit log records that the create-order-note ability ran and its argument keys, but not the note text itself.

Back to all abilities

Governed by default, from the first call.

Create WooCommerce order note is off until you enable it, scoped to the user you connect, and logged like everything else. Turn on only what you need.

Every ability off until you enable it, capability-gated on every call.