Action402 cookbooks

Recipes agents can copy before they pay.

Each cookbook keeps the same safe flow: discover, inspect pricing, run a free decision or policy check, pay the x402 route, then verify the signed receipt.

Production recipes

Start with simple, bounded side effects.

These are the Action402 equivalents of ecosystem cookbooks: focused examples that make the paid execution primitive useful without inventing a new workflow engine.

chatops

Send a paid Slack or Discord alert

Use this when an agent needs a visible human notification and a receipt proving the alert attempt.

POST /api/decide/webhook
POST /api/execute/guided-webhook
GET /api/verify/jobs/{jobId}
automation

Trigger Zapier or Make

Let a buyer agent pay for one no-code automation trigger without sharing a dashboard account.

{
  "url": "https://hooks.zapier.com/hooks/catch/...",
  "method": "POST",
  "body": { "event": "agent.workflow.triggered" },
  "idempotencyKey": "zapier-trigger-001"
}
developer

Dispatch a GitHub workflow

Trigger repository automation and keep a public proof badge for the paid attempt.

{
  "url": "https://api.github.com/repos/OWNER/REPO/dispatches",
  "method": "POST",
  "body": { "event_type": "agent.action402" },
  "idempotencyKey": "github-dispatch-001"
}
trust

Verify before marking done

Never trust a paid side effect only from the first response; verify the job or receipt link.

GET /api/verify/jobs/{jobId}
GET /proof/{jobOrReceiptId}
GET /api/trust
agent tooling

Wrap Action402 as an MCP tool

Use the MCP manifest and skill file to expose paid webhook execution to local agents.

GET /.well-known/mcp.json
GET /api/mcp
GET /skills/action402/SKILL.md
publishing

Submit an endpoint to the ecosystem

Add compatible endpoints and projects so other agents can find concrete examples.

Open /submit
Fill endpoint, category, proof link
Add safe copy-paste example

Canonical buyer flow

Keep every cookbook deterministic.

GET /api/pricing
GET /api/actions
POST /api/decide/webhook
POST /api/execute/guided-webhook  # x402 paid
GET /api/verify/jobs/{jobId}
GET /proof/{jobOrReceiptId}