- CategoryBookings
- AuthAPI key
Overview
Connect Amelia so your AI agent can check free times for your Amelia services and book appointments for customers during a conversation. You type the domain of the WordPress site where Amelia runs, paste an Amelia API key, then pick the services the AI agent may book. New appointments show up in Amelia like any other booking, with payment taken on site.
What MessageMind can do with it
- Check free times for a selected Amelia service on a given day, at a specific time, or across a range of dates.
- When the time a customer asks for is taken, offer the nearest free times before and after it.
- Book the appointment once the customer has picked a time and given their name, email address and phone number.
- Ask the custom field questions you set up in Amelia for that service, and save the answers on the appointment.
- Give the appointment to an Amelia employee who is free at that time.
Requirements
- A MessageMind Professional or Enterprise plan.
- An Amelia Elite licence. Elite includes the Amelia API, which you need for the API key.
- A WordPress site with Amelia installed, served over https at its own domain or subdomain.
- At least one Amelia service with an employee assigned to it.
How to connect
- In your WordPress admin, open Amelia > Features & Integrations. In the Features section, turn on API, then click Set up.
- Choose how long the key stays valid and click Generate. Copy the key, then click Save.
- In MessageMind, open Connections > Integrations. Click Bookings in the left rail, or type Amelia in the search box.
- Click Connect on the Amelia row. The Connect Amelia window opens.
- In Store Domain, type only your site's domain, for example example.com. Leave out https://, www and any page path.
- Paste the key into API Key and click Connect.
- Wait for your Amelia services to load. The window then says "Select one or more event types you want your AI Agent to manage."
- Click Select Events and tick each service the AI agent should book.
- Click Connect. You see "Integration Connected!", the window closes and Amelia moves to the top of the list with a tick next to it.
- Try a booking in AI Lab > AI Sandbox.
Authentication and permissions
- Mechanism
- You type your WordPress site's domain and paste an Amelia API key into the Connect Amelia window.
- Credentials
- The domain of the WordPress site where Amelia is installed, typed into Store Domain, and an API key you generate in your WordPress admin under Amelia > Features & Integrations > API, pasted into API Key.
Available data and actions
Reads
- The list of your Amelia services, shown under Select Events when you connect.
- The custom fields assigned to each selected service.
- Free times for the selected services, and which employees are free at each time.
Writes
- New appointments for the selected services, with the customer's first and last name, email address and phone number.
- The customer's answers to the custom fields of the booked service.
- Payment on each new appointment is set to on site, so customers pay at the appointment.
- Amelia sends its usual notifications for these appointments, following your Amelia notification settings.
AI agent use cases
- A customer on WhatsApp asks if you have anything on Saturday morning. The AI agent checks Saturday for that service and lists the free times.
- Someone asks for 16:00 but that slot is gone. The AI agent suggests the nearest free times before and after it.
- Your service has a required custom field in Amelia, such as the reason for the visit. The AI agent asks it before booking, and the answer is saved on the appointment.
Example workflows
A customer books an appointment in chat
- A customer writes on Instagram asking for a massage next week.
- The AI agent checks the free times for your massage service in Amelia and suggests a few.
- The customer picks Wednesday at 11:00.
- The AI agent asks for their first and last name, email and phone number, plus any required custom fields for that service.
- The AI agent books the appointment with an employee who is free at 11:00 and confirms the date and time in the chat.
- The appointment appears in Amelia and Amelia sends its notifications as usual. The customer pays at the appointment.
Adding a new service for the AI agent
- Create the service in Amelia.
- In MessageMind, open Connections > Integrations and click Disconnect on the Amelia row.
- Open Connections > Integrations again and click Connect on the Amelia row.
- Enter your Store Domain and API Key again and click Connect.
- Tick the services you want under Select Events, including the new one, and click Connect.
Disconnect and reconnect
- Open Connections > Integrations and click Disconnect on the Amelia row. You see "Integration Successfully Removed".
- MessageMind forgets the domain, API key and selected services.
- Appointments already booked stay in Amelia.
- To connect again, open Connections > Integrations, click Connect and follow the connection steps.
- To also block access from Amelia's side, delete the API key in Amelia > Features & Integrations > API.