Documentation Index
Fetch the complete documentation index at: https://docs.zentien.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Salesforce Flows can fail silently — fault path emails often go unread, and there is no central place to see which Flows are failing and why. Zentien provides a pre-built subflow you can drop into any Flow’s fault path to capture errors in real time.The Zentien Log Flow Error subflow
TheZentien Log Flow Error subflow is included in the Zentien package (v0.2.0+). It takes three inputs:
| Input | Required | Description |
|---|---|---|
flowName | Yes | Name of the calling flow (hardcode the API name) |
errorMessage | Yes | Pass {!$Flow.FaultMessage} here |
recordId | No | ID of the record being processed when the fault occurred |
How to add it to your Flow
- Open your Flow in Flow Builder
- On any element that can fail, connect the fault path (the red connector)
- Add a Subflow element on the fault path
- Select Zentien Log Flow Error as the subflow
- Set the input variables:
- Flow Name → type the API name of your flow (e.g.
Order_Processing) - Error Message → select the
$Flow.FaultMessageglobal variable - Record ID → (optional) pass the ID of the record being processed
- Flow Name → type the API name of your flow (e.g.
- Save and activate your Flow
Always connect the fault path to something — even if you just want to log and continue. Leaving a fault path unconnected causes Salesforce to send an email and stop the flow.
Example
A Flow that processes orders and sends an error to Zentien if anything fails:What you see in Zentien
Flow faults captured via the subflow appear in your Errors page with:- Event Type:
FLOW_FAULT - Automation Name: the flow name you passed
- Error Message: the fault message from Salesforce
- Record ID: the record being processed (if provided)
Next step
Callout Monitoring
Track every outbound HTTP callout from your Salesforce org.