This lesson will cover the following topics:

02 | Variables
03 | Use Case

01 Getting Started

This tutorial covers input and output in Titan Flow. As this is a workflow tool, there is no user interface. To utilize Titan Flow, it must be invoked. This can be done from a Titan product or directly from Salesforce. In both cases, you will need to provide some input which will trigger the flow.

02 Variables

To create input in Titan Flow, you will need to use variables. Both Static and File variables can be used. For static variables, you can create a string or numeric value that will be used to pass information. 

File variables can only be used as input since only Titan Flow has the capability to handle files.

03 Use Case

To demonstrate how variables work for input and output we have created the following variables:

  • Static: input and output.
static variable screenshot
  • Files: input_file.

Files variables

To use these variables:

1. Click the Any + icon, choose Google Drive as the node, and click Next.

add google drive node

2. Using the dropdowns, the input_file Files Variable was selected for Files to Upload, and the output Static Variable was selected for Store Link To. Configure the remainder of the settings and click Next.

Google drive config

3. Enter a tag name for your node and click Insert.

To return the variable as output, you must use the finish node.

1. Click the Google Drive + icon, select Finish as the node, and click Next.

Screenshot showing the finish node selected

2. Using the radio buttons, you can select from the created static variables. For this example, we will choose the output variable. Click Next.

Screenshot of the finish node configuration

3. Enter a tag name and click Insert.

With the current flow, an input of a file is received, and the file is uploaded to Google Drive and retrieves a link, the link to the file is then stored in the output variable.

screenshot of a flow example

04 Got Feedback?

Additional Resources