A developer needs to import a file nightly that will be used for multiple SQL Query Activities. The file could arrive any time between 2 a.m. and 5 a.m., and one of the
requirements is that there is a unique file name for each import, rather than overwriting the file on the FTP site.
Which action should be configured?
The requirement is to start an automation whenever a file arrives on the Enhanced FTP site, regardless of whether it arrives at 2 a.m. or 5 a.m. A File Drop Automation monitors a specified FTP directory or filename pattern and starts automatically when a matching file is uploaded. It can then execute multiple activities, including imports and SQL Query Activities, in sequence. Dynamic filenames also help ensure that each incoming file is uniquely identified.
Correct Option:
A. File Drop Automation
A File Drop Automation is the correct choice because it is event-driven rather than dependent on a fixed execution time. It monitors the configured Enhanced FTP directory or filename pattern and starts when a matching file arrives. Salesforce also recommends dynamic filenames, such as including date variables, to make files easier to identify and audit. This supports the requirement for a unique filename for every import instead of repeatedly overwriting the same FTP file.
Incorrect Option:
B. Scheduled Automation
A Scheduled Automation starts at a predefined time or interval, such as 2 a.m. every night. However, the file can arrive at any time between 2 a.m. and 5 a.m. A scheduled process could therefore execute before the file is uploaded, causing the import to fail or process an older file. It does not automatically respond to the arrival of a file, making it less suitable than a File Drop Automation for this requirement.
C. Dynamic File Import
Dynamic file naming is a configuration capability used with import activities, not an automation starting source. It allows an import activity to identify files using naming patterns, including date and timestamp variables. However, it does not independently monitor the FTP site and start an automation when a file arrives. The requirement is to trigger multiple downstream activities based on file arrival, so a File Drop Automation is the appropriate starting mechanism.
Reference:
Salesforce documentation, Automation Starting Sources and Configure a File Drop Automation, explains that File Drop Automations monitor Enhanced FTP directories or filename patterns and start when matching files are uploaded. It also recommends dynamic filenames for easier file auditing.
