AutomationMart
Home/Browse/Raw materials inventory management with Google Sheets, Supabase and approvals
n8n

Raw materials inventory management with Google Sheets, Supabase and approvals

n8nn8n48 modulesv1.0
GmailSlackAirtableGoogle SheetsTelegram

Automated Raw Materials Inventory Management with Google Sheets, Supabase, and Gmail using n8n Webhooks 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 familia

At a glance

Raw materials inventory management with Google Sheets, Supabase and approvals is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, Slack, Airtable, Google Sheets. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, Slack, Airtable, Google Sheets, Telegram
Modules
48
Price
Free
Version
v1.0
Raw materials inventory management with Google Sheets, Supabase and approvals workflow diagram

About this workflow

Automated Raw Materials Inventory Management with Google Sheets, Supabase, and Gmail using n8n Webhooks 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? 🌟 - Receives raw material data and issue requests via form submissions. - Updates stock levels in Google Sheets and Supabase. - Manages approvals for material issue requests with email notifications. - Detects low stock levels and sends alerts via Gmail. - Maintains data consistency across Google Sheets and Supabase. Key Features - Real-time stock updates from form submissions. - Automated approval process for material issuance. - Low stock detection with Gmail notifications. - Dual storage in Google Sheets and Supabase for redundancy. - Error handling for robust data validation. Setup Instructions Prerequisites - n8n Instance: Self-hosted or cloud n8n instance. - API Credentials: - Google Sheets API: Credentials from Google Cloud Console with Sheets scope, stored in n8n credentials. - Supabase API: API key and URL from Supabase project, stored in n8n credentials (do not hardcode in nodes). - Gmail API: Credentials from Google Cloud Console with Gmail scope. - Forms: A form (e.g., Google Form) to submit raw material receipts and issue requests, configured to send data to n8n webhooks. 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 - Receive Raw Materials Webhook: Receives raw material data from a form submission. - Standardize Raw Material Data: Maps form data into a consistent format. - Calculate Total Price: Computes Total Price (Quantity Received Unit Price). - Append Raw Materials: Records receipt in Google Sheets. - Check Quantity Received Validity: Ensures Quantity Received is valid. - Lookup Existing Stock: Retrieves current stock for the Product ID. - Check If Product Exists: Branches based on Product ID existence. - Calculate Updated Current Stock: Adds Quantity Received to stock (True branch). - Update Current Stock: Updates stock in Google Sheets (True branch). - Retrieve Updated Stock for Check: Retrieves updated stock for low stock check. - Detect Low Stock Level: Flags if stock is below minimum. - Trigger Low Stock Alert: Triggers email if stock is low. - Send Low Stock Email Alert: Sends low stock alert via Gmail. - Add New Product to Stock: Adds new product to stock (False branch). - Current Stock Update: Updates Supabase Current Stock table. - New Row Current Stock: Inserts new product into Supabase. - Search Current Stock: Retrieves Supabase stock records. - New Record Raw: Inserts raw material record into Supabase. - Format Response: Removes duplicates from Supabase response. - Combine Stock Update Branches: Merges branches for existing/new products. Material Issue Request and Approval - Receive Material Issue Webhook: Receives issue request from a form submission. - Standardize Data: Normalizes request data and adds Approval Link. - Validate Issue Request Data: Ensures Quantity Requested is valid. - Verify Requested Quantity: Validates Product ID and Submission ID. - Append Material Request: Records request in Google Sheets. - Check Available Stock for Issue: Retrieves current stock for the request. - Prepare Approval: Checks stock sufficiency for the request. - Send Approval Request: Emails approver with Approve/Reject options. - Receive Approval Response: Captures approver’s decision via webhook. - Format Approval Response: Processes approval data with Approval Date. - Verify Approval Data: Validates the approval response. - Retrieve Issue Request Details: Retrieves original request from Google Sheets. - Process Approval Decision: Branches based on approval action. - Get Stock for Issue Update: Retrieves stock before update (Approved). - Deduct Issued Stock: Reduces stock by Approved Quantity (Approved). - Update Stock After Issue: Updates stock in Google Sheets (Approved). - Retrieve Stock After Issue: Retrieves updated stock for low stock check. - Detect Low Stock After Issue: Flags low stock after issuance. - Trigger Low Stock Alert After Issue: Triggers email if stock is low. - Send Low Stock Email After Issue: Sends low stock alert via Gmail. - Update Issue Request Status: Updates request status (Approved/Rejected). - Combine Stock Lookup Results: Merges stock lookup branches. - Create Record Issue: Inserts issue request into Supabase. - Search Stock by Product ID: Retrieves Supabase stock records. - Issues Table Update: Updates Supabase Materials Issued table. - Update Current Stock: Updates Supabase stock after issuance. - Combine Issue Lookup Branches: Merges issue lookup branches. - Search Issue by Submission ID: Retrieves Supabase issue records. Customization Tips - Expand Storage Options : Add nodes to store data in other databases (e.g., Airtable) alongside Google Sheets and Supabase. - Modify Approval Email : Update the Send Approval Request node to customize the HTML email template (e.g., adjust styling or add branding). - Alternative Notifications : Add nodes to send low stock alerts via other platforms (e.g., Slack or Telegram). - Adjust Low Stock Threshold : Modify the Detect Low Stock Level node to change the Minimum Stock Level (default: 50).!

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Generate PDF documents from Adalo records and send the PDFs via Gmail

This template periodically retrieves new records from Adalo and uses the information for generating PDF documents via PDF Generator API. The final PDF documents are then sent via Gmail. The template expects your PDF Generator API document template to have "Name" and "DueDate" field. On the Adalo's side, the template expects your source database to have at least "Full Name", "Created At", and "Email" field. The template is scheduled to run every 15 minutes. You can change the schedule after yo

Free

Medical Q&A chatbot for urology using RAG with Pinecone and GPT-4o

Medical Q&A Chatbot for Urology using RAG with Pinecone and GPT-4o This template provides an AI-powered Q&A assistant for the Urology domain using Retrieval-Augmented Generation (RAG). It uses Pinecone for vector search and GPT-4o for conversational responses. 🧠 Use Case This chatbot is designed for clinics or medical pages that want to automate question answering for Urology-related conditions. It uses a vector store of domain knowledge to return verified responses. 🔧 Requirements - ✅ OpenAI AP

Free

Create HERE Tracking locations from Google Sheets

Every time a new row is submitted in Google Sheets, Make will create a new location in HERE Tracking.

Free

Import new files from Google Drive to PowerOffice and send them via Gmail

Make will watch for new files in a specified Google Drive folder at regular intervals, download it, import to PowerOffice and send them via Gmail.

Free

Send Telegram messages for new rows in a Coda table

Every time a new row is added in your Coda table, Make will automatically send a message in Telegram.

Free

Export Kanbanize tasks to Google Sheets automatically

Every time a new task is created in Kanbanize, Make will automatically import the data to Google Sheets. The template uses [this example spreadsheet](https://docs.google.com/spreadsheets/d/1PqlS6nwi2OfZ6a043ckNcmDMm6ObaGoLpznxWISXyyU/edit?usp=sharing).

Free

Daily ad spend monitoring with Google Sheets and Slack threshold alerts

This n8n workflow checks daily ad spend totals from a Google Sheet and sends a Slack alert if spend exceeds $100. It can be scheduled to run automatically or manually triggered for testing. This is perfect for marketing teams who want to monitor budget spikes in near real-time. --- ✅ Key Features - 📥 Google Sheets Integration: Pulls raw spend data from a shared spreadsheet. - 📆 Scheduled or Manual Execution: Can run daily on a schedule or manually for testing. - 📈 Aggregates Spend: Summarizes da

Free

Chat with your event schedule from Google Sheets in Telegram

What it is Chat with your event schedule from Google Sheets in Telegram: "When is the next meetup?" "How many events are there next month?" "Who presented most often?" "Which future meetups have no presenters yet?" This workflow lets you chat with a telegram bot about past, present and future events that are scheduled in a Google Spreadsheet. (Info: This proof-of-concept was created as a demo for a hackathon of an AI & Developer Meetup in Da Nang (Vietnam) that uses a telegram group to organ

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free