Documentation Industry-specific Playtomic

Industry integration

Playtomic

Playtomic AI integration
  • CategoryIndustry
  • AuthAPI credentials + login

Overview

Connect Playtomic so the AI agent can check free padel courts, book them and handle open matches for players who message your club. You connect it from Connections > Integrations with the API credentials Playtomic issues for your club and the login of a Playtomic Manager account. You can also import your players as contacts and run campaigns when a player creates, joins, fills or leaves an open match through the AI agent.

What MessageMind can do with it

  • When a player asks for a court, the AI agent checks your Playtomic schedule at that moment and offers the free start times, court by court.
  • Players can ask the way they normally would: a day, an exact time, part of a day such as "after 7", or a few days in a row, for 30 to 120 minutes in 15-minute steps. If nothing is free at that time, the AI agent offers the nearest free times.
  • Once the player picks a time, the AI agent books the whole court for them in Playtomic, on a specific court if they ask for one by name. It uses the phone number on their contact and asks for one if there is none.
  • If the player isn't a customer of your club in Playtomic yet, the AI agent asks for their email (and their name, if their contact doesn't have it) and adds them as a club customer before it books.
  • The AI agent lists open matches that still have spots, with the match type, who can join, the level range and the players already in, each with their level.
  • A player can join an open match through the chat, alone or with up to two friends.
  • A player can also start a new open match as the organiser: competitive, or friendly with a level range, and open to all genders, men only, women only or mixed teams. They can bring up to three friends, and the AI agent can share the match link so others join on Playtomic.
  • When the last spot of an open match is filled through the chat, the court is reserved for that match in Playtomic.
  • If the phone number or email on a player's contact matches their Playtomic profile, the AI agent already sees their court bookings and open matches for the next 31 days. It can answer "what time is my match?" without asking who they are.
  • Players can cancel a court they booked, or leave an open match, through the chat.
  • With Sync Contacts turned on, your club's players are imported into Workspace > Contacts and kept up to date.
  • Four Playtomic triggers in Workspace > Campaigns run when a player creates an open match, joins one, fills one or leaves one through the AI agent.
  • Anyone who creates, joins or leaves an open match through the AI agent, friends included, is added to Workspace > Contacts if they aren't there yet.

Requirements

  • A MessageMind Starter, Professional or Enterprise plan.
  • A Client ID and Client Secret for the Playtomic API, which Playtomic issues for your club with API access.
  • Your club's ID in Playtomic, which Playtomic can give you. It goes in the Tenant ID field of the connect window.
  • Your club's slug, the name that identifies your club in its Playtomic web address.
  • Your club's time zone, written as Region/City, for example Europe/Madrid.
  • The email and password of a Playtomic Manager account with a manager role at your club. The AI agent makes its bookings through this account.

How to connect

  1. In MessageMind, open Connections > Integrations from the top bar.
  2. Click Industry-Specific in the left rail, or type Playtomic in the search box.
  3. Click Connect on the Playtomic row. The Connect Playtomic window opens.
  4. Paste your Playtomic API credentials into Client ID and Client Secret.
  5. Paste your club's Playtomic ID into Tenant ID.
  6. Type your club's slug into Club Slug.
  7. Type the club's time zone into the timezone field, for example Europe/Madrid or Europe/Rome.
  8. Enter the Playtomic Manager login in Email and Password. The eye button next to Password shows what you typed.
  9. Click Connect. MessageMind then checks the credentials and the manager login with Playtomic before saving anything, which can take a few seconds.
  10. The window closes and the Playtomic row shows a tick and a Disconnect button. The AI agent starts using Playtomic within 5 minutes.
  11. To import your players as contacts, click the gear button on the row, turn on Sync Contacts and click Save.

Authentication and permissions

Mechanism
You paste the Client ID and Client Secret Playtomic gave your club, add your club's details and enter the email and password of a Playtomic Manager account. When you click Connect, MessageMind checks the credentials and the login with Playtomic before saving them.
Credentials
Client ID and Client Secret from Playtomic, your club's Playtomic ID, Club Slug and timezone, and the Email and Password of a manager account at your club. Once saved, MessageMind keeps them hidden.

Available data and actions

Reads

  • Free padel court times at your club, court by court.
  • Your court names.
  • Times when a new open match can start.
  • Open matches with free spots: start time, court, match type, who can join, level range, and the players already in with their levels.
  • Your club's customers in Playtomic, looked up by the exact email or phone number on their profile.
  • A player's upcoming court bookings and open matches, over the next 31 days or on a day they ask about.
  • Your club's player list, when Sync Contacts is on.

Writes

  • Private court bookings for a player.
  • New club customers, with name, email and phone, when someone who isn't a customer yet books a court.
  • New open matches, with the player as organiser and any friends they bring.
  • Players added to existing open matches, on the team they ask for.
  • The court reservation for an open match once its last spot is filled through the chat.
  • Cancelled court bookings, and players taken off open matches.

AI agent use cases

  • A player on WhatsApp asks for a court tomorrow evening for 90 minutes. The AI agent lists the free start times and books the one they pick.
  • Someone wants to play but has no group. The AI agent shows that day's open matches with their level ranges and adds them to the one they choose.
  • A player wants a friendly match on Saturday morning for levels 2 to 3. The AI agent creates it and shares the link so other players can join on Playtomic.
  • A regular asks what time their match is on Thursday. Their reservations are already in front of the AI agent, so it answers straight away.
  • A player can't make it and asks to drop out. The AI agent takes them off the open match, and an Open Match Cancelled campaign lets you follow up.
  • A match fills up through the chat. An Open Match Successfully Closed campaign sends the player the date, time and match link on WhatsApp.

Configuration

  • Click the gear button on the Playtomic row in Connections > Integrations to open the Playtomic Settings page.
  • Sync Contacts is off when you first connect. Turn it on and click Save to import your club's players into Workspace > Contacts.
  • The first import starts as soon as you save. After that, MessageMind checks Playtomic about every 5 minutes for new and changed players.
  • Each player becomes a contact with their name, email, phone and date of birth. Their gender, Playtomic level, last registration date and Playtomic player ID are saved as contact fields.
  • Players who are already in your contacts are updated rather than added twice.
  • Marketing consent on each imported contact follows the player's choice in Playtomic.
  • Turning Sync Contacts off and clicking Save stops the checks. Contacts already imported stay in MessageMind.

Example workflows

A player books a court on WhatsApp

  1. A player writes: "Any court free tomorrow evening for 90 minutes?"
  2. The AI agent checks tomorrow evening in Playtomic and replies with the free start times for each court.
  3. The player picks 19:30. The AI agent already has their phone number from WhatsApp.
  4. If the player isn't a customer of your club in Playtomic yet, the AI agent asks for their email and adds them.
  5. The AI agent books the court in Playtomic and confirms the court, day and time in the chat.

A player and a friend join an open match

  1. A player asks: "Is there a match I can join on Saturday morning? I'm around level 3, and I'm bringing a friend."
  2. The AI agent lists Saturday morning's open matches that still have spots, with the level range and the players already in.
  3. The player picks one and gives the email their friend uses on Playtomic.
  4. The AI agent adds both of them to the match and sends the match link.
  5. If they took the last two spots, the court is reserved for the match and the Open Match Successfully Closed trigger runs.

Send match details when a match fills

  1. Open Workspace > Campaigns and click Create campaign.
  2. Click Add a Trigger and pick Open Match Successfully Closed from the Playtomic group.
  3. Add a Send WhatsApp Template step, pick an approved template and fill its variables with Match Date, Match Time and Match Link.
  4. From then on, when a join through the AI agent fills an open match, the campaign runs for the player whose join filled it.
  5. MessageMind finds that player among your contacts by email or phone, and adds them as a new contact if they aren't there yet.

Disconnect and reconnect

  • Open Connections > Integrations and click Disconnect on the Playtomic row. It happens straight away and shows "Integration Successfully Removed".
  • Within about 5 minutes the AI agent stops checking courts, booking and handling open matches. The player import and the Playtomic triggers stop too.
  • Your Playtomic details are removed from MessageMind. Players already imported stay in Workspace > Contacts, and bookings and matches in Playtomic stay as they are.
  • To reconnect, click Connect on the Playtomic row and enter all seven details again. Sync Contacts starts off again, so turn it back on if you use it.