🔧 Raw materials inventory management with Google Sheets, Supabase and approvals

5,215 views · 🔧 Miscellaneous

Description

Automated Raw Materials Inventory Management with Google Sheets, Supabase, and Gmail using n8n Webhooks

Screenshot 20250514 at 14.02.15.png

Description

What Problem Does This Solve? 🛠️

This workflow automates raw materials inventory management for businesses, eliminating manual stock updates, delayed material issue approvals, and missed low stock alerts. It ensures real-time stock tracking, streamlined approvals, and timely notifications.

Target audience: Small to medium-sized businesses, inventory managers, and n8n users familiar with Google Sheets, Supabase, and Gmail integrations.

What Does It Do? 🌟

Key Features

Setup Instructions

Prerequisites

Installation Steps

  1. Import the Workflow:
    • Copy the workflow JSON from the “Template Code” section (to be provided).
    • Import it into n8n via “Import from File” or “Import from URL”.
  2. Configure Credentials:
    • Add API credentials in n8n’s Credentials section for Google Sheets, Supabase, and Gmail.
    • Assign credentials to respective nodes. For example:
      • In the Append Raw Materials node, use Google Sheets credentials: {{ $credentials.GoogleSheets }}.
      • In the Current Stock Update node, use Supabase credentials: {{ $credentials.Supabase }}.
      • In the Send Low Stock Email Alert node, use Gmail credentials.
  3. Set Up Nodes:
    • Webhook Nodes (Receive Raw Materials Webhook, Receive Material Issue Webhook): Configure webhook URLs and link them to your form submissions.
    • Approval Email (Send Approval Request): Customize the HTML email template if needed.
    • Low Stock Alerts (Send Low Stock Email Alert, Send Low Stock Email After Issue): Configure recipient email addresses.
  4. Test the Workflow:
    • Submit a test form for raw material receipt and verify stock updates in Google Sheets/Supabase.
    • Submit a material issue request, approve/reject it, and confirm stock updates and notifications.

How It Works

High-Level Steps

  1. Receive Raw Materials: Processes form submissions for raw material receipts.
  2. Update Stock: Updates stock levels in Google Sheets and Supabase.
  3. Handle Issue Requests: Processes material issue requests via forms.
  4. Manage Approvals: Sends approval requests and processes decisions.
  5. Monitor Stock Levels: Detects low stock and sends Gmail alerts.

Detailed Descriptions

Detailed node descriptions are available in the sticky notes within the workflow screenshot (to be provided). Below is a summary of key actions.

Node Names and Actions

Raw Materials Receiving and Stock Update

Material Issue Request and Approval

Customization Tips

🔗 Nodes Used

Google Sheets, Webhook, Gmail, Supabase

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup