FlowWright's SFTP Trigger feature allows a workflow process to start automatically when files arrive at a configured SFTP (SSH File Transfer Protocol) location. It provides a secure, file-based integration mechanism between FlowWright and external applications, vendors, customers, and enterprise systems. For example, when a bank uploads a daily transaction file to an organization's SFTP server, FlowWright can automatically detect the incoming file and initiate a transaction-processing workflow. Instead of manually monitoring the SFTP server and starting workflows, FlowWright's Trigger Service handles the background trigger processing.
Consider an organization that receives payroll files from multiple business partners.
Without SFTP Trigger:
- Business partners upload payroll files to an SFTP server.
- An employee logs in to the SFTP server.
- The employee checks for new files.
- The employee downloads the payroll files.
- The employee manually initiates the FlowWright payroll workflow.
- The workflow processes the payroll information.
With SFTP Trigger:
- Business partners upload payroll files to the configured SFTP server.
- FlowWright monitors the configured SFTP location.
- The SFTP Trigger detects incoming files.
- FlowWright automatically initiates the configured workflow.
- The workflow retrieves and processes the payroll files.
Automates secure file exchange and eliminates manual intervention in file-driven business processes.
How does SFTP Trigger execute a workflow?
The following illustrates the intended SFTP-to-workflow integration.

Navigate to the “Process > Triggers” page.

The Triggers page is rendered below, showing the Manage Email Triggers page by default.

Select "Triggers > SFTP".

The “Manage SFTP Triggers” page is rendered as shown in the example below. Use the “Search” text box to filter the results.

Create an SFTP Trigger.
Select the “Actions > Create” menu option on the Manage SFTP Triggers page. Identify the SFTP connection associated with the trigger. Specify the remote SFTP path used by the trigger. Specify the configured wait duration. Specify the name of the workflow definition associated with the trigger. Specify the name of the process variable or global used to store the trigger result. Select the checkbox to enable the SFTP connection. Click the “Test” button to verify the configuration. Click the “Create” button to create the trigger. A confirmation message will appear in the top-right corner.
Note: The FlowWright trigger service should run on the Windows Services page.

Edit an SFTP Trigger.
On the Manage SFTP Triggers page, select a trigger in the table, then click the “Actions > Edit” menu option.

The SFTP Trigger details are rendered in a pop-up window for modifications.

After making changes, click “Update”. The SFTP Trigger changes are saved, and a confirmation message appears in the top-right corner.

The Audit History Log shows the configuration changes.

Enable/Disable SFTP Trigger.
On the Manage SFTP Triggers page, select a trigger in the table, then click the “Actions > Enable/Disable” menu option.

The SFTP Trigger toggles between “enabled” and “disabled.” A confirmation message appears in the top-right corner.

Remove the SFTP Trigger.
On the SFTP Triggers page, select a trigger in the table, then click the “Actions > Remove” menu option.

Click OK to confirm.

The trigger is permanently removed, and a confirmation message is displayed in the top-right corner.

The Audit History Log shows the configuration changes.
