Skip to main content

Restaurant daily insights with Gemini AI - sales, waste & feedback email summary

Workflow preview

Workflow preview
100%
Restaurant daily insights with Gemini AI - sales, waste & feedback email summary preview
Open on n8n.io

Important notice

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

1. Workflow Overview

In this guide, we’ll walk you through setting up an AI driven workflow that automatically fetches daily sales, food waste, and customer feedback data from Google Sheets, generates actionable insigh...

Best for

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

Tools used

n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.toolthink, n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

Title
Restaurant daily insights with Gemini AI - sales, waste & feedback email summary
Workflow name
Restaurant daily insights with Gemini AI - sales, waste & feedback email summary

In this guide, we’ll walk you through setting up an AI-driven workflow that automatically fetches daily sales, food waste, and customer feedback data from Google Sheets, generates actionable insights using AI, merges them into a comprehensive report, and sends it as an email draft. Ready to automate your restaurant’s daily insights? Let’s dive in!

What’s the Goal?

  • Automatically retrieve daily sales data, food waste records, and customer feedback from Google Sheets.
  • Use AI to analyze data and generate insights, including top performers, waste reduction recommendations, and feedback summaries.
  • Merge the insights into a structured daily report.
  • Send the report as an AI-generated email draft for review or sending.
  • Enable scheduled automation for daily insights delivery.

By the end, you’ll have a self-running system that delivers daily restaurant insights effortlessly.

Why Does It Matter?

Manual data analysis and reporting are time-consuming and error-prone. Here’s why this workflow is a game-changer:

  • Zero Human Error: AI ensures accurate and consistent insights.
  • Time-Saving Automation: Instantly process data and draft reports, boosting efficiency.
  • Scheduled Delivery: Receive insights daily without manual effort.
  • Actionable Insights: Empower your team with data-driven decisions. Think of it as your tireless data analyst that keeps your restaurant informed.

How It Works

Here’s the step-by-step magic behind the automation:

Step 1: Trigger the Workflow

  • Initiate the workflow daily using the Daily Report Scheduler node (e.g., every day at a set time).

Step 2: Fetch Daily Sales Data

  • Retrieve sales data from the Google Sheet using the Fetch Daily Sales Data node.

Step 3: Fetch Daily Food Waste Records

  • Retrieve food waste data from the Google Sheet using the Fetch Daily Food Waste Records node.

Step 4: Fetch Customer Feedback

  • Retrieve customer feedback from the Google Sheet using the Fetch Customer Feedback node.

Step 5: Normalize Sales Records

  • Process and standardize sales data for AI analysis.

Step 6: Normalize Waste Data

  • Process and standardize food waste data for AI analysis.

Step 7: Normalize Feedback Data

  • Process and standardize customer feedback data for AI analysis.

Step 8: AI Sales Insights Generator

  • Use AI (e.g., Google Chat Model) to analyze sales data, identify top performers, and provide recommendations.

Step 9: AI Waste Reduction Insights Generator

  • Use AI to analyze waste data and suggest reduction strategies.

Step 10: AI Feedback Summary

  • Use AI to summarize customer feedback and identify common themes.

Step 11: Format Sales Output

  • Structure the sales insights into a readable format.

Step 12: Format Waste Output

  • Structure the waste reduction insights into a readable format.

Step 13: Format Feedback AI Output

  • Structure the feedback summary into a readable format.

Step 14: Merge & Create Email

  • Combine all formatted insights into a single daily report email draft.

Step 15: Prepare Email Content

  • Finalize the email content for sending.

Step 16: Send Daily Report

  • Send the AI-generated daily summary email via Gmail.

How to Use the Workflow?

Importing a workflow in n8n is a straightforward process that allows you to use pre-built workflows to save time. Below is a step-by-step guide to importing the Restaurant Daily Insights Automation workflow in n8n.

Steps to Import a Workflow in n8n

  1. Obtain the Workflow JSON

    • Source the Workflow: Workflows are shared as JSON files or code snippets, e.g., from the n8n community, a colleague, or exported from another n8n instance.
    • Format: Ensure you have the workflow in JSON format, either as a file (e.g., workflow.json) or copied text.
  2. Access the n8n Workflow Editor

    • Log in to n8n (via n8n Cloud or self-hosted instance).
    • Navigate to the Workflows tab in the n8n dashboard.
    • Click Add Workflow to create a blank workflow.
  3. Import the Workflow

    • Option 1: Import via JSON Code (Clipboard):
      • Click the three dots (⋯) in the top-right corner to open the menu.
      • Select Import from Clipboard.
      • Paste the JSON code into the text box.
      • Click Import to load the workflow.
    • Option 2: Import via JSON File:
      • Click the three dots (⋯) in the top-right corner.
      • Select Import from File.
      • Choose the .json file from your computer.
      • Click Open to import.

Setup Notes

  • Google Sheet Columns:
    • Sales Data Sheet: Date, Item Name, Quantity Sold, Revenue, Cost, Profit.
    • Food Waste Records Sheet: Date, Item Name, Waste Quantity, Reason, Timestamp.
    • Customer Feedback Sheet: Date, Customer Name, Feedback Text, Rating, Timestamp.
  • Google Sheets Credentials: Configure OAuth2 settings in the fetch nodes with your Google Sheet ID and credentials.
  • AI Models: Set up the AI nodes (e.g., Google Chat Model) with appropriate API credentials.
  • Gmail Integration: Authorize the Send Daily Report node with Gmail API credentials to send emails.
  • Scheduling: Adjust the Daily Report Scheduler node to your preferred time (e.g., daily at 9 AM).

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 - Workflow Overview

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

Block 2 - Sales Data Analysis

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

Block 3 - Food Waste Analysis

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

Block 4 - Customer Feedback Analysis

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

Block 5 - Merge & Email Creation

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

Block 6 - Send Daily Report

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

Block 7 - Google Gemini Chat Model for summary

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 8 - Think for summary

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1

Block 9 - Daily Report Scheduler

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

Block 10 - Fetch Daily Sales Data

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

Block 11 - Normalize Sales Records

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

Block 12 - AI Sales Insights Generator

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 13 - Format Sales AI Output

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

Block 14 - Google Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 15 - Think Tool

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1

Block 16 - Fetch Daily Food Waste Records

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

Block 17 - Normalize Waste Data

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

Block 18 - AI Waste Reduction Insights Generator

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 19 - Format Waste AI Output

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

Block 20 - Chat Model For Food Waste

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 21 - Think For Food Waste

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1

Block 22 - Fetch Customer Feedback

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

Block 23 - Normalize Feedback Entries

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

Block 24 - AI Feedback Summary Generator

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Showing the first 24 of 33 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Restaurant daily insights with Gemini AI - sales, waste & feedback email summary
Complexity advanced
Nodes 33
Categories Document Extraction, AI Summarization
Author Oneclick AI Squad
Published 14 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5991/5991.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 Restaurant daily insights with Gemini AI - sales, waste & feedback email summary do?

In this guide, we’ll walk you through setting up an AI driven workflow that automatically fetches daily sales, food waste, and customer feedback data from Google Sheets, generates actionable insigh...

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, AI Summarization use case.