Skip to main content

Automate image portfolio organization with GPT-4o Vision, Google Drive and Notion

Workflow preview

Workflow preview
100%
Automate image portfolio organization with GPT-4o Vision, Google Drive and Notion preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This template is ideal for photographers, graphic designers, and creative professionals who manage large volumes of visual assets. It is also perfect for Digital Asset Managers looking for a custom...

Best for

  • File Management automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.googledrivetrigger, n8n-nodes-base.set, n8n-nodes-base.googledrive, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.switch

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yoshino Haruki.

Original n8n.io source

1.1 Workflow description

Title
Automate image portfolio organization with GPT-4o Vision, Google Drive and Notion
Workflow name
Automate image portfolio organization with GPT-4o Vision, Google Drive and Notion

Overview

This template is ideal for photographers, graphic designers, and creative professionals who manage large volumes of visual assets. It is also perfect for Digital Asset Managers looking for a customizable, automated solution to organize files without manual tagging.

What it does

When a new image is uploaded to a designated "Inbox" folder in Google Drive, the workflow performs the following actions:

  • AI Analysis: Uses GPT-4o to analyze the image content, generating a description, extracting dominant colors, and determining the category (e.g., Portrait vs. Landscape).
  • Safety Check: Runs an AI-based NSFW filter. If inappropriate content is detected, the process stops, and a warning is sent to Slack.
  • Smart Sorting: Automatically moves the file into the correct subfolder based on its category.
  • Contextual Tagging: Generates specific tags (e.g., "smile, natural light" for portraits) and updates the file metadata.
  • Archiving: Creates a comprehensive entry in a Notion Database with the image link, tags, and description.
  • Notification: Sends a success alert to Slack with a summary of the archived asset.

How to set up

This workflow is designed to be plug-and-play using a central configuration node.

  1. Credentials: Connect your Google Drive, OpenAI, Notion, and Slack accounts in n8n.
  2. Set Variables: Open the node named "Workflow Configuration". Replace the placeholder IDs with your actual Folder IDs (for Inbox, Portraits, and Landscapes), Notion Database ID, and Slack Channel ID.
  3. Prepare Notion: Create a Database in Notion with the following properties:
    • Category (Select)
    • Description (Rich Text)
    • Image URL (URL)
    • Tags (Rich Text)
    • Date (Date)

Requirements

  • n8n Version: 1.0 or later.
  • OpenAI API: Access to the gpt-4o model is recommended for accurate vision analysis.
  • Google Drive: A specific folder structure (Inbox, Portraits, Landscapes).
  • Notion: A dedicated database for the portfolio.
  • Slack: A channel for notifications.

How to customize

  • Add Categories: You can expand the "Category Router" (Switch node) to include more specific genres like "Architecture," "Macro," or "Street," and add corresponding paths.
  • Adjust Prompts: Modify the system prompts in the AI nodes to change the language of the output or the style of the generated tags.
  • Change Output: Connect to Airtable or Excel instead of Notion if you prefer a different database system.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Main Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Group: Setup

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Group: Analysis

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Group: Routing

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Group: Archive

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Watch for New Images

Type / Role
n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
Config choices
Version 1

Block 7 - Workflow Configuration

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Download Image File

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 9 - AI Vision Analysis

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2

Block 10 - Parse AI Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Safety Check (NSFW Filter)

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 12 - Category Router

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 13 - Generate Portrait Tags

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2

Block 14 - Move to Portraits Folder

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 15 - Generate Landscape Tags

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2

Block 16 - Move to Landscapes Folder

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 17 - Merge Routes

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 18 - Prepare Data for Notion

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Save to Notion Database

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 20 - Update Description API

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 21 - Send Success Notification

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 22 - Send NSFW Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

3. Summary Table

Workflow Automate image portfolio organization with GPT-4o Vision, Google Drive and Notion
Complexity advanced
Nodes 22
Categories File Management, AI Summarization
Author Yoshino Haruki
Published 23 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11150/11150.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate image portfolio organization with GPT-4o Vision, Google Drive and Notion do?

This template is ideal for photographers, graphic designers, and creative professionals who manage large volumes of visual assets. It is also perfect for Digital Asset Managers looking for a custom...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your File Management, AI Summarization use case.