Universal API Boilerplate (Golden Path)

Reference template that wires the five universal nodes into the Golden Path: webhook → validator → connection_http (retry+try_catch) → transform → idempotency_guard → side-effect → webhook_response. Clone this and swap connection_http for any vendor — works for ANY system the platform doesn't ship a branded connector for (REST, OData, SOAP, Stripe, Salesforce, custom internal APIs).

Steps in this flow

  1. Webhook Trigger (any system)
  2. Validate Payload + Signature
  3. Try / Catch (resilience scope)
  4. Catch: Log Vendor Failure
  5. Retry x3 (exponential backoff)
  6. HTTP: Call Vendor API (replace me)
  7. Transform: Vendor → Universal Shape
  8. Idempotency Guard (correlation ID)
  9. Side-Effect (replace with your action)
  10. Webhook Response 200
  11. Optional: Human Approval Gate

All templates