BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
21 / 81 · Module 7 — Error Handling in Mule · filtered: interview← prev⊞ allnext →

7.61Full example

Let's design our customer integration:

POST /customers
      ↓
Validate
      ↓
Transform Account
      ↓

Until Successful
 ┌──────────────────┐
 │ Salesforce       │
 │ Account UPSERT   │
 └──────────────────┘
      ↓
Save Account ID
      ↓

Try
 ┌────────────────────┐
 │ Marketing API      │
 │ optional enrichment│
 │                    │
 │ on HTTP failure    │
 │ On Error Continue  │
 └────────────────────┘
      ↓
Response

Flow-level handler:

Validation failure
→ 400

Salesforce retry exhausted
→ 503

Unexpected error
→ 500

All responses include:

correlationId

This is a credible production design.