How it works
When Salesforce encounters an unhandled Apex exception or a Flow fault, it sends an email notification. Zentien provides each org with a unique inbound email address. When you add this address to your org’s notification settings, those emails flow directly into Zentien — no polling, no delay.Find your inbound address
Go to Orgs in the Zentien dashboard. Your inbound address is shown next to your connected org:Configure in Salesforce
Add your inbound address in two places:Apex Exception Email
Captures unhandled exceptions from Apex code, batch jobs, and scheduled jobs.- Go to Setup → search “Apex Exception Email”
- Under External Email Addresses, add your Zentien inbound address
- Click Save
Flow and Process Error Email
Captures Flow fault path errors and Process Builder failures.- Go to Setup → search “Process Automation Settings”
- Find the Send Process or Flow Error Email field
- Add your Zentien inbound address
- Click Save
Test it
To confirm the setup is working, trigger a test error and check your Zentien dashboard:- In Zentien, go to Orgs and note your inbound address
- In your Salesforce org, run any code that throws an unhandled exception
- Within 1–3 minutes, the error should appear in Zentien → Errors
Salesforce suppresses duplicate exception emails when the same class throws the same error repeatedly within a short window. If you don’t receive an email after testing, wait a few minutes and try again with a different error. See the FAQ for more details.
Next step
Capture handled errors
Use ErrorLogger.log() to capture errors you catch explicitly in your Apex code.