Skip to content

Every 10 minutes

Get Slack alerts for new Wix bookings

Shortly after a client books, Slack shows the service, time and their name.

Runs
Every 10 minutes
Apps
Wix
AI
Not needed
Access
Read Bookings including participants (SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE)

Send this to your assistant

Create a ClickRuntime automation: every 10 minutes, check Wix Bookings for new bookings and post the service, start time and client name to #bookings in Slack.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

Someone books a session on a Wix site, a haircut, a consultation or a yoga class, and the owner finds out when they next open the Wix dashboard, or when the client turns up. For a business with several staff members, the booking may be for someone who has no idea it exists. Prepping for a session, such as a first-time client who needs a form, gets skipped because nobody saw the notice.

Every ten minutes the automation queries Wix Bookings for bookings created since its last check, skips any it has already reported, and posts each one to Slack with the service, the start time and the client's contact details. The practitioner sees it on their phone within minutes.

It is a good match for service businesses with more than one person delivering sessions.

What you get out of it

  • Practitioners hear about their own bookings

    The person delivering the session sees it in Slack without logging into Wix, which helps when only the owner has access to the booking calendar. That matters most for owners who run a calendar but do not deliver every session themselves.

  • Time to prepare for new clients

    A booking for tomorrow morning is a prompt to send an intake form or to set out materials, which would be missed if the booking was only seen on arrival.

  • Fewer calendar clashes

    When bookings are visible to everyone right away, a staff member can spot a conflict with their personal appointments and raise it while there is time to rebook. A client who booked the wrong day can also be spotted and corrected quickly.

  • Contact details at hand

    The message includes the client's contact information, so you can reach out quickly with directions or a reminder about parking, instead of looking them up. That is useful for last-minute notes, such as where to meet.

  • A running view of demand

    A glance at the channel shows how busy the week is going, which informs whether to open more slots or promote a quiet day. The numbers guide when to run a promotion or add a class, which keeps your calendar from emptying unnoticed.

How it works

What happens, step by step

  1. Every 10 minutes, ClickRuntime checks Wix Bookings for appointments booked since the last check.

  2. It skips any booking it has already posted.

  3. Each new booking goes to your #bookings Slack channel with the service, the date and time, and the customer's name.

Before it runs live

  • Connect Wix

What you get

RunsEvery 10 minutes
Get Slack alerts for new Wix bookingstoday, 9:00Succeeded
Slack · #bookingsNew booking: *60-min deep tissue massage* on Thu 23 Oct, 15:00 UTC with Dana Fox

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Wix steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
new_booking_alert_wix.pyexample
from datetime import datetime, timezone
from clickruntime import on_trigger, credentials, http, state, notify, report_fetched

SITE_ID = "your-site-id"

@on_trigger
def run(event):
    since = state.get("since") or datetime.now(timezone.utc).isoformat()
    resp = http.post("https://www.wixapis.com/bookings/bookings-reader/v2/extended-bookings/query",
                     headers={"Authorization": credentials.secret("WIX_API_KEY"), "wix-site-id": SITE_ID},
                     json={"query": {"filter": {"createdDate": {"$gt": since}},
                                     "sort": [{"fieldName": "createdDate", "order": "ASC"}]}})
    resp.raise_for_status()
    seen = set(state.get("seen") or [])
    bookings = [b["booking"] for b in resp.json().get("extendedBookings", []) if b["booking"]["id"] not in seen]
    report_fetched(len(bookings))
    if not bookings:
        return {"new": 0}
    for b in bookings:
        c = b.get("contactDetails") or {}
        start = datetime.fromisoformat(b["startDate"].replace("Z", "+00:00"))
        notify.slack(f"New booking: *{b['bookedEntity']['title']}* on {start:%a %d %b, %H:%M} UTC "
                     f"with {c.get('firstName', '')} {c.get('lastName', '')}", channel="#bookings")
    state.set("seen", (list(seen) + [b["id"] for b in bookings])[-500:])
    state.set("since", bookings[-1]["createdDate"])
    return {"new": len(bookings)}

FAQ

Common questions

Does it include bookings that clients later cancel?
The alert is sent when a booking is created. A cancellation is a separate event and is not reported here. If you want cancellations announced as well, ask your AI assistant to add a second check.
What if two people book the same minute?
Both appear in the same run, as two separate Slack messages. Each booking has its own ID, so none is skipped, and none is reported twice on the next check. Nothing is dropped when they overlap.
Do I need a particular Wix plan?
Wix Bookings is a Wix app that needs a Premium plan to take payments and use some features. The automation reads bookings through the Wix API, so the app has to be installed and in use on your site.
What permissions does it need?
Read Bookings including participants (SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE). Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it checks. Checks that find nothing new and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Get Slack alerts for new Wix bookings” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.