This lesson will cover the following topics:

02 | Setup
03 | Flow
05 | Preview

01 Getting Started

This tutorial covers triggering a Flow from Salesforce.

02 Setup

In Salesforce, a merge files checkbox field exists for each contact. When this checkbox is marked as true, all attachments for the contact must be merged into one file.

Example of a Salesforce contact

03 Flow

A Flow project was configured:
  • A Salesforce Action to retrieve all the attached documents associated with the contact.
  • A Merge Files action to merge all the files into one.
  • A Salesforce Action to push the merge files back to Salesforce.

Flor example

04 Flow in Salesforce

1. Navigate to the Setup window in Salesforce, search for Flows, and click New Flow.

Create a new Salesforce flow

2. Select Record-Triggered Flow and click Create.

New flow window with Record-Triggered Flow selected

3. Configure the following:
  • Object - Contact
  • Trigger the Flow when - A record is updated
  • Condition Requirements - All Conditions Are Met (AND)
    • Field - Merge_Files_c
    • Operator - Equals
    • Value - True

Object configuration

4. Click the + icon in the flow builder.

Add new action to the flow

5. Select Action.

Add Action

6. Configure the following and click Done:
  • Action - Form-Builder__TitanFlow
  • Label - Call Titan Flow
  • ftFormHash - This is retrieved from the publish window in your flow.

Publish project window showing where to retrieve your hash

  • recordId - {!$Record.Id }

New Action configuration

7. Save the flow, add a label to the flow, and Activate.

05 Preview

When the Merge Files checkbox is marked as true, all files associated with the contact are merged and saved.

Preview of how the flow is invoked from Salesforce

06 Got Feedback?

Additional Resources