Register OneDrive receipts with VLM Run and flag exceptions

Extract receipt fields into Retable and create a Teamwork review task when a receipt is incomplete or its totals do not reconcile.

24 stepsFinanceOperations

Free to start, no card required.

How it works

  1. When this happens

    Watch the approved receipt folder

    Microsoft OneDrive

  2. Step 1 · Code

    Verify the source and expense setup

  3. Step 2

    Check the approved PDF folder

    Follows the first path that matches

    • Authorized receipt PDF

      1. Step 3 · Storage

        Check the saved receipt

      2. Step 4

        Check for a previous result

        Follows the first path that matches

        • No previous result

          1. Step 5 · Storage

            Look up the extracted receipt

          2. Step 6

            Check if extraction is needed

            Follows the first path that matches

            • No previous extraction

              1. Step 7 · Microsoft OneDrive

                Read the private receipt file

              2. Step 8 · Code

                Verify the downloaded source

              3. Step 9 · VLM Run

                Extract fields from the receipt PDF

              4. Step 10 · Code

                Reconcile the extracted receipt

              5. Step 11 · Storage

                Save the work reference

            • Otherwise

              Nothing happens

          3. Step 12 · Storage

            Read the extracted receipt fields

          4. Step 13 · Code

            Read the reconciliation result

          5. Step 14

            Check for a receipt exception

            Follows the first path that matches

            • Receipt needs a human review

              1. Step 15 · Storage

                Check the saved receipt

              2. Step 16

                Check for a previous result

                Follows the first path that matches

                • No previous result

                  1. Step 17 · Teamwork

                    Open a receipt review task

                  2. Step 18 · Code

                    Read the Teamwork review task ID

                  3. Step 19 · Storage

                    Save the work reference

                • Otherwise

                  Nothing happens

            • Otherwise

              Nothing happens

          6. Step 20 · Storage

            Look up the saved review task

          7. Step 21 · Code

            Prepare the expense register row

          8. Step 22 · Retable

            Register the receipt and review task

          9. Step 23 · Storage

            Save the work reference

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Select a OneDrive folder cleared for external OCR and enter its drive ID, folder ID and two-decimal expense currency below. Select a Teamwork project and task list, then map the seven Retable text column IDs for file ID, source URL, merchant, date, currency, total and review task. Before replaying an interrupted write, look up the file ID in both destinations.

Accounts to connect

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