Add AI-powered booking to any chatbot in 10 minutes
Add AI-powered booking to your chatbot in 3 steps:
npm install agentic-bookingconst AgenticBooking = require('agentic-booking');
const booking = new AgenticBooking({
apiKey: 'YOUR_API_KEY_HERE', // Get from dashboard
onCheckAvailability: async ({ date, time }) => {
// Check your calendar/database
return { available: true };
},
onCreateBooking: async (data) => {
// Save to your database
return { bookingId: 'BK-123', confirmed: true };
}
});// When user sends a message
const response = await booking.handleMessage(
userMessage, // "I want to book for tomorrow"
userId, // Unique user ID
{ platform: 'TELEGRAM' }
);
// Send response back to user
sendToUser(response);✅ That's it!
The AI handles the entire booking conversation. It will ask for date, time, customer details, and confirm the booking.
🔑 Get your API key
Sign up for free to get your API key and start building.