I'm trying to start one of my workflows and don't know how to go about it. Currently our files come in from our customers via a form on our website. We get an e-mail with a URL that stores all the files in a zip. I need to find a way to have Core (or a middle man program) actively watch a inbox, go to the URL in the document and downloads/unzips the files into a Core workflow. Any ideas on how to do that?
Solved! Go to Solution.
There are a lot of way to enable this sort of thing. I think details depend on your expertise and on your specific environemnt.
That said, on the FFCore side I would use MAX for job submission.
This form of submission requires only a text file with a pointer to the Zip file.
FFCore will fetch the file from URL in the text file and submit it to the workflow. The Zip file is unpacked and all found PDFs are submitted as part of a job group.
The location of the zip file may be an UNC or an HTTP location. We do not support HTTPS location at this point in time. Also, we do not support anything other than basic HTTP authentication. If you were to go down this path I would use htaccess to lock down the folder with the files.
If an email is all that you can get you will need a script of some sort to accept the email and create the data file.
I know you can do that sort of thing using Outlook VBA. I'm not sure how robust something like that would be.
A better alternative would be to write a script that would log into an IMAP mailbox and read the emails / create the CSV file. Something like this:
You can schedule periodic execution of this script to check the email at specific intervals.
Another option to consider - if you control the webserver - would be to use something like box.net / dropbox / etc. to move the file through the firewall. You can save the file on the web server and have that service sync it to a FFCore hot folder. It would be a lot simpler and require no programming but it does require access to the web server to install software.
Anyhow - as I said above what makes sense will depend on your specific...