Route Outlook attachments by invoice type

ProductivitySales EnablementRecipe ToolsWorkatoDocument/FileMarketingUtilitiesArtificial Intelligence

What it does

When a new email arrives in Outlook with attachments, this automation downloads them and sorts each file into an invoice or non-invoice list. It checks the dealer number and invoice type to route files to the correct data table record.

Who it's for

Accounting teams who need to organize invoice attachments by type without manual sorting.

How teams use this

Organize invoices by dealer automatically

Route incoming invoice attachments to the correct dealer record in the data table based on the authorized dealer number. The team sees organized files without manual filing.

Flag non-invoice attachments for review

Separate files that are not invoices into a distinct list so the team can review them separately. Only true invoices flow to dealer records.

Add approval step for unauthorized dealers

Include a condition that holds files from unknown dealers in a pending list and notifies the team for manual approval before routing. This requires an approval step in this automation.

Log all routed files for audit trail

Set each file classification and dealer match in an audit log so the team can track which attachments were sorted and when. This requires a logging step after routing.

How it works

  1. Monitor for emails with attachments. When a new email arrives in Outlook Mail with one or more attachments, the automation starts and checks if files are present.
  2. Download attachments from Outlook. Download all files from the email in Outlook so they can be sorted and matched to invoice records in the data table.
  3. Sort files by invoice status. Create lists that separate invoice files from non-invoice files, then match each to the correct record ID in the data table.
  4. Identify dealer and invoice type. Analyze each file to extract the dealer number and invoice type, then route it based on whether it matches an authorized dealer.
  5. Update records with sorted files. Store the sorted files and their classifications in the data table so the team can access organized invoices by type and dealer.