Account and team

Safety and confirmations for AI agents

How Piika keeps AI agents safe with previews, your approval for risky changes, safe retries and limits, and how to approve or decline a change.

An AI agent works with real money and real customers, so Piika adds four protections around everything it does: a preview before a change, your approval for risky changes, safe retries, and limits on how fast it can act.

Previews before a changeLink to section: Previews before a change

Every change an agent can make has a preview mode. In a preview, Piika checks the change the same way it would for real and tells the agent what would happen, but changes nothing. For a subscription change, the preview comes from the same rules the console uses: for example, the new status, whether the customer is charged or refunded, which emails the customer gets and when the next delivery is. A good agent shows you the preview before it asks to go ahead.

Previews appear in Agent activity as Preview only.

Changes that need your approvalLink to section: Changes that need your approval

Piika asks you before an agent:

  • moves money: refunds, store credit changes, payment retries, add-ons charged with a delivery, subscription changes that charge or credit;
  • emails customers: subscription and order changes (a skip sends a "Delivery skipped" email, for example), shipping with tracking, payment links;
  • does something that cannot be undone: deleting catalog items, zones or discounts, voiding a gift code, removing a domain;
  • changes many things at once: running a subscriber import, marking many orders shipped, assigning several deliveries to a courier;
  • changes the team or domains, or publishes or unpublishes the store or the catalog;
  • changes the store's timezone, currency or country.

The agent cannot give this approval itself. Only you, the member it acts for, can.

How you approveLink to section: How you approve

There are two ways, depending on your AI app.

In your AI app. Some AI apps can show a confirmation form from Piika. You see what the agent wants to do, for example "Claude wants to: Run pause on subscription sub_…", with the consequences and the member and role it acts for. Approve to let it run once, or decline. Nothing changes if you decline.

In the Piika console. If your AI app cannot show the form, the agent tells you that Piika needs your approval and gives you a link. The link opens the AI agents tab of Settings:

  1. Open the link, or open Settings and choose the AI agents tab.
  2. Under Waiting for your approval, read the change. The one the agent sent you for is marked The change the agent sent you here for.
  3. Select Approve or Decline.
  4. Tell the agent you approved it. It then runs the change once.

An approval is for exactly that change. If the agent changes anything in the request, such as the amount, it has to ask again. An approval can be used only once and expires after 15 minutes.

Note: If someone else is signed in to the console on your computer, they could approve in your name. Keep your console session to yourself, as you would for any change you make in the console.

Safe retriesLink to section: Safe retries

If the connection drops in the middle of a change, the agent may try again. Agents send a unique key with each change; for money changes they must. When Piika sees the same key again, it answers with the first result and does not repeat the change. You never get a second refund or a second charge from a retry. In Agent activity these show as Repeated, not run again.

LimitsLink to section: Limits

Each connection can make a limited number of calls per minute, with a lower limit for changes. When an agent goes over the limit, Piika refuses the call with Too many calls and the agent has to wait a minute. This stops a confused agent from making hundreds of changes in a loop.

What happens nextLink to section: What happens next

You can see every preview, approval request, approval and change in Agent activity, and stop an agent at any time. See Review and revoke agent access. For what a refund does to the customer, see Refund a payment.

Questions

Can the agent approve its own change?
No. Only the team member the agent acts for can approve, either in the confirmation form of their AI app or on the AI agents tab of Settings. The agent cannot reach the approval.
What if I do not answer an approval request?
Nothing happens. A request that is not approved within 15 minutes expires, and the agent has to ask again.
Can another admin approve a change my agent asked for?
No. Only the member the agent acts for can approve it, so nobody can approve a change on someone else's behalf.