![]() ![]() A very simple live demo with example code and sample CSS Why? Drag files anywhere onto the window (or user defined 'frame' prop)! Very extensible, provides a hook for every event so you can use it to develop any custom behavior that you want. If you are looking at a high volume and frequency, you may want to explore another option such as API or a consolidation of files outside of SFMC that are then dropped at a lower frequency to ensure SFMC can handle it and not fail or severely delay your process.Zero dependency React component for Gmail or Facebook -like drag and drop file uploader. If you are dropping a significant volume of files at a high frequency, there is a high chance that the SFMC Automation may choke on these files and potentially fail or process at a very slow rate. Special thanks to James Lamb for this note: If you turn off queueing, any triggers that happen during a currently running instance will cause that instance to stop and restart based on the new file trigger.So if you overwrite a file in a filedrop for a later queued trigger, it will not use the original data, but the new data.Queue will run through the triggers in the order they were triggered, but it will use the most recent files.If you queue your runs, even if the previous run fails, it will still go through the queue until it is finished.You can also turn this off if you do not want the triggers to queue. if your files begin with YYYYMMDD_myfile then you would need to do an ‘Ends With _myfile’ as the variable part is not definable inside the File Drop automation.įile Queueing is set up to verify if you want to create a queue of multiple triggers if a second file is dropped before the first run is completed. There are no wildcards (that I am aware of) that work inside of this field, so you would need to account for this when setting up your naming convention. The field for File Drop automations is a literal string, meaning that if you type in myfile_%%month%% it will look for literally myfile_%%month%% and not myfile_01 like it would inside the import of file transfer activities. Wildcards that are available inside of the Import Activities and File Transfer Activities are NOT available inside of the File Drop Filenaming Patterns. (Special thanks to Jason Cort and Christine Potochny for their conversation on Email-Geeks Slack channel about this) Using pattern (Ends with bus) will succeed for: Using pattern (Begins with bus) will succeed for: Similar to SQL LIKE with no wildcard at the front. This can lead to issues if dropping more than 1 file to the location meeting the pattern (Thanks to Michal Rzepka who runs v and Rafał Pawelec) *Important note – using contains will not process the files in queue order but instead in what appears to be a random selection. Using pattern (contains bus) will succeed for: Similar to LIKE in SQL and just looks for if those characters exist in that order in any file. To ‘test the automation, you will need to drop a file while it is Active. ![]() This pauses the trigger or activates it to allow for editing without distortion of output. There is no ‘run once’ option in File Drop Automations, it instead uses ‘Active’ and ‘Inactive’.You can have multiple automations running on a single folder, but they cannot be triggered off the same file. (Thanks to James Lamb for the note on this) If you export a file via another automation to sit on the SFMC SFTP, a File Drop automation will NOT pick it up.Changing the file name on the FTP or things such as File Transfers from Safehouse, etc.It is not recommended to use the Import or Export folders for this activity, but to instead create custom subdirectories for these automations.File Drop Automations will only work on the SFMC Enhanced FTP and not 3rd party FTPs.Your account needs to use the Enhanced FTP in order to use File Drop Automations.There are a few considerations you should be aware of when dealing with File Drop Automations: This type of automation is used for when you need immediate actions completed based on file being loaded to the FTP.Īs a note though, this will only read off of the Salesforce Marketing Cloud FTP and will not work with 3rd party FTPs. They used to be called “Triggered Automations”. These automations are ‘triggered’ automations that read off of a file being loaded onto the SFMC FTP. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |