🤖 AI restaurant assistant for WhatsApp, Instagram & Messenger
Hi, I’m Amanda! 💌
This workflow was created with so much love, care, and attention… especially for you, who runs a restaurant, a cozy little burger place, or a delivery business full of heart. 🥰
I know how busy your days can be, so I made this sweet AI assistant to help you take care of your customers on WhatsApp, Instagram, Messenger (or Evolution API). It sends your beautiful menu, checks ZIP codes, creates payment links, and even notifies the kitchen when the order is ready. All gentle, all automatic, all with love. 💛
💡 What this workflow does
- Replies to customers via WhatsApp API, Instagram Direct, Messenger, and Evolution API
- Checks ZIP codes to see if delivery is available using Google Maps
- Sends your menu as images, because food should look as good as it tastes 🍕
- Collects item selections and offers lovely upsells like drinks or extras
- Creates payment links with the Asaas API
- Confirms when the payment is complete and sends the order to the kitchen
- Stores all messages and session data safely in Supabase
- Uses OpenAI GPT-4o to talk naturally and kindly with your customers
⚙️ How to set it up (I’ll guide you with care 🧸)
- Connect your webhook from WhatsApp, Instagram, Messenger, or Evolution API
- Create a Supabase table called
n8n_workflow_followup- You can use this ready-made template here:
👉 Supabase Sheet Template
- You can use this ready-made template here:
- Add your API keys (OpenAI, Supabase, Google Maps, and Asaas) securely in n8n
- Customize the AI prompt with your brand’s voice and sweet style 💫
- Set your delivery radius (default is 10km, but you can change it!)
- Upload your menu images (from Google Drive, your website, or any link)
- That’s it! Your assistant is now ready to serve with kindness and automation 💕
🍯 Works with:
✅ n8n Cloud and Self-Hosted n8n
🔐 All API credentials are safely stored using n8n’s secure credential manager
Want something customized just for you?
Chat with me, I’d love to help 💻💛 Chat via WhatsApp (+55 17 99155-7874)
. . .
Tradução em Português:
Oi, eu sou a Amanda! 💌
Esse workflow foi feito com muito carinho, dedicação e cuidado... pensando especialmente em você, que tem um restaurante, lanchonete ou delivery cheio de amor pelo que faz. 🥰
Eu sei como o dia a dia pode ser corrido, e foi por isso que eu criei esse atendente com IA: pra te ajudar a responder clientes no WhatsApp, Instagram, Messenger (ou Evolution API), enviar cardápio com imagens lindas, calcular entregas, gerar links de pagamento e até avisar a cozinha. Tudo com jeitinho, sem complicação, e com muito coração. 💛
💡 O que esse fluxo faz
- Atende clientes pelo WhatsApp API, Instagram Direct, Messenger e Evolution API
- Valida CEP e calcula se o cliente está dentro da área de entrega (usando Google Maps)
- Envia cardápio com imagens, porque comer começa pelos olhos 🍕
- Coleta os pedidos e também oferece bebidas e adicionais
- Gera link de pagamento automaticamente com a API do Asaas
- Confirma o pagamento e avisa a cozinha quando estiver tudo certo
- Armazena mensagens, horários e histórico no Supabase
- Usa o GPT-4o da OpenAI pra conversar de forma educada e natural com seus clientes
⚙️ Como configurar (com meu passo a passo cheio de cuidado 🧸)
- Conecte seu webhook do WhatsApp, Instagram, Messenger ou Evolution API
- Crie uma tabela no Supabase chamada
n8n_workflow_followup- Você pode usar esse modelo aqui:
👉 Planilha modelo Supabase
- Você pode usar esse modelo aqui:
- Adicione suas chaves de API do OpenAI, Google Maps, Supabase e Asaas no gerenciador do n8n
- Personalize o prompt da IA com o nome do seu restaurante, estilo de fala e sua magia 💫
- Defina a distância máxima de entrega (padrão: 10km)
- Coloque seus próprios links de imagens do cardápio (pode ser do Drive, site ou CDN)
- Prontinho! Agora o seu restaurante tem um atendente inteligente, gentil e muito eficiente 💕
🍯 Funciona com:
✅ n8n Cloud e n8n auto-hospedado
🔐 E suas credenciais ficam guardadinhas com segurança no próprio n8n, tá bom?
Quer algo feito especialmente pra você?
Fala comigo com todo carinho 💻💛 Falar no WhatsApp (+55 17 99155-7874)
AI Restaurant Assistant for WhatsApp, Instagram & Messenger
This n8n workflow creates an AI-powered restaurant assistant capable of responding to customer inquiries across WhatsApp, Instagram, and Messenger. It leverages a combination of AI agents, vector stores, and custom logic to provide intelligent and context-aware responses, including menu information, reservation details, and more.
What it does
This workflow is designed to handle incoming messages from various platforms and respond intelligently using AI. While the provided JSON only shows the building blocks, the intended functionality based on the node types and the directory name is as follows:
- Receives incoming messages: It's triggered by a webhook, likely connected to a messaging platform (WhatsApp, Instagram, Messenger).
- Processes messages with AI: It uses an AI Agent (Langchain) to understand the user's intent and generate a response.
- Accesses information from a vector store: It can query a Supabase Vector Store to retrieve relevant information, such as menu items, opening hours, or special offers.
- Utilizes tools for specific tasks: It can use tools like a Calculator (for price calculations or conversions) or an HTTP Request Tool (to fetch dynamic data, e.g., from a reservation system).
- Manages conversation history: It stores and retrieves chat history using Postgres Chat Memory to maintain context in ongoing conversations.
- Responds to the user: It sends back the AI-generated response to the originating messaging platform via the webhook.
- Manages and processes documents: It can load documents, split them into chunks, and embed them into the vector store for RAG (Retrieval Augmented Generation). This is indicated by the "Google Drive Trigger", "Default Data Loader", "Recursive Character Text Splitter", "Embeddings OpenAI", and "Supabase Vector Store" nodes.
- Includes conditional logic: Uses
IfandSwitchnodes for branching logic based on message content or AI output. - Includes data transformation and manipulation: Uses
Function,Edit Fields (Set),Loop Over Items (Split in Batches),Filter,Aggregate,Limit,Split Out, andSummarizenodes for various data handling tasks.
Prerequisites/Requirements
To use this workflow, you will need:
- n8n instance: A running n8n instance.
- OpenAI API Key: For the OpenAI Chat Model and Embeddings OpenAI nodes.
- Supabase Account: For the Supabase Vector Store and Supabase database.
- PostgreSQL Database: For the Postgres Chat Memory.
- Google Drive Account: If you intend to use the Google Drive Trigger for document loading.
- Messaging Platform Integration: Webhooks configured for WhatsApp, Instagram, or Messenger to send incoming messages to n8n.
- n8n Langchain Nodes: Ensure the
@n8n/n8n-nodes-langchainpackage is installed in your n8n instance.
Setup/Usage
-
Import the Workflow:
- Download the provided JSON file.
- In your n8n instance, click "Workflows" in the left sidebar.
- Click "New" and then "Import from JSON".
- Paste the JSON content or upload the file.
-
Configure Credentials:
- Locate the "OpenAI Chat Model" and "Embeddings OpenAI" nodes and configure your OpenAI API Key credential.
- Locate the "Supabase Vector Store" and "Supabase" nodes and configure your Supabase credential (API URL and API Key).
- Locate the "Postgres Chat Memory" node and configure your PostgreSQL database credential.
- If using Google Drive, configure your Google Drive credential for the "Google Drive Trigger" and "Google Drive" nodes.
-
Configure Webhooks:
- The "Webhook" node acts as the entry point for incoming messages. Copy its test or production URL.
- Configure your messaging platform (WhatsApp, Instagram, Messenger) to send messages to this webhook URL. The exact setup will depend on the platform's API (e.g., Meta's Webhooks for Messenger/Instagram, a WhatsApp Business API provider).
-
Configure AI Agent and Tools:
- AI Agent: Review the configuration of the "AI Agent" node to ensure it aligns with your desired conversational flow and agent type (e.g., "Conversational React Description").
- Vector Store: Configure the "Supabase Vector Store" node with your Supabase project details (project URL, API key, table name for vectors, and embedding model).
- Document Loading (Optional): If you want to ingest documents from Google Drive for your vector store, activate and configure the "Google Drive Trigger", "Default Data Loader", "Recursive Character Text Splitter", and "Embeddings OpenAI" nodes. This typically involves:
- Setting up the Google Drive Trigger to monitor a specific folder.
- Using the "Default Data Loader" to extract content from files.
- Splitting the text with "Recursive Character Text Splitter" for optimal embedding.
- Generating embeddings with "Embeddings OpenAI".
- Storing these embeddings in "Supabase Vector Store".
- Chat Memory: Ensure the "Postgres Chat Memory" is configured correctly to store and retrieve chat history, allowing the AI to maintain context.
-
Activate the Workflow:
- Once all credentials and configurations are set, activate the workflow by toggling the "Active" switch in the top right corner of the n8n editor.
The workflow is now ready to receive messages and act as an AI restaurant assistant!
Related Templates
Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax
Spark your creativity instantly in any chat—turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. 📋 What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing 🔧 Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation 🔑 Required Credentials OpenAI API Setup Go to platform.openai.com → API keys (sidebar) Click "Create new secret key" → Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai → Dashboard → API Keys Generate a new API key → Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) ⚙️ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflow—chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions
Synchronizing WooCommerce inventory and creating products with Google Gemini AI and BrowserAct
Synchronize WooCommerce Inventory & Create Products with Gemini AI & BrowserAct This sophisticated n8n template automates WooCommerce inventory management by scraping supplier data, updating existing products, and intelligently creating new ones with AI-formatted descriptions. This workflow is essential for e-commerce operators, dropshippers, and inventory managers who need to ensure their product pricing and stock levels are synchronized with multiple third-party suppliers, minimizing overselling and maximizing profit. --- Self-Hosted Only This Workflow uses a community contribution and is designed and tested for self-hosted n8n instances only. --- How it works The workflow is typically run by a Schedule Trigger (though a Manual Trigger is also shown) to check stock automatically. It reads a list of suppliers and their inventory page URLs from a central Google Sheet. The workflow loops through each supplier: A BrowserAct node scrapes the current stock and price data from the supplier's inventory page. A Code node parses this bulk data into individual product items. It then loops through each individual product found. The workflow checks WooCommerce to see if the product already exists based on its name. If the product exists: It proceeds to update the existing product's price and stock quantity. If the product DOES NOT exist: An If node checks if the missing product's category matches a predefined type (optional filtering). If it passes the filter, a second BrowserAct workflow scrapes detailed product attributes from a dedicated product page (e.g., DigiKey). An AI Agent (Gemini) transforms these attributes into a specific, styled HTML table for the product description. Finally, the product is created in WooCommerce with all scraped details and the AI-generated description. Error Handling: Multiple Slack nodes are configured to alert your team immediately if any scraping task fails or if the product update/creation process encounters an issue. Note: This workflow does not support image uploads for new products. To enable this functionality, you must modify both the n8n and BrowserAct workflows. --- Requirements BrowserAct API account for web scraping BrowserAct n8n Community Node -> (n8n Nodes BrowserAct) BrowserAct templates named “WooCommerce Inventory & Stock Synchronization” and “WooCommerce Product Data Reconciliation” Google Sheets credentials for the supplier list WooCommerce credentials for product management Google Gemini account for the AI Agent Slack credentials for error alerts --- Need Help? How to Find Your BrowseAct API Key & Workflow ID How to Connect n8n to Browseract How to Use & Customize BrowserAct Templates How to Use the BrowserAct N8N Community Node --- Workflow Guidance and Showcase STOP Overselling! Auto-Sync WooCommerce Inventory from ANY Supplier
Tax deadline management & compliance alerts with GPT-4, Google Sheets & Slack
AI-Driven Tax Compliance & Deadline Management System Description Automate tax deadline monitoring with AI-powered insights. This workflow checks your tax calendar daily at 8 AM, uses GPT-4 to analyze upcoming deadlines across multiple jurisdictions, detects overdue and critical items, and sends intelligent alerts via email and Slack only when immediate action is required. Perfect for finance teams and accounting firms who need proactive compliance management without manual tracking. 🏛️🤖📊 Good to Know AI-Powered: GPT-4 provides risk assessment and strategic recommendations Multi-Jurisdiction: Handles Federal, State, and Local tax requirements automatically Smart Alerts: Only notifies executives when deadlines are overdue or critical (≤3 days) Priority Classification: Categorizes deadlines as Overdue, Critical, High, or Medium priority Dual Notifications: Critical alerts to leadership + daily summaries to team channel Complete Audit Trail: Logs all checks and deadlines to Google Sheets for compliance records How It Works Daily Trigger - Runs at 8:00 AM every morning Fetch Data - Pulls tax calendar and company configuration from Google Sheets Analyze Deadlines - Calculates days remaining, filters by jurisdiction/entity type, categorizes by priority AI Analysis - GPT-4 provides strategic insights and risk assessment on upcoming deadlines Smart Routing - Only sends alerts if overdue or critical deadlines exist Critical Alerts - HTML email to executives + Slack alert for urgent items Team Updates - Slack summary to finance channel with all upcoming deadlines Logging - Records compliance check results to Google Sheets for audit trail Requirements Google Sheets Structure Sheet 1: TaxCalendar DeadlineID | DeadlineName | DeadlineDate | Jurisdiction | Category | AssignedTo | IsActive FED-Q1 | Form 1120 Q1 | 2025-04-15 | Federal | Income | John Doe | TRUE Sheet 2: CompanyConfig (single row) Jurisdictions | EntityType | FiscalYearEnd Federal, California | Corporation | 12-31 Sheet 3: ComplianceLog (auto-populated) Date | AlertLevel | TotalUpcoming | CriticalCount | OverdueCount 2025-01-15 | HIGH | 12 | 3 | 1 Credentials Needed Google Sheets - Service Account OAuth2 OpenAI - API Key (GPT-4 access required) SMTP - Email account for sending alerts Slack - Bot Token with chat:write permission Setup Steps Import workflow JSON into n8n Add all 4 credentials Replace these placeholders: YOURTAXCALENDAR_ID - Tax calendar sheet ID YOURCONFIGID - Company config sheet ID YOURLOGID - Compliance log sheet ID C12345678 - Slack channel ID tax@company.com - Sender email cfo@company.com - Recipient email Share all sheets with Google service account email Invite Slack bot to channels Test workflow manually Activate the trigger Customizing This Workflow Change Alert Thresholds: Edit "Analyze Deadlines" node: Critical: Change <= 3 to <= 5 for 5-day warning High: Change <= 7 to <= 14 for 2-week notice Medium: Change <= 30 to <= 60 for 2-month lookout Adjust Schedule: Edit "Daily Tax Check" trigger: Change hour/minute for different run time Add multiple trigger times for tax season (8 AM, 2 PM, 6 PM) Add More Recipients: Edit "Send Email" node: To: cfo@company.com, director@company.com CC: accounting@company.com BCC: archive@company.com Customize Email Design: Edit "Format Email" node to change colors, add logo, or modify layout Add SMS Alerts: Insert Twilio node after "Is Critical" for emergency notifications Integrate Task Management: Add HTTP Request node to create tasks in Asana/Jira for critical deadlines Troubleshooting | Issue | Solution | |-------|----------| | No deadlines found | Check date format (YYYY-MM-DD) and IsActive = TRUE | | AI analysis failed | Verify OpenAI API key and account credits | | Email not sending | Test SMTP credentials and check if critical condition met | | Slack not posting | Invite bot to channel and verify channel ID format | | Permission denied | Share Google Sheets with service account email | 📞 Professional Services Need help with implementation or customization? Our team offers: 🎯 Custom workflow development 🏢 Enterprise deployment support 🎓 Team training sessions 🔧 Ongoing maintenance 📊 Custom reporting & dashboards 🔗 Additional API integrations Discover more workflows – Get in touch with us