How Blacksmith Forges Code
A real-time safety layer engineered for n8n and Make. When schemas fracture and data flows halt, our AI Anvil catches the impact, hammers the JSON into perfection, and quenches your pipeline back into production.
The 4-Stage Recovery Pipeline
Average End-to-End Latency: 840msThe Catch & Trap
Edge Webhook Ingress (<35ms)
When a node in n8n or Make throws an unhandled exception or receives an unexpected 4xx/5xx response, your Error Handler routes the complete execution envelope (Headers, Query, Faulty Body, Compiler Error) directly to Blacksmith.
The Furnace Heat
Schema Differential Parser
The payload enters our diagnostic furnace. We cross-reference the incoming JSON keys against the target API's schema specifications, pinpointing renamed keys, mutated data types, dropped required fields, and JSON syntax errors.
The Anvil Strike
Fine-Tuned Schema LLM
The AI Anvil strikes the damaged payload. Strings containing formatted currencies are coerced into pure floats, renamed parameters (e.g. amount_total → amount) are mapped, and nested structures are forged to meet exact destination constraints.
The Quench & Resume
Automated Resume Relay (<200ms)
The tempered, verified payload is transmitted back to your automation's resume webhook or retry node. The execution carries forward from the exact node that failed, preserving downstream state and eliminating manual intervention.
Interactive Anvil Simulator
Choose a damaged scenario and trigger the hammer to witness live JSON schema reconstruction.
{
"event": "invoice.payment_succeeded",
"customer_id": "cus_J91bX9",
"amount_subtotal": "8950",
"tax_exempt": "none",
"legacy_ref": null
}{
"event": "invoice.payment_succeeded",
"customer_id": "cus_J91bX9",
"amount": 8950,
"tax_exempt": "none",
"_blacksmith": {
"coerced_keys": [
"amount_subtotal -> amount"
],
"numeric_cast": true
}
}Connect n8n or Make in 60 Seconds
Zero code changes to your workflow nodes. Simply plug our webhook into your error handler.
Add Error Trigger Node
Inside your n8n workflow canvas, add an "Error Trigger" node. This node catches any execution error across your pipeline.
Paste Catch Webhook
Connect an HTTP Request node to your Blacksmith Catch URL with Method = POST and Body = All Execution JSON.
Resume Automatically
Blacksmith repairs the payload and posts to your workflow's resume webhook. Your flow finishes cleanly.
Your Catch Endpoint Sample
https://forge.blacksmith.ai/v1/catch/demo_key