# anuragsingz/ai-room-booking-chatbot-ibm-watson- architecture

> Architecture diagram of the GitHub repository anuragsingz/ai-room-booking-chatbot-ibm-watson-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/anuragsingz/ai-room-booking-chatbot-ibm-watson-
- Repository: https://github.com/anuragsingz/ai-room-booking-chatbot-ibm-watson-

## Overview

This repository implements an AI room-booking chatbot with email notification. A user makes a booking request through IBM Watson Assistant, whose uploaded room-booking skill defines the chatbot interaction. The README documents configuring an IBM Cloud Function as a Watson webhook; the function reads the phone, date, and time from the request and emails the booking details through Gmail SMTP. The skill JSON was not excerpted, so its internal intents or dialog stages are not mapped.

Main entry points: [`IBM_Cloud_Function.py`](https://github.com/anuragsingz/ai-room-booking-chatbot-ibm-watson-/blob/main/IBM_Cloud_Function.py) (Email function), [`skill-Room-Booking.json`](https://github.com/anuragsingz/ai-room-booking-chatbot-ibm-watson-/blob/main/skill-Room-Booking.json) (Booking skill)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_conversation["Booking conversation"]
  node_assistant["Watson Assistant"]
  node_skill["Booking skill"]
end

subgraph group_notification["Email notification"]
  node_function["Email function"]
  node_gmail["Gmail SMTP"]
end

node_user(("Booking user"))

node_user -->|"requests booking"| node_assistant
node_assistant -->|"loads skill"| node_skill
node_assistant -->|"webhook request"| node_function
node_function -->|"sends email"| node_gmail

click node_skill "https://github.com/anuragsingz/ai-room-booking-chatbot-ibm-watson-/blob/main/skill-Room-Booking.json"
click node_function "https://github.com/anuragsingz/ai-room-booking-chatbot-ibm-watson-/blob/main/IBM_Cloud_Function.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_assistant,node_skill,node_user toneBlue
class node_function,node_gmail toneAmber
```

## Components

### Booking conversation

- **Watson Assistant**
- [Booking skill](https://github.com/anuragsingz/ai-room-booking-chatbot-ibm-watson-/blob/main/skill-Room-Booking.json): `skill-Room-Booking.json`

### Email notification

- [Email function](https://github.com/anuragsingz/ai-room-booking-chatbot-ibm-watson-/blob/main/IBM_Cloud_Function.py): `IBM_Cloud_Function.py`
- **Gmail SMTP**

### Other components

- **Booking user**

## Connections

- Booking user → Watson Assistant: requests booking (evidence: `README.md`)
- Watson Assistant → Booking skill: loads skill (evidence: `README.md`)
- Watson Assistant → Email function: webhook request (evidence: `README.md`)
- Email function → Gmail SMTP: sends email (evidence: `IBM_Cloud_Function.py`)
