{"name":"Bounty Engineer — Agent Failure-Cost Firewall","active":false,"settings":{"executionOrder":"v1"},"nodes":[{"id":"start","name":"Start manually","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[0,0],"parameters":{}},{"id":"call","name":"Agent Failure-Cost Firewall","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[260,0],"parameters":{"method":"POST","url":"https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/failure-cost-firewall","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","sendHeaders":true,"headerParameters":{"parameters":[{"name":"Idempotency-Key","value":"={{ 'be-' + $execution.id + '-' + $itemIndex }}"},{"name":"X-Max-Credits","value":"2490"}]},"sendBody":true,"specifyBody":"json","jsonBody":"{\"target_ids\":[\"db\"],\"max_exposure_usd\":1000,\"nodes\":[{\"id\":\"db\",\"dependencies\":[],\"exposure_usd\":200,\"criticality\":0.9},{\"id\":\"checkout\",\"dependencies\":[\"db\"],\"exposure_usd\":600,\"criticality\":1},{\"id\":\"analytics\",\"dependencies\":[\"db\"],\"exposure_usd\":50,\"criticality\":0.2}]}","options":{"timeout":60000}}},{"id":"instructions","name":"Before running","type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[0,-240],"parameters":{"content":"## Paid own-data execution\nInspect the free sample first. Buy a one-time pack only if it fits your workflow. Create a private Header Auth credential: name Authorization, value Bearer YOUR_PRIVATE_API_KEY. Select it on the HTTP node. Each new execution has a new billable request key; do not rerun a paid job blindly. This template is inactive and has no schedule.","height":220,"width":560}}],"connections":{"Start manually":{"main":[[{"node":"Agent Failure-Cost Firewall","type":"main","index":0}]]}}}