01 Getting Started

This tutorial will teach us how to trigger a Titan Sign project from a Salesforce automation.

02 Salesforce Configuration

  • Add a Salesforce Object
  • Add a Signer
  • Assign the Signer to Interactive Fields
  • Set up the Signer in Titan

03 Add a Salesforce Object

1. Open a dynamic Sign project and click the Salesforce Configuration button.
salesforce configuration
2. Select the Salesforce object from the drop-down list and click the APEX/Process builder/Flow checkbox.
3. Click the Apply button.
salesforce config screen
4. Please note that you will need the ftFormHash and the ftAPIKey in Salesforce. We will refer back to this screen when it is necessary.

04 Add a Signer

1. Select the None radio button under Protection.
2. Click the Add Signer option.
no protection>add a signer
3. Type a name in the field and click the Configure button in the newly added row.
configure button for signer
4. Click the Add object button.
add object button
5. Use the drop-down list to select the Salesforce object, for instance, Opportunity.
6. Click the Condition (Not Set) option.
Condition drop down
7. Click the Set Conditions button.
8. Use the drop-down lists to select the condition: ContactID Equals RecordID.
  • The opportunity that you select in Salesforce will receive the document.
9. Click the Apply button.
condition for salesforce
10. Click the Apply button on the Map Salesforce fields screen.
11. Click the + icon to create a child Get.
Create a child get
12. Use the drop-down list to select the Salesforce object, for instance, Account.
13. Click the Conditions (Not Set) option.
conditions drop down
14. Click the Set Conditions button.
15. Use the drop-down lists to select the condition; for instance, Account ID Equals #1 Opportunity Account ID.
16. Click the Apply button.
condition for salesforce
17. Click the Map field (Not Set) option.
18. Click the Set Mapping button.
19. Use the drop-down lists to map the Account name and email.
20. Click the Apply & Finish button.
mapping salesforce fields

05 Assign the Signer to Interactive Fields

1. Select the interactive field/s on the document.
2. Under General, select the signer.
3. Save the project.
Assigning fields to signers

06 Set up the Signer in Titan

Let’s go to the Titan Dashboard.
1. Browse to My Account > Users. You must give at least one group of collaborator permissions to use the document.
2. On the Collaborators tile, click the Edit icon next to your name. The Edit Collaborators screen opens.
my account > users
3. Click the Next button.
Edit Collaborators
4. Click the checkbox next to the document template name on the Sign tab and click the Finish button. If this checkbox is not enabled, the document will not appear in the list in Salesforce when you click the FT Generate Document button.
collaborator access
5. Click the Settings tab.
6. Click the Document Generation option and make sure that the Settings are open.
7. Use the toggle switch to allow API access and click the Apply button.
allow api access

07 Go to Salesforce

When the opportunity reaches a certain stage, we want to send the document to be signed.

08 Create the Salesforce Flow

1. Click the Gear icon and click the Setup option.
set up drop down
2. Search for “flow” and click the Flows option.
3. Click the New Flow button.
new flow button
4. Click the Record-Triggered Flow option and then click the Create button.
record-triggered flow
5. On the Configure Start screen, configure the following:
  • Use the drop-down to select the Salesforce object, for instance, Opportunity.
  • Use the radio button to trigger the flow when the “record is updated.”
  • Select the “All Conditions Are Met (AND)” condition requirement in the drop-down.
  • Search for the field, for instance, StageName, and use the drop-down list to select the Equals operator.
  • Search for the value “Proposal/Price Quote.”
  • Use the radio button to select “Only when a record is updated to meet the condition requirements.”
6. Click the Done button.
configure start
7. Click the + icon to add an action.
add an action
8. Select the Action option.
9. Search for the Form_Builder_FTDocGen action.
10. Type a label in the field.
new action
11. Copy the ftFormHash from the Titan Sign project …
salesforce config
12. … and paste it in the ftFormHash field.
13. Do the same for the ftAPIKey.
new action
14. Search for the Record and the Opportunity ID.
opportunity ID
15. Click the Done button. The Opportunity ID under the objectID will be passed to the Titan Sign project, and that will render the template.
new action screen
16. Click the Save button.
save button
17. Type a Flow label and Flow API name and click the Save button.
save the flow screen
18. Click the Activate button.
activate button

09 Trigger the Flow

1. Open the Opportunity in Salesforce and click the Proposal/Price Quote stage.
2. Click the Mark as Current Stage button.
mark as current stage button
The email linked to the opportunity received an email with a URL to the document where they can sign it.

10 Got Feedback?

Additional Resources