How To: Create an Event that Sends an Email when the User Successfully Uploads a File

How To: Create an Event that Sends an Email when the User Successfully Uploads a File


How To: Create an Event that Sends an Email when the User Successfully Uploads a File

Question

Can you give me a quick guide on creating an event that sends an email to a specific address whenever a user uploads a file that contains information of the file in the body of the email such as file name and if possible, file path?


Reasoning

Creating an email notification event for file uploads helps administrators monitor user activities in real time. Including file name and path details in the email ensures precise tracking and enhances security by alerting administrators about uploaded content immediately.


Answer

Follow the steps below to configure an event that triggers an email notification upon file upload:


Pre-Requisite

Working SMTP Setup in Titan Server


Steps

  1. Login to Titan Server

A screenshot of a login formDescription automatically generated


  1. Navigate to Domain > Server > Events.


  1. On Event Handlers, click Add.


  1. In New Event Handler, click Add Event.


  1. In Add Event, Select File Events > File Upload/Write > Upload/Write successful then click OK.


  1. Click Actions, then Add Action.


  1. Click Send Email, then Fill the Required Fields.

To: Email address of the recipient.

From: Email address of the sender/user.

You can utilize the user's email variables if their email address belongs to the domain configured in the SMTP settings under Domain > Server > Email tab.

Example: %USR.GENERAL.EMAILADDRESS%


CC: Email address of the carbon copy recipient - Optional    

BCC: Email address of the blind carbon copy recipient - Optional

Subject: Subject line of the email

        You can dynamically set subject line using variables.

            Example: %USR.USERNAME% upload file successfully.


Body: Content of the email

        -You can dynamically set Body message using variables.

            Example: %USR.USERNAME% uploaded %FILEPATH.NAME% located on %FILEPATH.PTH% at %TIME% with the size of %FILESIZEMB%.

    

Attachment: File to attach to the email - Optional


Note: Use system variables to dynamically get the information needed.


To see the list of variables, navigate to: Domain > Server > Connection > Messages Tab and click Edit on any message listed below. Select and copy the variables from the dropdown and paste them into your event.


  1. Upload a Test file to verify.
    • Related Articles

    • How To: Create a File Uploaded Event

      Question Can I create an automation that triggers once a file is uploaded into Titan SFTP Server? Reasoning As an admin, I would like to be able to create automations that perhaps can send email notifications or process the incoming files once ...
    • How To Event-File upload

      How To: EVENT – File upload Question How can I create an event that triggers when a file is uploaded? Reason To automate actions such as notifications, file transfers, or processing tasks whenever a user uploads a file. Answer You can create a file ...
    • How To: Configure SMTP Server in Titan SFTP

      Question Can I utilize an SMTP server for notifications in Titan SFTP Server? Reasoning As an admin, I would like to be able to create automations or events that send email notifications to end users or to the admin with an SMTP server so we have ...
    • How To: Disable User Accounts with Events

      Question Is there an automated way I can disable user accounts? Reasoning I am seeing user connections from users that are no longer authorized to connect to Titan SFTP server and I would like to have an automation to disable these accounts as they ...
    • HowTo MoveFilesWithAnEventInTitanNexGen

      How To: Move Files with an Event in Titan NexGen Question How to move files using an event in Titan NexGen? Answer Please follow the step-by-step instructions below. Steps to Move Files using Event Upload Successful: In your Admin Console, go to ...