Shown flow says it is successful on testing, and every morning. However, the files from Outlook attachments are never updated to Dropbox. Both accounts are correct, I can log in as each. I know in the past I've had issues with my same email address on our Office 365 versus Azure Active Directory and mail/access getting interchanged. I don't know if that is related or not here. But the flow looks good, but doesn't work.
Hey @Bwalters613
In the update file, it should be attachment content for the content part. You can check the screenshot below : (also, get rid of the get attachment action)
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Get rid of the attachment action? Sorry, not sure what you mean there.
Hey @Bwalters613
If you compare your flow with the screenshot that I posted, You can see a Get attcahment action in the apply to each loop of your flow. You can remove that one as we are already iterating over the attachments.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Results are the same. Flow tests succesfully, no files change in Dropbox.
Failed ones this morning are me trying to modify it, or remove and re-add my Outlook acount.
Hi @Bwalters613 ,
Please click on the first record in Flow runs, we need to see the details of the Flow run history.
If the result of Condition is false, indicate that the folder specified by Dropbox does not contain the file with the same name as the attachment name.
Besides, It seems that although you specify the Folder as the root directory, it may not be able to get the files in the subfolders. Please check if this is the case.
If this is the case, you will need to reset the folder to the specific path where the folder is located.
Best Regards,
Hey @Bwalters613
Can you share screenshots of successful run and the unsuccessful run? Can you confirm that all the emails have attachments in these runs? If not we might have to add a condition to check if the email has attachments and only then move forward with the flow.
Also, I checked that in the earlier screenshot you have an email addrsss in the to field of the trigger. Can you remove that? The flow will run when the email is however received in the mailbox of the connection provided.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
I think I see why it failed, but don't know how to fix it:
Hi @Bwalters613 ,
It seems that the conditions you set in the Condition are not met, so the action in the If yes branch is not executed.
You can add a Compose action on top of the Condition to output the two parameters you configured in the Condition, and then see if the values of the two parameters are equal.
The configuration of your Flow seems to be no problem, just not meeting the expected conditions.
Best Regards,
The two parameters should not be equal (one is yes, one is no), so I am not sure what a Compose step will do to help. I'm just trying to get it to look at my Inbox for three specific emails each morning, and take the attachments and put them in Dropbox. I must be missing something in here to make that happen. I've made the flow as suggested - but it still doesn't work. What am I missing? Do I need a separate flow for each email/attachment and get more specific? I wouldn't think so - I would think it can look and just update/copy/overwrite the file in Dropbox that it finds in the email attachment.
Interestingly enough...if I use the exact same actions under 'If No' as is under 'If Yes', the flow runs, creates an error on the 'If No' action - but proceeds to update Dropbox. However, of the three emails in my Inbox, it takes the attachment of the latest message and updates all three Dropbox files with that attachment. So now I have all three files updated in Dropbox (FileA, FileB and FileC) with the FileA attachment data. but at least it is processing it somehow.
Hi @Bwalters613 ,
The purpose of adding Compose is to check whether the two parameters you configured in the Condition are equal. If they are all not equal, indicates that the attachment does not have the file with name same as the file in Dropbox.
So the result of the execution is false.
Hope it makes sense.
It can't really solve your problem by moving the action in If yes to If no. Please follow the method I provided and do another test and observe the running result.
Best Regards,
How do I add the Compose? I can't put it in the middle, and when I try to delete everything below it and put Compose in, then add the rest, it gives me a flow error. I am sorry I am not an expert in this, but it seems to be much harder than originally described. I followed the original suggestion on how to build it to the letter without results.
But help me add this in to show what you need to see so we can determine the next steps.
Here is the flow test.
User | Count |
---|---|
5 | |
5 | |
4 | |
2 | |
2 |