Insert metadata from email into a job
Posted: Thu Jan 25, 2024 12:30 am
I am new to Switch so I am sure some of my terminology is not correct. I am wanting to figure out how to merge information from two different sources so that I can use metadata from both sources to direct the flow.
We have a file submission portal that puts submitted files in a folder on an FTS server with the following format.
222222 (this is the folder name)
-file1.pdf
-file2.pdf
-file3.pdf etc
We also get an email with the following text in the body of the email.
Job Number|222222
Internal Job Number|55555
Submission Type|New Job
Email|test@test.com
Upload ID|5983
Upload Date|Tue, 01/23/2024 - 16:22
I really need to be able to get the Internal Job number and the Email from the email we receive to then be able to set up the output folder structure, as well as be able to send notification emails to the correct person. I am able to receive the emails using Mail Receive and convert the body to a .txt file, and I am downloading the files to our server just fine. What I am not sure how to do is combine the two and how to get the data out of the email in a meaningful way. We do have the metadata module.
Any guidance on how to merge these two data points together so switch knows they are the same job would be helpful.
We have a file submission portal that puts submitted files in a folder on an FTS server with the following format.
222222 (this is the folder name)
-file1.pdf
-file2.pdf
-file3.pdf etc
We also get an email with the following text in the body of the email.
Job Number|222222
Internal Job Number|55555
Submission Type|New Job
Email|test@test.com
Upload ID|5983
Upload Date|Tue, 01/23/2024 - 16:22
I really need to be able to get the Internal Job number and the Email from the email we receive to then be able to set up the output folder structure, as well as be able to send notification emails to the correct person. I am able to receive the emails using Mail Receive and convert the body to a .txt file, and I am downloading the files to our server just fine. What I am not sure how to do is combine the two and how to get the data out of the email in a meaningful way. We do have the metadata module.
Any guidance on how to merge these two data points together so switch knows they are the same job would be helpful.