π‘ External Conversation Import
Capture guest conversations from web chat and phone systems into LIKE MAGIC
The Idea
Import conversations from external communication platformsβwebsite live chat, phone call bots or IVR systemsβinto the LIKE MAGIC unified messaging system. Once imported, LIKE MAGIC automatically links conversations to guest profiles when they make a reservation, giving your team full visibility across every touchpoint.
How It Works
The Flow:
- Guest contacts your property via website chat widget or automated phone system
- Your system captures the conversation with the guest's phone number or email
- Push messages to LIKE MAGIC via API, specifying the guest identifier and message content
- LIKE MAGIC creates a conversation and stores all messages with timestamps
- Guest makes a reservation β LIKE MAGIC automatically links the conversation to their profile
- Your team sees the full conversation history alongside the reservation
sequenceDiagram
participant Guest
participant Your System
participant "LIKE MAGIC"
participant Staff
Guest->>Your System: 1: Chats via website / phone bot
Your System->>"LIKE MAGIC": 2: Push messages (phone or email identifier)
"LIKE MAGIC"->>"LIKE MAGIC": 3: Create conversation & store messages
Guest->>"LIKE MAGIC": 4: Makes a reservation (same phone/email)
"LIKE MAGIC"->>"LIKE MAGIC": 5: Auto-link conversation to guest profile
Staff->>"LIKE MAGIC": 6: View full conversation history
What You Get
A unified view of all guest communication regardless of origin:
- Automatic guest matching by phone number or email address
- Full conversation history visible to property staff before guest arrival
- Support for both website chat and phone call transcripts
- Chronological message ordering with original timestamps preserved
- Conversation retrieval by guest profile for complete communication history
Perfect For
- Hotels with website live chat widgets
- Properties using automated phone call systems or IVR
- Contact centers handling pre-booking inquiries
- Integration partners building omni-channel communication tools
Technical Details
Push Messages Endpoint
POST /api/unified-messaging-service/guest-conversations/messages
Required scope: guest.conversation.write
Send up to 100 messages per request. Each message includes:
- Guest identifier β phone number or email address to match the guest
- Platform β
PHONE_CALLorWEBSITE_CHAT - Direction β
SENT(from property) orRECEIVED(from guest) - Content β text or email format
- Timestamp β when the message was originally created
Messages are grouped by guest identifier. LIKE MAGIC creates or retrieves a conversation per guest and inserts messages in chronological order.
Read Endpoints
| Endpoint | Description | Required Scope |
|---|---|---|
GET /guest-conversations/{conversationId} |
Get a conversation by ID | guest.conversation.read |
GET /guest-conversations/{conversationId}/messages |
Paginated messages for a conversation | guest.conversation.read |
GET /guest-conversations/messages/{messageId} |
Get a single message | guest.conversation.read |
GET /guest-conversations/by-user-profile-id/{userProfileId} |
Conversations for a guest profile | guest.conversation.read |
Guest Identifier Types
| Type | Format | Example |
|---|---|---|
PHONENUMBER |
E.164 format | +41791234567 |
EMAILADDRESS |
Standard email | guest@example.com |
Supported Platforms
| Platform | Use Case |
|---|---|
WEBSITE_CHAT |
Website live chat widgets, chatbot conversations |
PHONE_CALL |
Phone call transcripts, IVR interactions, voice bot conversations |
Key APIs
- Unified Messaging API - Conversation and message management
Ready to build? See the Push Conversations guide for a step-by-step integration walkthrough, or explore the Unified Messaging API Live Docs for the full API reference.