Transfer invoices received as attachments to my Outlook email to a folder in Dropbox

:bullseye: What is your goal?

I would like that when I receive an email with an invoice in my Outlook mailbox, the attachment is automatically transferred to a specific folder in Dropbox.

:thinking: What is the problem?

The problem is that the programme sends a txt file to Dropbox and not the attachment (invoice).

:test_tube: What have you tried so far?

I tried to use the AI.

:camera_with_flash: Screenshots: scenario setup, module configuration, errors

You do not need AI in this flow at all if your only goal is “email invoice attachment > Dropbox folder as original file.”

Watch Emails > Iterator > Upload a file

If you’ve already had an OpenAI/AI step in the middle, it must never sit between the attachment and Dropbox in the same “upload” path. AI is for reading the invoice and producing text; Dropbox needs the raw binary from Outlook.

Note: You should keep them on 2 separate branches if you need both: one branch saves the original file to Dropbox, the other sends the attachment or its text to AI for extraction.

Let me know how it goes!

1 Like

Thank you for your reply. The file arrived in my Dropbox in the right place, but when I try to open the file (the invoice that is supposed to be sent), Dropbox displays the following message: “Unable to load without file extension.
You can add the file extension and try again.”

I think I may have configured the latest Dropbox module incorrectly.

1 Like

Hello @Samuel8, please try setting up your scenario like this

I believe Attachments aren’t included in the Watch Emails module, only the “Has Attachments” boolean which tells you if the email had attachments or not.

Use a filter to proceed to the next step, which is “List Attachments”

After List Attachments, in Dropbox Upload a File, you should be able to map directly to the output from List Attachments.

Give this a try and let us know how it goes!

2 Likes

Hello, thank you for your reply.

The scenario works well,

however, I am unable to use the filters to only allow invoices to pass through.

Between List Attachments and Dropbox, you can use Text filters on the file name.

1 Like

Oh, thank you, I finally understand. Thank you, now it works perfectly.

1 Like