Create work4all incoming invoices from Microsoft Outlook supplier emails
Quick Overview This workflow polls a Microsoft Outlook folder for new supplier emails, sends each message to a companion n8n sub-workflow that creates an incoming invoice in work4all, and then categorizes the email (green/yellow/red) and emails errors via Outlook.
How it works Runs every minute on a schedule. Fetches all emails from a specified Microsoft Outlook folder that are not already categorized as Red or Green, downloading any attachments. Sends each email to a companion sub-workflow that extracts invoice data from attachments and creates the incoming invoice in work4all. If the sub-workflow returns errors, sends an error notification email via Microsoft Outlook and categorizes the original message as Red. If no errors occur, categorizes the message as Green when booking is clean, or as Yellow + Green when a supplier was created or an account/tax key was set automatically.
Setup Import and publish the companion workflow "Create a work4all incoming invoice from email attachments using AI" and select it in the Execute Workflow step. Add Microsoft Outlook credentials with permission to read the target mailbox and send emails. Update the Outlook folder ID to monitor and ensure the mailbox has the categories "Red category", "Green category", and "Yellow category". Set the error notification recipient address(es) in the configuration value (errorRecipients). Adjust the schedule interval if you don’t want it to poll every minute.
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
📰 AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments