Overview
You can set up automations to automatically create and upload files to an SFTP account whenever stock is transferred between accounts. The files are generated dynamically with the relevant event data.Define the trigger
Set the trigger event to Stock is Transferred To Account. Choose specific conditions such as transfers from a certain account, to a certain account, or within a specific warehouse.
Specify the action
Select Create a File and Upload to FTP and configure:
- File Name — name for the generated file
- FTP User — the FTP account where the file will be uploaded
- Document Category — e.g., dispatch
- Mapping Group ID — optional, for file mappings from a specific group
Dynamic data objects
You can include dynamic data in your template using placeholders. The key objects available are:- transaction_source — transactional data from the source account
- transaction_target — transactional data from the target account
Both objects include fields such as
id, created_at, account, product, warehouse, quantity, and new_quantity.
