---
schema_version: "1"
id: 6b912b26210846ddbe721cb579b08d36cfabac274e530fdd1a8af0e7878e38fe
title: Configure Every Fault Path to Send You an Email
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_build_logic_fault_email.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_build_logic_fault_email.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 923050f51d7f65f1bacaeefab4b31cdee9fd31db214b5fb25d39c68859a9f37e
description: As a best practice, we recommend configuring the fault connectors in your flow so that you always receive an email when a flow fails. In the email, include the current values of all your flow’s resources. The resource values can give you insight into why the flow failed.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Configure Every Fault Path to Send You an Email

As a best practice, we recommend configuring the fault connectors in your flow so that you always receive an email when a flow fails. In the email, include the current values of all your flow’s resources. The resource values can give you insight into why the flow failed.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d288457e60">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d288457e60 ">To open, edit, create, activate or
              deactivate a flow using all flow types, elements, and features available in Flow
              Builder, including Einstein and Agentforce for Flow:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d288457e60 ">Manage Flow</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note You don't need to be an admin to have the Manage Flow permission. Ask your admin to add it to your profile or permission set.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_important.png)

Important To send email from Salesforce, the Send Email action in Salesforce Flow requires domain-level and user-level email verification. Email delivery fails if either the user's email address or the email-sending domain is unverified. See [Requirements to Send Email from Salesforce](https://help.salesforce.com/s/articleView?id=xcloud.security_email_verification_requirements.htm&language=en_US&type=5).

1. Add a fault path to an element in your flow.
    
    In this example, we added a fault path to the **Create Survey Records** element.
    
    ![The Create Records element with fault connector](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/flow/flow_connector_fault_path.png)
2. Add a Send Email action to the fault path in the flow.
    
    1. For **Recipient Address List**, enter your email address.
    2. Click **Compose Email Content**.
    3. For **Subject**, enter a string to use as the email subject.
    4. For Body, enter the email body content.
        
        In this example, we have used the following email body content.
        
        ```
        Error: {!$Flow.FaultMessage}
        
        RESOURCE VALUES 
        Customer Response: {!CustomerResponseRadioButtons} 
        Value of Decision's Yes outcome: {!IsWantsToParticipate} 
        Company: {!CompanyNameText} 
        Satisfaction: {!SatisfactionPicklist} 
        Service: {!ServiceText}} 
        Other Comments: 
        {!OtherCommentsText}
        ```
        
        ![Error Email element configuration](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/flow/flow_connector_fault_email_element.png)
    
    The fault path now connects to the Send Error Email element.
    
    ![The Create Records element with fault connector containing the Send Email element](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/flow/flow_connector_fault_email_connectors.png)
3. From every other element that can fail, add a fault path to the Send Error Email element.
    
    In this example, Create Survey Record is the only element that supports fault paths.

#### See Also

- [Text Template Flow Resource](https://help.salesforce.com/s/articleView?id=platform.flow_ref_resources_texttemplate.htm&release=264.0.0&type=5 "Store text that can be changed and used throughout the flow.")
- [Send Email Action](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_actions_sendemail.htm&release=264.0.0&type=5 "Use the Send Email action in Flow Builder to send emails to individual recipients, apply email templates, add attachments, and optionally log emails to related records' activity timelines. For bulk email to audience segments, use the Send Email Message element instead.")
- [Customize What Happens When a Flow Fails](https://help.salesforce.com/s/articleView?id=platform.flow_build_logic_fault.htm&release=264.0.0&type=5 "Learn how fault paths customize what happens when a flow fails. Choose how to notify admins, guide users, and take a follow-up action.")