Skip to main content

šŸ¤– AI-powered WhatsApp assistant for restaurants & delivery automation

Workflow preview

Workflow preview
100%
šŸ¤– AI-powered WhatsApp assistant for restaurants & delivery automation preview
Open on n8n.io

Important notice

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

1. Workflow Overview

AI Powered WhatsApp Assistant for Restaurant & Delivery – Automate Orders, Calculate Delivery Fees & Enhance Customer Service with n8n Optimize your restaurant's delivery process with AI powered...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.embeddingsopenai, n8n-nodes-base.supabase, n8n-nodes-base.merge, n8n-nodes-base.if, n8n-nodes-base.aggregate, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Bruno Dias.

Original n8n.io source

1.1 Workflow description

Title
šŸ¤– AI-powered WhatsApp assistant for restaurants & delivery automation
Workflow name
šŸ¤– AI-powered WhatsApp assistant for restaurants & delivery automation

AI-Powered WhatsApp Assistant for Restaurant & Delivery – Automate Orders, Calculate Delivery Fees & Enhance Customer Service with n8n

šŸ“Œ Optimize your restaurant's delivery process with AI-powered automation!
This n8n workflow enables an intelligent WhatsApp assistant for restaurants, burger joints, and delivery businesses. The AI chatbot efficiently handles orders, calculates delivery fees based on distance, manages customer interactions, and seamlessly integrates with your CRM and database for streamlined operations.

āš ļø Important Notice: This template is only compatible with self-hosted n8n instances as it uses community nodes. Ensure secure credential management when configuring APIs.

šŸ”¹ Key Features

āœ… AI-Powered Order Processing – Automatically receive and confirm orders via WhatsApp.
āœ… Real-Time Distance Calculation – Determines the delivery distance and calculates the fee dynamically.
āœ… Automated Customer Interaction – Engages customers with intelligent conversation and order updates.
āœ… WhatsApp Integration – Processes messages, saves customer details, and retrieves past interactions.
āœ… Secure Customer Data Storage – Saves order history, customer preferences, and location details in a database.
āœ… Seamless CRM & POS System Integration – Sync orders and customer data with your existing platforms.

šŸ“Œ How It Works

1ļøāƒ£ A customer sends a message via WhatsApp to start an order.
2ļøāƒ£ The AI assistant guides them through the menu, recommends items, and confirms their choices.
3ļøāƒ£ The system retrieves and saves customer details (name, phone number, and address).
4ļøāƒ£ The AI calculates the delivery distance and applies the appropriate delivery fee.
5ļøāƒ£ The order details are saved and forwarded to the restaurant’s system for preparation.
6ļøāƒ£ The assistant keeps the customer updated about the order status.

āš™ļø Setup & Customization

šŸ”§ Webhook for WhatsApp – Capture and process customer messages automatically.
šŸ”§ OpenAI-Powered AI Assistant – Configure conversation flows for natural and engaging interactions.
šŸ”§ Delivery Fee Calculation – Set your delivery price per kilometer and adjust base rates.
šŸ”§ Database & CRM Integration – Store customer details, order history, and location data.
šŸ”§ Customizable Order Flow – Adapt the workflow for different restaurant models.
šŸ”§ Secure Credential Management – Store API keys safely to prevent unauthorized access.

šŸ’” Requirements: This template is recommended for users with basic knowledge of n8n. If you need custom development or setup assistance, contact us via WhatsApp: +55 17 99155-7874.

šŸš€ Automate order processing, reduce manual tasks, and improve customer satisfaction with AI-powered WhatsApp automation!


Assistente de WhatsApp com IA para Restaurantes & Delivery – Automatize Pedidos, Calcule Taxas de Entrega e Melhore o Atendimento ao Cliente com n8n

šŸ“Œ Otimize o processo de entrega do seu restaurante com automação baseada em IA!
Este fluxo para n8n permite criar um atendente virtual inteligente no WhatsApp, ideal para hamburguerias, restaurantes e serviços de delivery. O chatbot baseado em IA recebe pedidos, calcula a taxa de entrega com base na distância, interage com os clientes e integra-se ao seu CRM para operações mais eficientes.

āš ļø Aviso Importante: Este template Ć© compatĆ­vel apenas com instĆ¢ncias auto-hospedadas do n8n, pois utiliza nós da comunidade. Certifique-se de gerenciar credenciais de forma segura ao configurar APIs.

šŸ”¹ Principais Funcionalidades

āœ… Processamento Inteligente de Pedidos – Recebe e confirma pedidos automaticamente via WhatsApp.
āœ… CĆ”lculo DinĆ¢mico da Taxa de Entrega – Mede a distĆ¢ncia e aplica a taxa correta automaticamente.
āœ… Atendimento Automatizado ao Cliente – Interage com clientes de forma natural e profissional.
āœ… Integração com WhatsApp – Captura mensagens, armazena dados e recupera histórico de pedidos.
āœ… Armazenamento Seguro de Dados do Cliente – Salva pedidos, preferĆŖncias e endereƧos de entrega.
āœ… Sincronização com CRM e Sistema de PDV – Conecta-se ao seu sistema de gestĆ£o para um fluxo contĆ­nuo.

šŸ“Œ Como Funciona

1ļøāƒ£ O cliente envia uma mensagem via WhatsApp para iniciar um pedido.
2ļøāƒ£ O assistente de IA apresenta o menu, sugere itens e confirma a escolha do cliente.
3ļøāƒ£ O sistema captura e salva os dados do cliente (nome, telefone e endereƧo).
4ļøāƒ£ A IA calcula a distĆ¢ncia de entrega e aplica a taxa de acordo com a localização.
5ļøāƒ£ Os detalhes do pedido sĆ£o registrados e enviados para a cozinha.
6ļøāƒ£ O assistente atualiza o cliente sobre o status do pedido.

āš™ļø Configuração e Personalização

šŸ”§ Webhook para WhatsApp – Configuração para capturar e processar pedidos automaticamente.
šŸ”§ Assistente de IA com OpenAI – Configuração de fluxos conversacionais naturais e envolventes.
šŸ”§ CĆ”lculo de Taxa de Entrega – Definição de valores por quilĆ“metro e ajustes de tarifas base.
šŸ”§ Banco de Dados & CRM – Armazena dados de clientes, histórico de pedidos e localização.
šŸ”§ Fluxo de Pedidos PersonalizĆ”vel – Adapte para diferentes tipos de restaurantes e serviƧos de delivery.
šŸ”§ Gerenciamento Seguro de Credenciais – Proteja suas chaves de API contra acessos nĆ£o autorizados.

šŸ’” Requisitos: Este template Ć© recomendado para usuĆ”rios que jĆ” possuem conhecimentos bĆ”sicos em n8n. Se precisar de personalização ou suporte para instalação, entre em contato pelo WhatsApp: +55 17 99155-7874.

šŸš€ Automatize o processamento de pedidos, reduza tarefas manuais e melhore a satisfação dos clientes com um WhatsApp automatizado e inteligente!

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 - OpenAI Chat Model

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

Block 2 - Config

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Embeddings OpenAI

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.1

Block 4 - OpenAI Chat Model1

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

Block 5 - FindPhone

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

Block 6 - AddChat-Supabase

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

Block 7 - UpdateChat-Supabase

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

Block 8 - Merge1

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 9 - CreateMessage-Supabase

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

Block 10 - If3

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - ListChats-Supabase

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

Block 12 - Aggregate

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

Block 13 - ListMessages-Supabase

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

Block 14 - Code1

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

Block 15 - Supabase

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

Block 16 - Loop Over Items1

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 17 - OpenAI Chat Model2

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

Block 18 - OpenAI Chat Model3

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

Block 19 - Wait1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 20 - Schedule Trigger

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

Block 21 - DisableMessage-Supabase

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

Block 22 - SetConfig

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 23 - Execute Workflow

Type / Role
n8n-nodes-base.executeWorkflow - executeWorkflow
Config choices
Version 1.1

Block 24 - SetData

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

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

3. Summary Table

Workflow šŸ¤– AI-powered WhatsApp assistant for restaurants & delivery automation
Complexity advanced
Nodes 152
Categories Support Chatbot, AI Chatbot
Author Bruno Dias
Published 28 Feb 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3043/3043.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 šŸ¤– AI-powered WhatsApp assistant for restaurants & delivery automation do?

AI Powered WhatsApp Assistant for Restaurant & Delivery – Automate Orders, Calculate Delivery Fees & Enhance Customer Service with n8n Optimize your restaurant's delivery process with AI powered...

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