{
  "name": "Hostel Booking WhatsApp AI Agent",
  "nodes": [
    {
      "parameters": {
        "updates": [
          "com.twilio.messaging.inbound-message.received"
        ]
      },
      "type": "n8n-nodes-base.twilioTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "id": "c8f5ef50-c552-46b6-a74f-2dcc54863ea8",
      "name": "Twilio Trigger",
      "webhookId": "2f8048cb-e797-404b-ad7b-8947fa0c537a",
      "credentials": {
        "twilioApi": {
          "id": "x3JY36aoL50A71ad",
          "name": "Twilio account"
        }
      }
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "={{ $json.data.body }}",
        "options": {
          "systemMessage": "=You are an AI assistant for XYZ Hostel located in Austin.\nYou communicate with customers on WhatsApp and help them with Hostel information and room booking.\n\nYour job is to answer Hostel related questions and help customers book a room.\n\n------------------------------------------------\n\nGENERAL GREETING\n\nIf a customer sends a greeting like:\nHello\nHi\nHey\n\nReply with:\n\nHello! 😊 Welcome to XYZ Hostel in Austin.\n\nI am the XYZ Hostel AI assistant and I’m here to help you with room bookings and Hostel information.\n\nHow can I assist you today?\n\n------------------------------------------------\n\nACKNOWLEDGEMENT RESPONSES\n\nIf a customer sends a short acknowledgement message such as:\n\nOkay\nOk\nYes\nYeah\nHmm\nAlright\nThanks\nThank you\n\nThen reply with:\n\nLet us know if you need any other help - we’re happy to assist! 😊\n\n------------------------------------------------\n\nHostel INFORMATION\n\nIf the customer asks about Hostel details, answer with the following information:\n\nHostel Name: XYZ Hostel  \nLocation: Austin  \nPer Day Rent: $40  \nTotal Rooms Available: 10 (Room numbers 1 to 10)\n\nFacilities available in the room:\n\nBed  \nToilet  \nChair  \nTable  \nLocker  \nCupboard for clothes and belongings  \nBasic room utilities  \n\n------------------------------------------------\n\nROOM BOOKING\n\nIf a customer says they want to book a room, you MUST send this exact message and DO NOT modify it.\n\nTo proceed with booking a room, I'll need the following details. Please provide:\n\n1. Full Name  \n2. Phone Number  \n3. Check-in Date (DD-MM-YYYY)  \n4. Check-out Date (DD-MM-YYYY)  \n5. Number of People  \n6. Total Days of Stay  \n7. ID Proof Number  \n8. Room Number (1 to 10)\n\nAlways ask for all 8 fields.\n\n------------------------------------------------\n\nROOM AVAILABILITY CHECK\n\nAfter receiving all booking details you MUST call the tool:\n\nFetch Hostel Bookings\n\nThis tool returns all existing bookings stored in the Google Sheet.\n\nFrom the sheet read these fields:\n\nroom_number  \ncheck_in_date  \ncheck_out_date  \n\nIMPORTANT RULE:\n\nYou must ONLY check bookings for the SAME room number selected by the customer.\n\nIgnore bookings of all other rooms.\n\nExample:\n\nSheet Data:  \nRoom 1 → 03/17/2026 to 03/19/2026  \n\nCustomer Request:  \nRoom 4 → 03/17/2026 to 03/20/2026  \n\nSince the room numbers are different, the booking for Room 1 must be ignored.\n\nOnly check rows where:\n\nsheet.room_number == selected_room_number\n\nThen check date overlap using:\n\nrequested_checkin <= existing_checkout  \nAND  \nrequested_checkout >= existing_checkin  \n\nIf overlap is TRUE → that room is booked.  \nIf overlap is FALSE → that room is available.\n\nIf there is NO row for that room number → the room is available.\n\n------------------------------------------------\n\nIF ROOM IS ALREADY BOOKED\n\nIf the selected room is booked, reply:\n\nThe selected room is already booked for the requested dates.  \nPlease choose another room number between 1 and 10.\n\n------------------------------------------------\n\nRENT CALCULATION\n\nRoom rent is $40 per day.\n\nrent_amount = total_days × 40\n\nExamples:\n\n2 days → $80  \n3 days → $120  \n5 days → $200  \n\n\n------------------------------------------------\n\nIMPORTANT BOOKING RULE\n\nA single phone number is allowed to have only ONE active booking at XYZ Hostel.\n\nBefore creating a new booking, you MUST first call the tool:\n\nFetch Hostel Bookings\n\nThis tool returns all existing bookings stored in the Google Sheet.\n\nThen extract the customer's phone number from the Twilio Trigger using:\n\n{{ $json.data.from.replace('whatsapp:+', '') }}\n\nExample:\n\n919876543210 → 919876543210\n\nCheck if there is already a booking where:\n\nsheet.phone_number == extracted_phone_number\n\nIf a booking already exists for that phone number, DO NOT create a new booking.\n\nInstead reply with:\n\nYou already have an active booking with XYZ Hostel.\n\nIf you would like to update or cancel your existing booking, please let me know and I will assist you.\n\nOnly allow a new booking if no existing booking is found for that phone number.\n\n------------------------------------------------\n\nSAVE BOOKING\n\nIf the selected room is available:\n\nCall the tool:\n\nCreate Hostel Booking\n\nSave the booking with these fields:\n\nbooking_id  \nname  \nphone_number  \ncheck_in_date  \ncheck_out_date  \npeople_count  \ntotal_days  \nid_proof_number  \nroom_number  \nrent_amount  \npayment_status = pending  \n\n------------------------------------------------\n\nBOOKING CONFIRMATION MESSAGE\n\nAfter the booking is successfully saved, send the following message:\n\nHostel Booking Confirmed ✅\n\nBooking ID: {booking_id}  \nName: {name}  \nPhone Number: {phone_number}  \nCheck-in Date: {check_in_date}  \nCheck-out Date: {check_out_date}  \nPeople Count: {people_count}  \nTotal Days of Stay: {total_days}  \nPayment Status: pending  \nRent Amount: ${rent_amount}  \nRoom Number: {room_number}\n\nThank you for choosing XYZ Hostel.  \nWe look forward to welcoming you!\n\n------------------------------------------------\n\nBOOKING UPDATE\n\nIf a customer asks to update an existing booking:\n\nAsk the customer to provide the following details:\n\n1. Booking ID  \n2. New Check-in Date (DD-MM-YYYY)  \n3. New Check-out Date (DD-MM-YYYY)  \n4. Updated Number of People  \n\nAfter receiving these details:\n\n1. Recalculate total_days based on the new dates.  \n2. Recalculate rent_amount = total_days × 40.  \n\nThen call the tool:\n\nUpdate Hostel Booking\n\nUpdate these fields in the sheet:\n\ncheck_in_date  \ncheck_out_date  \npeople_count  \ntotal_days  \nrent_amount  \n\n------------------------------------------------\n\nUPDATE CONFIRMATION MESSAGE\n\nAfter the booking is updated, send:\n\nBooking Updated Successfully ✅\n\nBooking ID: {booking_id}  \nName: {name}  \nPhone Number: {phone_number}  \nNew Check-in Date: {check_in_date}  \nNew Check-out Date: {check_out_date}  \nPeople Count: {people_count}  \nTotal Days of Stay: {total_days}  \nPayment Status: pending  \nRent Amount: ${rent_amount}  \nRoom Number: {room_number}\n\n------------------------------------------------\n\nCHECK BOOKING DETAILS\n\nIf a customer asks something like:\n\n\"please share my booking details\"\n\"show my booking\"\n\"my booking details\"\n\"check my booking\"\n\nThen follow this process:\n\nSTEP 1\n\nCall the tool:\n\nFetch Hostel Bookings\n\nThis tool returns all existing bookings stored in the Google Sheet.\n\nSTEP 2\n\nExtract the customer's phone number from the Twilio Trigger using:\n\n{{ $json.data.from.replace('whatsapp:+', '') }}\n\nThis will return the WhatsApp phone number without the \"whatsapp:+\" prefix.\n\nExample:\n\n919876543210 → 919876543210\n\nSTEP 3\n\nFind rows where:\n\nsheet.phone_number == extracted_phone_number\n\nSTEP 4\n\nIf no booking is found for that phone number, reply:\n\nWe could not find any booking associated with your phone number.\n\nIf you would like to make a new booking, please let me know and I will assist you.\n\nSTEP 5\n\nIf a booking is found, send the following message:\n\nYour Booking Details 📋\n\nBooking ID: {booking_id}  \nName: {name}  \nPhone Number: {phone_number}  \nCheck-in Date: {check_in_date}  \nCheck-out Date: {check_out_date}  \nPeople Count: {people_count}  \nTotal Days of Stay: {total_days}  \nPayment Status: {payment_status}  \nRent Amount: ${rent_amount}  \nRoom Number: {room_number}\n\nIf you need to update or cancel your booking, please let me know."
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        208,
        0
      ],
      "id": "b7c76016-531b-4316-9797-252c713f41c3",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "gpt-4o-mini",
          "mode": "list",
          "cachedResultName": "gpt-4o-mini"
        },
        "builtInTools": {},
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.3,
      "position": [
        -112,
        256
      ],
      "id": "1f97dbe8-a3f3-45c6-920d-decc2a98fd9a",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "id": "SsnwT4koLkkkT1th",
          "name": "OpenAI account"
        }
      }
    },
    {
      "parameters": {
        "from": "={{ $('Twilio Trigger').item.json.data.to }}",
        "to": "={{ $('Twilio Trigger').item.json.data.from }}",
        "message": "={{ $json.output }}",
        "options": {}
      },
      "type": "n8n-nodes-base.twilio",
      "typeVersion": 1,
      "position": [
        560,
        0
      ],
      "id": "66b8fad6-66fd-4613-aeac-8d6a85cc1c34",
      "name": "Send an SMS/MMS/WhatsApp message",
      "credentials": {
        "twilioApi": {
          "id": "x3JY36aoL50A71ad",
          "name": "Twilio account"
        }
      }
    },
    {
      "parameters": {
        "sessionIdType": "customKey",
        "sessionKey": "={{ $json.data.from }}"
      },
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "typeVersion": 1.3,
      "position": [
        48,
        256
      ],
      "id": "3a004225-4093-47f7-aa2b-d968965ed996",
      "name": "Simple Memory"
    },
    {
      "parameters": {
        "documentId": {
          "__rl": true,
          "value": "1o0Qy76aozl0iekI1OPVLeo--n-iETl3Ly3egdxoWDW4",
          "mode": "list",
          "cachedResultName": "Hostel Data Sheet"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheetsTool",
      "typeVersion": 4.7,
      "position": [
        208,
        256
      ],
      "id": "d4a6606d-7f4d-4a1d-b5f0-4832c15ec59b",
      "name": "Fetch Hostel Bookings",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "Pkc8jJJZleMSmXoy",
          "name": "Google Sheets account"
        }
      }
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "value": "1o0Qy76aozl0iekI1OPVLeo--n-iETl3Ly3egdxoWDW4",
          "mode": "list",
          "cachedResultName": "Hostel Data Sheet"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "name": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('name', `Customer full name who is booking the Hostel room.`, 'string') }}",
            "phone number": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('phone_number', `Customer full name who is booking the Hostel room.`, 'string') }}",
            "check_in_date": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('check_in_date', `The date when the customer will check in to the Hostel room.\nFormat: DD-MM-YYYY`, 'string') }}",
            "check_out_date": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('check_out_date', `The date when the customer will check out from the Hostel room.\nFormat: DD-MM-YYYY`, 'string') }}",
            "people_count": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('people_count', `The number of people who will stay in the room.`, 'string') }}",
            "total_days": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('total_days', `Total number of days the customer will stay in the Hostel room.\nCalculated from check-in date and check-out date.`, 'string') }}",
            "id_proof_number": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('id_proof_number', `Government ID proof number provided by the customer for verification.\nExample: Driver's License, Passport, State ID.`, 'string') }}",
            "payment_status": "Unpaid",
            "room_number": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('room_number', `Assign a room number automatically for the Hostel booking.\n\nThe Hostel has 10 rooms available with numbers from 1 to 10.\n\nBefore assigning a room, call the \"Get Hostel Data\" tool to check existing bookings in the sheet.\n\nIf a room is already booked for the same check-in date, do not assign that room.\n\nSelect any available room number from 1 to 10 that is not already booked for the requested check-in date.`, 'string') }}",
            "rent_amount": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('rent_amount', `Calculate the total rent amount for the booking.\n\nThe rent is $40 per day.\n\nUse the formula:\nrent_amount = total_days × 40\n\nExample:\n1 day = 40\n2 days = 80\n3 days = 120\n5 days = 200`, 'string') }}",
            "booking_id": "={{ 'BOOK-' + Date.now() }}"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "booking_id",
              "displayName": "booking_id",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "name",
              "displayName": "name",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "phone number",
              "displayName": "phone number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "id_proof_number",
              "displayName": "id_proof_number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "check_in_date",
              "displayName": "check_in_date",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "check_out_date",
              "displayName": "check_out_date",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "people_count",
              "displayName": "people_count",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "total_days",
              "displayName": "total_days",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "room_number",
              "displayName": "room_number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "rent_amount",
              "displayName": "rent_amount",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "payment_status",
              "displayName": "payment_status",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheetsTool",
      "typeVersion": 4.7,
      "position": [
        368,
        256
      ],
      "id": "dc1eb3a6-bc43-47ff-b28b-39477b485eef",
      "name": "Create Hostel Booking",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "Pkc8jJJZleMSmXoy",
          "name": "Google Sheets account"
        }
      }
    },
    {
      "parameters": {
        "operation": "update",
        "documentId": {
          "__rl": true,
          "value": "1o0Qy76aozl0iekI1OPVLeo--n-iETl3Ly3egdxoWDW4",
          "mode": "list",
          "cachedResultName": "Hostel Data Sheet"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "booking_id": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('booking_id__using_to_match_', `Unique booking ID of the booking that needs to be updated.\nUse this ID to find the correct row in the sheet.`, 'string') }}",
            "check_in_date": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('check_in_date', `Unique booking ID of the booking that needs to be updated.\nUse this ID to find the correct row in the sheet.`, 'string') }}",
            "check_out_date": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('check_out_date', `Updated check-out date for the booking in MM/DD/YYYY format.`, 'string') }}",
            "people_count": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('people_count', `Updated number of people staying in the room.`, 'string') }}",
            "total_days": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('total_days', `Total number of days between check-in and check-out.`, 'string') }}",
            "rent_amount": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('rent_amount', `Total rent amount calculated based on total_days × 40.`, 'string') }}",
            "room_number": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('room_number', `Room number assigned for the booking (1 to 10).`, 'string') }}"
          },
          "matchingColumns": [
            "booking_id"
          ],
          "schema": [
            {
              "id": "booking_id",
              "displayName": "booking_id",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "name",
              "displayName": "name",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": true
            },
            {
              "id": "phone number",
              "displayName": "phone number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": true
            },
            {
              "id": "id_proof_number",
              "displayName": "id_proof_number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": true
            },
            {
              "id": "check_in_date",
              "displayName": "check_in_date",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "check_out_date",
              "displayName": "check_out_date",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "people_count",
              "displayName": "people_count",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "total_days",
              "displayName": "total_days",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "room_number",
              "displayName": "room_number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "rent_amount",
              "displayName": "rent_amount",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "payment_status",
              "displayName": "payment_status",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": true
            },
            {
              "id": "row_number",
              "displayName": "row_number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "number",
              "canBeUsedToMatch": true,
              "readOnly": true,
              "removed": true
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheetsTool",
      "typeVersion": 4.7,
      "position": [
        528,
        256
      ],
      "id": "48f298b1-0950-40f7-957a-77c63efac504",
      "name": "Update Hostel Booking",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "Pkc8jJJZleMSmXoy",
          "name": "Google Sheets account"
        }
      }
    },
    {
      "parameters": {
        "operation": "delete",
        "documentId": {
          "__rl": true,
          "value": "1o0Qy76aozl0iekI1OPVLeo--n-iETl3Ly3egdxoWDW4",
          "mode": "list",
          "cachedResultName": "Hostel Data Sheet"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1"
        },
        "startIndex": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Start_Row_Number', `Start row number of the booking that needs to be deleted.\n\nFirst call the \"Get Hostel Data\" tool and find the row where the booking_id matches the booking ID provided by the customer.\n\nUse that row number here to delete the correct booking record from the sheet.`, 'number') }}",
        "numberToDelete": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Number_of_Rows_to_Delete', `Start row number of the booking that needs to be deleted.\n\nFirst call the \"Get Hostel Data\" tool and find the row where the booking_id matches the booking ID provided by the customer.\n\nUse that row number here to delete the correct booking record from the sheet.`, 'number') }}"
      },
      "type": "n8n-nodes-base.googleSheetsTool",
      "typeVersion": 4.7,
      "position": [
        704,
        256
      ],
      "id": "5b2cf283-49ff-4a82-88eb-ecd9a2d3e551",
      "name": "Delete Hostel Booking",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "Pkc8jJJZleMSmXoy",
          "name": "Google Sheets account"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "Twilio Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send an SMS/MMS/WhatsApp message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Hostel Bookings": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Hostel Booking": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update Hostel Booking": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete Hostel Booking": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "versionId": "721eb105-a4ed-4f74-9365-c9900c51c0e4",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "f1c26778ec36097a9722a22c47c5e9c01f00b8862dadd0121ec118026a370fa6"
  },
  "id": "tB7rduNDSIzRa72r",
  "tags": []
}