Skip to main content

Automate vendor contract renewals & reminders with GPT-4.1 mini, Slack & Gmail

Workflow preview

Workflow preview
100%
Automate vendor contract renewals & reminders with GPT-4.1 mini, Slack & Gmail preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Smart Vendor Contract Renewal & Reminder Workflow With GPT 4.1 mini Watch the demo video below: [![Watch the video](https://s3.ap southeast 1.amazonaws.com/automatewith.me/n8n smart vendor contr...

Best for

  • Document Extraction automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.slack, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.googlesheets, n8n-nodes-base.if

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automate vendor contract renewals & reminders with GPT-4.1 mini, Slack & Gmail
Workflow name
Automate vendor contract renewals & reminders with GPT-4.1 mini, Slack & Gmail

πŸ“ Smart Vendor Contract Renewal & Reminder Workflow With GPT 4.1 mini

Watch the demo video below:

Never miss a vendor renewal again! This smart workflow automatically tracks expiring contracts, reminds your finance team via Slack, and helps initiate renewal with vendors through email β€” all with built-in approval and logging. Perfect for managing both auto-renew and manual contracts.

πŸ“Œ Who’s it for

This workflow is designed for Finance and Procurement teams responsible for managing vendor/service contracts. It ensures timely notifications for expiring contracts and automates the initiation of renewal conversations with vendors.

βš™οΈ How it works / What it does

  1. ⏰ Daily Trigger

    • Runs every day at 6:00 AM using a scheduler.
  2. πŸ“„ Retrieve Contract List

    • Reads vendor contract data from a Google Sheet (or any data source).
    • Filters for contracts nearing their end date, using a Notice Period (days) field.
  3. πŸ”€ Branch Based on Renewal Type

    • Auto-Renew Contracts:

      • Compose a Slack message summarizing the auto-renewal.
      • Notify the finance contact via Slack.
    • Manual Renewal Contracts:

      • Use an OpenAI-powered agent to generate a meaningful Slack message.
      • Send message and wait for approval from the finance contact (e.g., within 8 hours).
      • Upon approval, generate a formal HTML email to the vendor.
      • Send the email to initiate the contract extension process.
  4. πŸ“Š (Optional) Logging

    • Can be extended to log all actions (Slack messages, emails, approvals) to Google Sheets or other databases.

πŸ› οΈ How to set up

  1. Prepare your Google Sheet

  2. Configure Integrations

    • 🟒 Google Sheets API: To read contract data.
    • πŸ”΅ Slack API: To notify and wait for approval.
    • 🧠 OpenAI API (GPT-4): To generate personalized reminders.
    • βœ‰οΈ Email (SMTP/Gmail): To send emails to vendors.
  3. Set the Daily Scheduler

    • Use a Cron node to trigger the workflow at 6:00 AM daily.

βœ… Requirements

Component Required
Google Sheets API βœ…
Slack API βœ…
OpenAI API (GPT-4) βœ…
Email (SMTP/Gmail) βœ…
n8n (Self-hosted or Cloud) βœ…
Contract Sheet with proper schema βœ…

🧩 How to customize the workflow

  • Adjust Reminder Period: Modify the logic in the Find Expiring Vendors node (based on Contract End Date and Notice Period).
  • Change Message Tone or Format: Customize the OpenAI agent's prompt or switch from plain text to branded HTML email.
  • Add Logging or Tracking: Add a node to append logs to a Google Sheet, Notion, or database.
  • Replace Data Source: Swap out Google Sheets for Airtable, PostgreSQL, or other CRM/database systems.
  • Adjust Wait/Approval Duration: Modify the sendAndWait Slack node timeout (e.g., from 8 hours to 2 hours).

πŸ“¦ Optional Extensions

  • 🧾 Add PDF contract preview via Drive link
  • 🧠 Use GPT to summarize renewal terms
  • πŸ›  Auto-create Jira task for contract review

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 - Sticky Note1

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

Block 2 - Sticky Note7

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

Block 3 - Sticky Note3

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

Block 4 - Find expiring vendor(s)

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

Block 5 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 6 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 7 - Remind Finance Contact & Waiting For Approval

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

Block 8 - Compose email template

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

Block 9 - Vendor reminder agent

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 10 - Get vendor contract list

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 11 - Is auto-renew contract?

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

Block 12 - Send manual extend contract email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 13 - Sticky Note

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

Block 14 - Compose slack message

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

Block 15 - Notify auto-renew contract to finance

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

Block 16 - Sticky Note4

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

Block 17 - Daily Scheduler

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 18 - Sticky Note2

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

Block 19 - Sticky Note5

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

Block 20 - Sticky Note6

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

Block 21 - Sticky Note8

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

3. Summary Table

Workflow Automate vendor contract renewals & reminders with GPT-4.1 mini, Slack & Gmail
Complexity advanced
Nodes 21
Categories Document Extraction, Multimodal AI
Author Trung Tran
Published 03 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6935/6935.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 vendor contract renewals & reminders with GPT-4.1 mini, Slack & Gmail do?

Smart Vendor Contract Renewal & Reminder Workflow With GPT 4.1 mini Watch the demo video below: [![Watch the video](https://s3.ap southeast 1.amazonaws.com/automatewith.me/n8n smart vendor contr...

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 Document Extraction, Multimodal AI use case.