This lesson will cover the following topics:

01 Getting Started

This tutorial covers emailing documents using Document Generate Automation. Ensure you have completed the previous lesson before continuing.

You can create a flow that triggers the document generation process; this will include any email configuration you have set up in your Form project.

02 Record Triggered Flow

1. Navigate to the Salesforce Setup menu, search Flows, and select the results.

2. Click New Flow. The Flow Builder opens.

Screenshot of Salesforce Setup showing how to create a new flow

3. Choose whether you are building your flow from scratch or using a template. Click Next.

Screenshot of new flow options

4. Select Record-Triggered Flow and click Create.

Screenshot of the select type window

5. Configure the following:
  • Object - Opportunity
  • Configure Trigger - A record is created or updated
  • Condition - All Conditions Are Met (AND). You can configure any additional conditions required to trigger your flow.

Screenshot of the start node configuration

6. Click the + icon.

Screenshot of the plus icon to add a node

7. Choose Action Interaction.

Screenshot of the action node

8. Search for Form_Builder__FTDocGen and select the result.

Screenshot of the search action window

9. Label your action, enter your API Key and Form Hash (available in your form project), and select the object that will trigger the flow.

Screenshot of the keys required when configuring a form builder action

10. Save and Activate your Flow. Once the trigger action occurs, the flow will send the document as an email attachment.

03 Got Feedback?

Additional Resources