Pause ads when a SKU runs out of stock. Resume on restock.

The automation every FBA seller needs, built from one sentence.

Ads that outlive your inventory burn money twice.

You go out of stock. Your ads keep running, spending against a listing that cannot sell, handing clicks to whoever can, and dragging your campaign history down for when you return. Amazon will not pause them for you.

Describe it once.

You say:

Pause my ads whenever a SKU runs out of stock, and turn them back on when it's restocked.

Your agent writes the automation:

// Pause this SKU's product ads when its FBA stock reaches 0. Resume them on restock.
function handle(event, context) {
  const listing = context.listing;
  const marketplaceId = context.marketplace.marketplaceId;
  const stock = (event.Payload?.FulfillmentInventoryByMarketplace || []).find(
    (entry) => entry.MarketplaceId === marketplaceId,
  );
  if (!stock) return context;

  const available = stock.FulfillableQuantity;
  for (const ad of listing.ads) {
    if (available === 0 && ad.state === "enabled") {
      context.mutations.push({ target: ad, action: "update", payload: { state: "PAUSED" } });
    } else if (available > 0 && ad.state === "paused") {
      context.mutations.push({ target: ad, action: "update", payload: { state: "ENABLED" } });
    }
  }
  return context;
}

It runs on Amazon's inventory events, within seconds, day and night. Stock hits zero, that SKU's ads pause. A campaign can advertise several products, so this pauses the SKU's own product ads rather than the whole campaign. Stock comes back, ads resume. The code is yours: read it, edit it, or ask your agent to explain any line.

Run it yourself, no account needed.

This is the exact automation running on our public demo. Paste the URL below into your agent and ask it to find the out-of-stock SKU, write this automation, and dry-run it against the real event.

https://demo.pulsify.dev/mcp

Acme Brands is a fictional coffee gear seller. Writes are simulated: nothing is saved and nothing reaches Amazon.

Amazon has rules. This is different.

Pulsify Amazon's automation
Your rules Exactly as your business works A menu of presets
Visibility Every decision logged and readable A black box
Reach Selling and advertising in one script Separate silos
Ownership The code is yours to read and edit Theirs
Stopping it One kill switch, instantly Hunt through settings

Every decision, on the record.

Each run leaves a trail: what fired it, what it read, what it changed. When you wonder why your ads paused at 2 a.m., the answer is one click away, not a support ticket.

One plan, everything included. $249/month with 3 connected Amazon accounts, 14-day free trial, no card required.