Code Workflow

Automated workflow: Code Workflow. This workflow integrates 17 different services: textClassifier, microsoftOutlook, markdown, filter, wait. It contains 30 nodes and follows best practices for error handling and security.

Workflow Structure (18 nodes)
100%
Schedule Trigger
Schedule Trigger
Microsoft Outlook
Get Recent Messages
Markdown
Markdown
No Op
Message Classifier
Split In Batches
For Each Message
No Op
Message Ref
Microsoft Outlook
Download Attachments
Code
Split Attachments
Microsoft Excel
Microsoft Excel 365
No Op
Model
Extract From File
Extract from File
Http Request
Invoice Classifier With Gemini 2.0
Filter
Filter Invoices
If
Has Invoice?
Http Request
File-Based OCR with Gemini 2.0
Set
Parse Output
Set
Empty Response
Wait
Wait
Node Types:
code
default
transform
logic
trigger
http
Requires credentials

Prerequisites

Required Credentials (3)

Google Palm

Used by: Model, Invoice Classifier With Gemini 2.0 +1 more

Docs

Microsoft Excel

Used by: Microsoft Excel 365

Docs

Microsoft Outlook

Used by: Download Attachments, Get Recent Messages

Docs

Multiple services required

This workflow needs 3 different credentials. Make sure you have accounts for all services before importing.

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~50 min
Score: 90/100
Custom Code
Conditional Logic
Loops
8 Integrations

When to Use This Workflow

Scheduled Operations

Run automated tasks at specific times - daily reports, weekly cleanups, monthly backups.

Set it and forget it - reliable automation that runs on your schedule.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "meta": {
    "instanceId": "workflow-cdb5e1fc",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:58.903885",
    "updatedAt": "2025-09-29T07:07:58.903903",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "nodes": [
    {
      "id": "78bb4afe-ccc6-4b5e-90ba-50253f761f14",
      "name": "Split Attachments",
      "type": "n8n-nodes-base.code",
      "position": [
        -80,
...

Workflow Details

Nodes
24
Trigger
Scheduled
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Scheduletrigger Workflow

Automated workflow: Scheduletrigger Workflow. This workflow integrates 17 different services: microsoftOutlook, httpRequ...

Schedule
Excel
Http-request
Outlook
33 nodesScheduled

Html Workflow

Automated workflow: Html Workflow. This workflow integrates 9 different services: stickyNote, httpRequest, microsoftOutl...

Http-request
Schedule
Outlook
8 nodesScheduled

Phishing_analysis__URLScan_io_and_Virustotal_

Automated workflow: PhishinganalysisURLScanioandVirustotal. This workflow integrates 14 different services: microsoftOut...

Slack
Outlook
Http-request
Schedule
23 nodesScheduled

Automate Pinterest Analysis & AI-Powered Content Suggestions With Pinterest API

Scheduled trigger at 8:00am to start the workflow. This can be updated to your schedule preference as an email with mark...

Lmchatopenai
Airtabletool
Schedule
Http-request
13 nodesScheduled
Curated

Monthly Spotify Track Archiving and Playlist Classification

Monthly Spotify Track Archiving and Playlist Classification This n8n workflow allows you to automatically archive your m...

Http-request
Lmchatanthropic
Spotify
Outputparserstructured
37 nodesScheduled
Curated

UTM Link Creator & QR Code Generator with Scheduled Google Analytics Reports

Create a marketing link with UTM parameters. Easily store in database and have QR code created and ready as well. Type i...

Lmchatopenai
Memorybufferwindow
Googleanalyticstool
Airtable
14 nodesScheduled
Curated