Archive IMAP invoice attachments in Dropbox

Archive each attached invoice PDF from the accounting mailbox under a stable name in Dropbox.

10 stepsFinanceOperations

Free to start, no card required.

How it works

  1. When this happens

    Watch the invoice mailbox folder

    IMAP

  2. Step 1 · Code

    Identify the message attachments

  3. Step 2

    Process each attached file

    1. Step 3 · Files Helper

      Read the original file name

    2. Step 4 · Code

      Build the PDF archive path

    3. Step 5

      Check the source record

      Follows the first path that matches

      • Complete record

        1. Step 6 · Storage

          Check for a previous delivery

        2. Step 7

          Check delivery history

          Follows the first path that matches

          • First delivery

            1. Step 8 · Dropbox

              Archive the invoice PDF

            2. Step 9 · Storage

              Save the delivery receipt

          • Otherwise

            Nothing happens

      • Otherwise

        Nothing happens

    Repeats for every item

Before you start

Route invoice emails into a dedicated IMAP folder and select it in the trigger. Enter the Dropbox archive folder path starting with a slash and test two messages with identically named PDF attachments.

Accounts to connect

  • IMAP
  • Files HelperBuilt into Connecto, no account
  • StorageBuilt into Connecto, no account
  • Dropbox
See all 200 in Finance

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template