I’m working on a bot that:
reads all the unread email from Inbox,
loop through each email and save all the .pdf files,
log email date/sender, and file name to excel sheet,
then print all the pdf.
log if each pdf file is printed or not in that excel.
I don’t know how should I design my work flow because some email contains multiple pdfs, if I log theemail sender and date in state machine 1, how should I match the “ifPrinted” result in corresponding data row (filename)?