Automate Your Orlen Invoice Management with n8n
detail.loadingPreview
This n8n workflow automatically fetches Orlen invoices from your Gmail, organizes them into dated folders in Google Drive, and sends a notification to Slack. Streamline your financial record-keeping effortlessly.
About This Workflow
The 'Orlen' n8n workflow is designed to automate the tedious task of managing invoices received from Orlen. It triggers daily at 11:45 PM (Warsaw time) to check your Gmail inbox for emails from 'orlenpay@orlen.pl' containing attachments. Upon finding an invoice, it extracts the current date to create a dynamic folder structure in Google Drive, organized by year and month. The invoice is then securely uploaded to the appropriate folder, marked as read in your inbox, and a confirmation message is sent to a designated Slack channel, ensuring you're always up-to-date with your financial documents.
Key Features
- Automated Invoice Fetching: Retrieves invoices directly from your Gmail inbox.
- Intelligent File Organization: Creates dated folders (Year/Month) in Google Drive for easy access.
- Cloud Storage Integration: Seamlessly uploads invoices to Google Drive.
- Notification System: Alerts your team via Slack upon successful processing.
- Inbox Management: Marks processed emails as read to keep your inbox clean.
How To Use
- Set up Cron Trigger: Configure the 'Every 23:45' node to define when the workflow should run.
- Connect Gmail: Authorize n8n with your Gmail account and configure the 'Orlen Invoice' node to search for emails from 'orlenpay@orlen.pl' with attachments.
- Connect Google Drive: Authenticate n8n with your Google Drive account.
- Configure Date Logic: The 'Current date' node automatically captures the current year, month, and day.
- Set Up Folder Structure: Use the 'Get Year folder' and 'Get Month folder' nodes to dynamically locate or create the correct Google Drive folders based on the current date.
- Upload Invoice: Configure the 'Upload Invoice to Google Drive' node to save the attached invoice to the identified folder.
- Mark as Read: Use the 'Mark as Read' node to ensure processed invoices don't appear as unread in your Gmail.
- Configure Slack Notification: Connect your Slack account and set up the 'Slack' node to send a confirmation message to your desired channel.
Apps Used
Workflow JSON
{
"id": "f00eee8d-26d6-491a-bbef-b7a813c754d9",
"name": "Automate Your Orlen Invoice Management with n8n",
"nodes": 26,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: f00eee8d-26d6...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.