Skip to main content

Automated restaurant call handling & table booking system with VAPI and PostgreSQL

Workflow preview

Workflow preview
100%
Automated restaurant call handling & table booking system with VAPI and PostgreSQL preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Acts as a virtual receptionist for the restaurant, handling incoming calls via VAPI without human intervention. It collects user details (name, booking time, number of people) for table bookings, c...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.postgres, n8n-nodes-base.respondtowebhook, n8n-nodes-base.webhook

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
Automated restaurant call handling & table booking system with VAPI and PostgreSQL
Workflow name
Automated restaurant call handling & table booking system with VAPI and PostgreSQL

Acts as a virtual receptionist for the restaurant, handling incoming calls via VAPI without human intervention. It collects user details (name, booking time, number of people) for table bookings, checks availability in a PostgreSQL database using n8n, books the table if available, and sends confirmation. It also provides restaurant details to users, mimicking a human receptionist.

Key Insights

  1. VAPI must be configured to accurately capture user input for bookings and inquiries.
  2. PostgreSQL database requires a table to manage restaurant bookings and availability.

Workflow Process

  • Initiate the workflow with a VAPI call to collect user details (name, time, number of people).
  • Use n8n to query the PostgreSQL database for table availability.
  • If a table is available, book it using n8n and update the PostgreSQL database.
  • Send a booking confirmation and hotel service details back to VAPI via n8n.
  • Store and update restaurant table data in the PostgreSQL database using n8n.

Usage Guide

  1. Import the workflow into n8n and configure VAPI and PostgreSQL credentials.
  2. Test with a sample VAPI call to ensure proper data collection and booking confirmation.

Prerequisites

  • VAPI API credentials for call handling
  • PostgreSQL database with booking and availability tables

Customization Options

Modify the VAPI input fields to capture additional user details or adjust the PostgreSQL query for specific availability criteria.

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 - Sticky Note

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

Block 2 - Sticky Note1

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

Block 3 - Query Table Availability (Postgres)

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 4 - Respond: Availability Status (VAPI)

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

Block 5 - Sticky Note3

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

Block 6 - Trigger: Booking Request (VAPI)

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

Block 7 - Upsert Booking in Postgres

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 8 - Respond: Booking Confirmation (VAPI)

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

Block 9 - Trigger: Booking Request (VAPI) 1

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

3. Summary Table

Workflow Automated restaurant call handling & table booking system with VAPI and PostgreSQL
Complexity intermediate
Nodes 9
Categories Support Chatbot, AI Chatbot
Author Oneclick AI Squad
Published 30 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5466/5466.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 Automated restaurant call handling & table booking system with VAPI and PostgreSQL do?

Acts as a virtual receptionist for the restaurant, handling incoming calls via VAPI without human intervention. It collects user details (name, booking time, number of people) for table bookings, c...

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.