I get several emails everyday with 1 to 6 pdf attachments all in the same format, and the body of the email contains 1 to 6 strings corresponding to each attachment.
I need to create a sharepoint file for each attachment in a shared library and update the file's properties by splitting each string to get the info for each column. I can split each string by turning it into an array, but im having the hardest time creating the files and having the strings go into the columns/properties for each one.
Here is a screenshot of what I've been working on, some help would be very appreciated.

Let me know if you require any additional information!