Upwork Client Message Notifier using Gmail and Gemini AI - n8n Workflow

Automate Upwork client notification parsing. This powerful n8n workflow uses the Gmail n8n trigger and Google Gemini AI to reliably extract key message data and instantly send structured alerts to Slack. Find the best n8n templates here.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Freelancers and contractors managing client communications via Upwork.
Teams needing immediate, centralized alerts for important client messages.
Users seeking advanced data extraction using AI within an n8n workflow.
Anyone looking for robust n8n templates for Gmail and Slack integration.

Overview

When operating as a busy freelancer, receiving timely notifications for critical Upwork client messages is essential. The challenge is often that emails sent via Upwork contain extraneous text, making it difficult to quickly scan the core message content.

This sophisticated n8n workflow solves this by utilizing Google's Gemini AI for reliable information extraction. Instead of relying on fragile code to parse message bodies (as shown in the alternative path of this n8n workflow), the automation uses the AI to identify and separate the client's name and the actual message content.

This setup ensures that whenever a new Upwork client message lands in your inbox, this powerful n8n node flow triggers, processes the email, and delivers a clean, actionable alert directly to your chosen Slack channel, greatly improving response times and efficiency. This is one of the more powerful n8n templates available for professional services.

How it Works

This advanced n8n workflow operates on a scheduled polling mechanism, triggered by the Gmail Trigger X n8n node.


  1. Polling Trigger: The n8n trigger checks Gmail every few minutes for unread emails originating 'via Upwork'.

  2. Data Ingestion: When a qualifying email is found, the full text content is passed to the AI component.

  3. AI Information Extraction: The Information Extractor n8n node, powered by the Google Gemini Chat Model, processes the raw email text. It is specifically configured to identify and extract two mandatory attributes: the 'client' name and the 'message' body.

  4. Structured Output: The AI transforms the unstructured email data into clean JSON output, ensuring accuracy, regardless of minor formatting changes in the source email.

  5. Slack Notification: Finally, the extracted, clean client name and message are formatted into a concise notification and sent using the Slack n8n node (Send to Slack X), providing an instant, clean alert to the user's workspace. This robust structure makes this a valuable addition to your collection of n8n templates.

Installation Guide

To deploy this n8n workflow, follow these steps:


  1. Import the n8n Workflow: Copy the provided JSON code and import it directly into your n8n instance using the 'New' > 'Import from JSON' option.

  2. Gmail Credentials Setup: The Gmail Trigger X n8n node requires a Google OAuth 2.0 credential configured for Gmail access. Ensure this credential has the necessary scopes to read email content.

  3. Gemini AI Setup: Configure the Google Gemini Chat Model node. This requires an API key for the Gemini service. Set up the relevant credential in n8n for 'Google Gemini Chat Model' and link it to the n8n node.

  4. Slack Credentials Setup: Configure a new OAuth 2.0 credential for Slack. Ensure the associated Slack app has permissions (like chat:write) to post messages to the desired channel or user.

  5. Set Destination: In the Send to Slack X n8n node, select the specific Slack user or channel where you want the notifications to appear.

  6. Activate: Once all credentials are set and linked, activate the n8n workflow to start monitoring your inbox.

Node Details

Gmail Trigger X (n8n trigger):
Function: Starts the n8n workflow by polling Gmail for new emails.
Key Configuration: Filters are set to specifically look for 'unread' emails sent from the address containing 'via Upwork'. Polling is set to run every 3 minutes.
Google Gemini Chat Model (n8n node):
Function: Provides the large language model capabilities required for structured data extraction.
Key Configuration: Acts as the AI service backbone connected to the Information Extractor.
Information Extractor (n8n node):
Function: Leverages the Gemini AI connection to perform robust, structured extraction of information from the raw email body.
Key Configuration: Defines two required attributes: client (Client name who sent this message) and message (Client's Message which was send to me), ensuring reliable data capture.
Send to Slack X (n8n node):
Function: Formats the extracted client name and message content and sends it as an immediate notification.
Key Configuration: Uses expression mode to dynamically construct the message text based on the output of the Information Extractor n8n node.

Related n8n Workflows

Paid

Nodes: 6 Nodes
Updated: December 26 2025
View all
Created by

I partner with businesses to streamline processes and accelerate growth through intelligent AI automation and Web/mobile Development. Leveraging deep expertise in GPT-4, LangChain, and n8n, I develop AI-powered agents and sophisticated LLM pipelines.

Featured*