Create Gmail drafts from business cards with Google Drive, Gemini, Slack and Discord

Go to Workflow
0 views
Built by maruo maruo
Created on September 06, 2026

Description

Quick overview
This workflow scans business card images stored in Google Drive, uses Google Gemini Vision OCR to extract contact details, creates personalized Gmail drafts (optionally with a Drive attachment), moves processed cards to an archive folder, and notifies your team via Slack, Discord, or Chatwork.

How it works
Runs when you manually execute the workflow.
Lists all files in a specified Google Drive “unprocessed” folder and downloads each card image.
Sends the image to Google Gemini (PaLM) Vision to extract business card fields as JSON and then cleans/parses the response, rescuing the email address if needed.
Checks whether a valid email address was extracted and, if not, prepares a “manual review needed” notification that includes the Google Drive link to the card.
For cards with a valid email, builds a personalized subject and body, optionally downloads an attachment file from Google Drive, and creates a Gmail draft (never sending it automatically).
Moves successfully drafted card images to a Google Drive “processed” folder and posts a success or review-needed message to Slack, Discord, or Chatwork based on your selected notification channel.

Setup
Add credentials for Google Drive OAuth2, Google Gemini (PaLM) API, and Gmail OAuth2.
Add a notification credential for the channel you use: Slack OAuth2, a Discord Webhook URL, or a Chatwork X-ChatWorkToken header-auth credential.
In the Settings values, set the Google Drive source_folder_id and processed_folder_id, and optionally set attachment_file_id to a Drive file ID to include as a draft attachment.
In the Settings values, choose notify_channel (slack/discord/chatwork) and set slack_channel or chatwork_room_id as applicable.
Update the sender signature fields in Settings and customize the email subject/body text to match your outreach message.

Nodes Used (7)

Code
n8n-nodes-base.code
Discord
n8n-nodes-base.discord
Gmail
n8n-nodes-base.gmail
Google Drive
n8n-nodes-base.googleDrive
Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
HTTP Request
n8n-nodes-base.httpRequest
Slack
n8n-nodes-base.slack