Generate File

Business Background

Generate files to store data that can be sent via email or exchanged using external cloud storage services.

Titan Solution

With Titan Flow, you can generate a file, such as CSV or TXT, that suits your unique business needs. For instance, you can disable the integration and account logging in Titan and then use the Generate File functionality to audit and monitor transactions together with the Titan Web Store Error Messages in Variables functionality. You can generate a JSON file for a transaction and upload it to an external cloud storage location.

How to Video

  • Coming soon!

How to Guide

You can use this functionality with the Store Error Messages in Variables. The variables are used to send error messages.

  1. Click the Gear icon and select the Tools option.
  2. Click the Custom Variables Gear icon. The Custom Variable screen opens.
Custom Variables Gear icon
Custom Variables Gear icon
  1. Add the variables:
    • Click the Static option. In this example, we added the variables as follows:
      • error_message_JSON
      • aws_s3_url
    • Click the Files option. In this example, we added the variable as follows:
      • audit_log_file
Variables
Variables
  1. Configure a Titan Flow to push the error messages in a Generate File node to an external cloud storage service as follows:
  2. Click the + icon next to Any. The Add Node screen opens.
+ icon
+ icon
  1. Click the Action tab and select the Generate File option. The Add Node/Generate File screen opens.
  2. Click the Next button.
Generate File option
Generate File option
  1. Use the drop-down list to select a file name:
    • Static: Type a file name in the field.
    • Field: Select a variable from the list.
  2. Use the drop-down list to select a file type:
    • Static: Type a file type in the field, for instance, .doc or .txt.
    • Field: Select a variable from the list.
  3. Use the drop-down list to select file content. In this example
    • Static: Type the file content in the rich text area.
      • You can use the All element drop-down list to select global variables to insert in the body of the rich text area. In this example, the following variable is used:
      • error_message_JSON
    • Field: Select a variable from the list.
  4. Use the Store File In drop-down list to select an option. In this example, the variable is used as follows:
    • audit_log_file
  5. Click the Next button.
Add Node/Generate File screen
Add Node/Generate File screen
  1. Add a tag and click the Insert button.
  2. Click the + icon next to the Generate File node. The Add Node screen opens.
+ icon
+ icon
  1. Click the Integrations tab and select an external cloud storage solution. In this example, the Amazon S3 option was selected.
Integrations
Integrations
Note:

You can integrate with the following service providers:

  1. Configure the Amazon S3 node. In this example, the following fields were mapped:
    • Path to folder: audit_logs
    • Files to upload: audit_log_file
    • File Name Uniqueness: Titan Unique FLow ID
    • Store link to: aws_s3_url
Add Node screen
Add Node screen
  1. Add a tag and click the Insert button.
  2. Click the + icon next to the external cloud storage node. The Add Node screen opens.
  3. On the Popular tab, select the Finish node. In this example, the following checkbox was selected:
    • aws_s3_url
Add Node screen
Add Node screen
  1. Add a tag and click the Insert button.
  2. Save and Publish the project.
Nodes added
Nodes added

You can call this Flow from Salesforce or use the Generate File Flow in Titan Web to send error messages.

Hidden Title

Need more help?