Booking.com new booking emails
Parse Booking.com reservation emails
Booking.com emails properties about each new reservation. This layout reads the booking number, the guest's name, the dates, the room, the number of guests and the price, so a channel manager, a spreadsheet or a chat gets them at once.
Use this layoutFree plan included: 2 layouts per endpoint.
- From
- Booking.com <noreply@booking.example>
- Subject
- New booking! (1234567890, Saturday, 1 November 2026)
You have a new booking Booking number: 1234567890 Guest name: Jane Doe Check-in: Sat 1 Nov 2026 Check-out: Tue 4 Nov 2026 Room: Double Room Number of guests: 2 Total price: € 360
{
"parsed": {
"status": "matched",
"layout": {
"id": "booking-com-reservations",
"name": "Booking.com reservations"
},
"fields": {
"booking": "1234567890",
"guest": "Jane Doe",
"check_in": "Sat 1 Nov 2026",
"check_out": "Tue 4 Nov 2026",
"room": "Double Room",
"guests": "2",
"price": "€ 360"
},
"lineItems": []
}
}The layout
It matches the email by its subject, reads each field with an RE2 pattern. Edit any of it in the endpoint's settings, where the preview tries it on an email you captured as you type.
{
"id": "booking-com-reservations",
"name": "Booking.com reservations",
"match": {
"conditions": [
{
"field": "email",
"name": "subject",
"op": "starts_with",
"value": "New booking"
}
]
},
"fields": [
{
"name": "booking",
"from": "text",
"pattern": "Booking number:\\s*(\\d+)"
},
{
"name": "guest",
"from": "text",
"pattern": "Guest name:[ \\t]*([^\\r\\n]+)"
},
{
"name": "check_in",
"from": "text",
"pattern": "Check-in:[ \\t]*([^\\r\\n]+)"
},
{
"name": "check_out",
"from": "text",
"pattern": "Check-out:[ \\t]*([^\\r\\n]+)"
},
{
"name": "room",
"from": "text",
"pattern": "Room:[ \\t]*([^\\r\\n]+)"
},
{
"name": "guests",
"from": "text",
"pattern": "Number of guests:\\s*(\\d+)"
},
{
"name": "price",
"from": "text",
"pattern": "Total price:[ \\t]*([^\\r\\n]+)"
}
]
}