Automated Email Assistant for Suppliers using OpenAI and Google Sheets

Go to Workflow
918 views
Built by Omar Hdez Omar Hdez
Created on June 13, 2026

Description

Automated Email Assistant for Busy Professionals

This assistant is designed for people who don't have time to write and send emails to suppliers. With just one request, it drafts and sends clear, professional messages automatically.

How It Works
The user makes a request (e.g., “Send an email to my fruit supplier asking for a quote on 1 crate of mangoes.”).

Workflow:

The AI agent searches for the supplier in a Google Sheets database.

It automatically drafts the email using OpenAI (with the tone and style you define).

It sends the email using your Gmail account connected through n8n.
This assistant uses:

Google Sheets to manage your suppliers (name and email).

OpenAI to generate clear, natural messages.

MCP (client-server logic) to handle request processing.

Gmail as the sending channel for automated emails.
Setup Instructions

Create a Google Sheets document with the supplier name and email, like this:

|Supplier name|Email|
|-|-|
|Proveedor de frutas Alvarez|[email protected]|

Connect your Google Sheets and Gmail accounts within n8n.

Add your OpenAI API key.

Test the automation by chatting with the integrated assistant.
It will generate and send the email automatically to the indicated supplier.

Requirements
OpenAI API key to generate email content.
Gmail account connected via OAuth2.
Google Sheets document with your supplier database.
n8n instance (cloud or self-hosted).

Customization

Adjust the OpenAI prompt to make the email tone more formal, casual, or technical.

Add custom fields to your supplier sheet (location, notes, special conditions).

Replace Google Sheets with a real database like Supabase or PostgreSQL for greater scalability.

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Think Tool
@n8n/n8n-nodes-langchain.toolThink