Automation

Automation triggers

Monitor Source Parts signals and fire downstream automations when inventory, pricing, or compliance crosses your guardrails.

Create threshold triggers

Define triggers with a descriptive name, condition, and optional notification target. Source Parts evaluates each trigger in real time.

await client.call("automation.triggers.create", {
  name: "low-stock-alert",
  type: "inventory.threshold",
  options: {
    sku: "TPS7A2012PDRVR",
    threshold: 100
  }
});

Route triggers to actions

Attach `onFire` actions to immediately run automation steps or just raise alerts. Combine with scheduler jobs for periodic follow-up.

Source Parts MCP automation triggers