task ▸ template opened 0
Watch-and-Act

Watch stock and prepare an order for approval

When an out-of-stock item returns, sign in on your own account and prepare the order, then hold at a confirm-gate for a human to approve.

6 steps 15-40s per attempt Safety rails on
Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.
guard ▸ rails set 01
01
safety

This template can take an action with consequences.

Safety rails on Action templates lead with guardrails. Before anything happens, every guard below is in force: a dry-run preview, a confirm-gate, a rate limit, an audit log, and idempotency so a retry never double-acts.

  • Confirm-gate before any state change
  • Price cap
  • Dry-run
  • Idempotency
does ▸ outcome shaped 02
02
what it does

The outcome

When an out-of-stock item returns, sign in on your own account and prepare the order, then hold at a confirm-gate for a human to approve.

Backed by a real, installable recipe, not a generated stub. Install it, attach your own inputs, and run it on your own accounts.

Expected output

A successful run returns a structured result:

output.json
json
{ "in_stock": true, "prepared": true, "price": 0.00, "awaiting_approval": true }
steps ▸ recipe mapped 03
03
the steps

6 steps

Real step types from the 30+ in the workflow vocabulary. Edit any of them after you install.

  1. 1
    monitor

    Watch the product page for a stock-status change as often as every 10s.

  2. 2
    navigate

    Open the product page when the change fires.

  3. 3
    twofa

    Complete any sign-in or verification on your own account.

  4. 4
    click

    Add the item to the cart and open the order summary.

  5. 5
    extract

    Capture the item, price, and availability into the run result.

  6. 6
    confirm

    Hold at a confirm-gate; a human reviews and approves before anything commits.

inputs ▸ shape defined 04
04
what you provide

Inputs

  • product_urlurl must match ^https?://
  • max_pricenumber must match ^[0-9]+(\.[0-9]{2})?$
Resources you attach
Persona (your store account)

Input shape

Inputs are validated against per-slot regex rules before a run starts.

inputs.json
json
{
  "product_url": "<url>"  // matches ^https?://,
  "max_price": "<number>"  // matches ^[0-9]+(\.[0-9]{2})?$
}

Estimated runtime: 15-40s per attempt.

run ▸ template installed 05

Install in one click

Open the template in the app, attach your own inputs and resources, and run it on your machine or the cloud.

Local runs have no compute charge and do not use Writ cloud compute. Paid plans are for cloud execution, faster monitors, teams, managed AI, and fleet features.

faq ▸ questions answered 08
08
faq

Watch stock and prepare an order for approval questions

What does the Watch stock and prepare an order for approval template do?
When an out-of-stock item returns, sign in on your own account and prepare the order, then hold at a confirm-gate for a human to approve.
Where does it run?
On your own machine free of compute charges with the local agent, or on metered cloud running time. Either way it runs on your own authorized accounts and data.
Does it spend money automatically?
No spend happens without the safety rails: Confirm-gate before any state change, Price cap, Dry-run, Idempotency. You stay in control with a confirm-gate and a rate limit.
rec ▸ ready

Start with the Watch stock and prepare an order for approval template

Install it, attach your own inputs, and run it on your own account in minutes.