Onedrive to Microsoft 365

I am trying to get a scenario working for Onedrive and outlook.

I have it working and sending the email and it looks like an attachment fails to open.

But what I am trying to do is when a file is uploaded to a folder on onedrive it would then send an email with the file that was uploaded as an attachment on an email that would be sent from outlook (microsoft 365)

You will need to start with a watch module that will poll for any new files on onedrive. Then once a file is found you will want to have the file downloaded. You can then have the file downloaded to make via one drives download a file module. Once downloaded you can map the data value to the email as an attachment.

Only issue is you do not really have a way in your processs that can distinguish who the file is suppose to be sent to. If a file is suppose to be just sent to you thats easy. But if its to be sent to specific people depending on the file youll need to build out a database or use filters to assign who the files are suppose to go to.

Hope this helps!

Hey thanks for your reply. I actually have this completed and is sending mail however the attachments do not work. I have the watch files set and it will send an email using my Outlook/microsoft 365 account. But the attachments is where things fail.

I had it working where it would send the filename but the attachment was broken and could not be opened. So for whatever reason when it tries to attach the file it fails.

I have created this in zapier and it works flawlessly. However due to the number of files processed it has become cost prohibitive.

Can you provide screenshots of how you mapped the values in the email as well as the error your getting?

I am not getting an error per se. However when I get the email it shows like it has the file attached. Everything looks normal. However if I try to open the file it says it is broken.

The “file” value needs to be converted into binary.