🤝 Generate & send spare parts price quotes with Gmail, Sheets and Gemini AI

⚡ 9,152 views · 🤝 CRM & Sales Operations

Description

Who’s it for

This workflow is perfect for sales teams, customer service departments, and businesses that frequently handle spare parts inquiries via email. It’s especially valuable for companies managing multiple products with complex pricing structures who want to automate their quotation process while maintaining professional, multilingual communication.

Screenshot 20250630 214522.png


What it does

This workflow:


How it works

  1. Schedule Trigger runs every minutes to check for new emails
  2. Gmail node fetches the latest unread email
  3. Keyword detection filters for spare parts-related terms in multiple languages
  4. AI Agent processes the request by:
    • Detecting the email’s language
    • Extracting project/part codes
    • Querying three Google Sheets: CRM, Bill of Materials, Pricing
    • Calculating line totals and grand total
    • Generating a professional HTML quote in the sender’s language
  5. Gmail reply sends the quote and marks the original email as read

Requirements


How to set up

  1. Import the workflow into your n8n instance

  2. Create three Google Sheets with the following column structure:

    • CRM Sheet: Email, ProjectCode, CustomerName
    • Bill of Materials: ProjectCode, PartCode, PartDescription, Quantity
    • Pricing Sheet: PartCode, UnitPriceEUR, PartDescription
  3. Configure credentials:

    • Set up Gmail OAuth2 in Google Cloud Console
    • Configure Google Sheets OAuth2 (can use same project)
    • Get your Google Gemini API key from Google AI Studio
  4. Update the workflow:

    • Replace placeholder Sheet IDs in the CRM, BoM, and Pricing nodes
    • Adjust company name in the AI Agent’s system message
    • Modify keyword detection if needed
  5. Test with a sample email before activating


How to customize the workflow


This template provides a solid foundation for automating your quotation process, while staying flexible to fit your specific business needs.

Feel free to contact me for further implementation guidelines: LinkedIn: Berke

đź”— Nodes Used

Gmail, Schedule Trigger, AI Agent, Calculator, Google Gemini Chat Model

📥 Import

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

📖 Importing guide · 🔑 Credential setup