Automated Customer Reservations via Telegram and PostgreSQL (Module "Booking")

Nodes

7a48708c-bd3b-409b-837b-b599c5bcd7e62583a666-3b00-4201-be3f-5a3109262d2d488a0fb2-cb78-4180-a015-7e7d3306ed728299733a-9057-42af-8045-2a3bdf88dde3+1

Categories

Created by

AnAndrew

Last edited 39 days ago

Who is this for?

This workflow is for businesses or services that require managing customer reservations or appointments through a Telegram bot and storing reservation details in a PostgreSQL database.

What problem is this workflow solving?

This workflow automates the process of capturing reservation data via a Telegram bot and storing it in a PostgreSQL database. It eliminates the need for manual entry and reduces errors, improving efficiency in managing bookings.

What this workflow does

  • The workflow allows customers to select a day and time for their reservation through a Telegram bot.
  • Customers provide their phone number and name, which are then added to the reservation table in the PostgreSQL database.
  • Successfully added reservations are confirmed via the bot, ensuring both the business and customer are updated.

Setup

  1. Create tables in Postgres DB

    • Replace "n8n" in the provided SQL script with the name of your schema in the database.
    • Execute the SQL script to set up the required tables.
  2. Add Credentials

    • Add your Telegram bot credentials.
    • Add your PostgreSQL database credentials to the workflow for seamless integration.

How to customize this workflow to your needs

  • Modify the available days and times in the Telegram bot according to your business hours or schedule.
  • Adjust the database schema or add additional fields for customer preferences, special requests, or payment information as needed.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!