Appiphony
 
  • Products
    • Merge Connect Document Generation
    • eSign Connect Docusign Integration
    • Parse Connect Document Parsing
    • Share Connect SharePoint Integration
    • Drive Connect Google Drive Integration
    • Experience Connect Experience Cloud Add-on
  • Company
  • Resources
    • Documentation Learn about our products
    • Blog Salesforce guides and tutorials
    • Customer Stories How our customers succeed
    • Videos Visit our YouTube channel
    • Company Get to know Appiphony
    • Careers View openings
    • PDO Services Build with Appiphony
    • PDO Customer Portal Access our customer portal
  • Pricing
Product Documentation Contact Us

Record-Triggered Flows

  1. Navigate to Salesforce Setup > Process Automation > Flows. How to automate document generation in Salesforce
  2. From the Flows page, click New Flow. How to automate document generation in Salesforce
  3. Select Record-Triggered Flow, then click Create. How to automate document generation in Salesforce
  4. You will be prompted to set up your starting node's criteria (how the flow will be initiated), as well as configure the Salesforce object the action will take place on. You can go back to this screen by editing the Start node of the flow. For more information on building out your flow, please see the Salesforce documentation on Defining Conditions in a Flow.
  5. Below the Start node, select the Add Element node, then select Action. This will auto-display the Action section to the right.
  6. In the Action field, search and select Automate Merge (apex-mergeconnect__AutomateMerge).
  7. Fill out the required fields for Label and API Name, by default the operation New File from Template is selected. This is currently the only operation available.
  8. Next you will see a few additional options. Below is a list of the available settings to configure:
    • Publish Results Event — By default, it is not enabled. Publishes a platform event on completion of this operation with its results in JSON format, including data such as the ID of a Generated File.

    • Template — By default, it is set to From Merge Connect which will allow users to select a template created through Template Builder for the set Object. However this can be changed to From a Text Variable. Users can create a variable resource type with the data type of text that will contain a template ID (taken from templates created through template builder) as the value.


    • Generated File Format — By default, it is set to Microsoft Format (only .docx and .pptx files are currently supported). However, this can be changed to be a PDF Document (.pdf).

    • Template Name — The Select a Template button will open up the Select Templates Modal.

  9. If the Template field is set to "From Merge Connect", clicking "Select a Template" will open the Select Templates modal. Here, users can choose a single published template. Templates can be searched by name or description. Once a template is selected, click Select to confirm your choice.

  10. Additionally, users can add a child operation by clicking on + Add Child Operation. By default the child operation is set to Update Record Field, which is currently the only child operation available. Next you will see a couple of additional options:

    • Field — By default, no value is set. However this can be changed to any field on the object your flow is set to trigger on that you would like to update with the selected value.

    • Value — By default, no value is set. However, this can be changed to the following values:

      • Salesforce Content Document ID

      • Salesforce Content Version ID

  11. Now that your Flow is completed, you can enter the required fields for Flow Label and Flow API Name, then click Save.
  12. Click Activate.
  13. To test your Flow, go back to your Salesforce object/record and trigger your Flow. Once triggered, the component will display a state of automation in progress.

 

Getting Started

  • Introduction
  • Installation & Setup
  • FAQs
    • How do I update Merge Connect?
    • Why Can't I Establish an Inbound Connection?
    • Can I trial Merge Connect?
    • How is Merge Connect used in a sandbox environment?
    • How to Generate a Public Image in Salesforce?
    • How do I open a support ticket with the Merge Connect team?
    • How do I fix the "Dynamic Imports are Not Allowed" Error?
    • How to Leave an AppExchange Review for Merge Connect
  • Release Notes

Features

  • Template Management
    • Creating Templates
    • Previewing
    • Downloading
    • Uploading
    • Editing
    • Publishing
    • Unpublishing
    • Renaming
    • Deleting
  • Merge Field Generation
    • Merge Fields
    • Lookup Merge Fields
    • Related Lists
    • Merging with Lists
    • Merging with Tables
    • Conditional Logic
    • Merging with Images
    • Repeating Slides
    • Merging with Rich Text
  • File Actions
    • Merging Files
    • Bundling Files
    • Viewing Files
    • Downloading Files
    • Creating Public Links
    • Sharing Files
    • Viewing File Details
    • Uploading New File Versions
    • Editing File Details
    • Deleting Files
  • Automation
    • Record-Triggered Flows
    • Autolaunched Flows
    • Screen Flows
  • Agentforce
    • Installing the Extension
    • Merging with Agentforce
    • Adding Agent Actions
    • Generating a Document
    • Emailing a Document
    • Deleting a Document

Integrations

  • Share Connect
    • Merging from SharePoint Links Component
    • Merging with Record-Triggered Flows
    • Merging with SharePoint Images
  • eSign Connect
    • Merged Documents in Envelopes

Billing

  • Purchase
  • Manage
    • Licenses
    • Term
    • Payment Info
    • Cancellation

Products

  • eSign Connect
  • Parse Connect
  • Share Connect
  • Merge Connect
  • Drive Connect
  • Experience Connect

Pricing

  • Drive Connect Pricing
  • eSign Connect Pricing
  • Share Connect Pricing
  • Merge Connect Pricing
  • Parse Connect Pricing
  • Experience Connect Pricing

Resources

  • Documentation
  • Blog
  • Customer Stories
  • Videos
  • Company
  • Careers
  • PDO Services
  • PDO Customer Portal

© 2026 Appiphony, LLC. All rights reserved.

Various trademarks held by their respective owners.

Manage Cookies • Policy & Terms
Loading Comments...