# Importing data

> Bring bookings, customers, vouchers and bundles across from Acuity, Bookwhen, Periode and others.

Who can do this: admins only.

Import a spreadsheet as **Bookings** (past and future), **Gift vouchers** and **Bundles** (codes with their balance), or **Customers** (a mailing list with consent). For the whole switch in order, see [switch to Session](/docs/switching-to-session).

Customers have no login until they sign up at `bookasession.org/your-link/welcome` with the **same email** on file, which links their bookings. Credits and codes work either way.

## Members

**We move member lists for you** - send us a message. Members arrive inactive and pay nothing on reactivating until their old renewal date; their credits apply automatically. Tell us who cancels the old subscriptions, you or each member - members are told the same.

Track them under **Imported members** on [Customers](/go/admin/users); they move into **Members** as they re-subscribe.

## Before you start

<Callout variant="warning">
**Import on the day you switch over, once your old system has stopped selling.** Anything sold in between is missed, and a second import skips existing codes instead of refreshing balances (to redo one, see [troubleshooting](#troubleshooting)). It's a one-off copy, so [stop customers changing bookings there](/docs/switching-to-session#on-switch-day).
</Callout>

**Create first:** your **sessions** (required, so bookings link up), **membership tiers** if members are coming across, and optionally **bundle products** (without one, packs arrive as unrestricted credits).

**Export** as CSV, TSV or XLSX, with headers in the first row and **an email on every row**, up to 25 MB and 50,000 rows. From **Periode**, [send us your exports](/docs/switching-to-session#from-periode) instead.

## Exporting from Acuity

### Appointments (bookings and customers)

<Steps>
<Step>**Export** your appointments from **Reports**, covering the history you want plus everything upcoming.</Step>
<Step>Include **Email**, **Type**, **Start time**, **Price**, **Amount paid**, **Appointment ID**, **Scheduled by** and the **status** column (sometimes called Canceled), and import it as **Bookings**.</Step>
</Steps>

<Callout variant="tip" title="Cancelled appointments">
Map **status** and mark which values mean cancelled: those appointments are skipped, their customers still added.
</Callout>

### Clients (a mailing list on its own)

For contacts who never booked, export from **Clients** → **Import / Export** → **Export** and import it as **Customers**.

<Callout variant="warning">
If your intake form asked about marketing, map that column as consent. Otherwise add one or import everyone as **Not asked**.
</Callout>

<span id="gift-certificates-and-packages-fill-these-by-hand" />

### Gift certificates and packages (build the list yourself)

Acuity can't export these balances, so either:

- **Send us** a screenshot of Acuity's **Gift Certificates** and **Packages** screens and we'll build the file, or
- **Build a spreadsheet** with one row each: **code**, customer **email**, **product** (its full size, such as "Gift voucher - £50"), **remaining value** or **sessions** (plus **sessions total** for packages), and **expiry date**. Import it all at once as **Gift vouchers** or **Bundles** - map **Code** so existing codes keep working.

## Exporting from Wix

<Steps>
<Step>**Bookings:** export Wix's **Booking List** as a CSV - scroll to the end first so every booking loads. Send it to us if its columns don't map.</Step>
<Step>**Contacts:** export Wix **Contacts** as a CSV.</Step>
<Step>**Pricing Plans** members re-subscribe on Session - see [members](#members). Package balances and gift cards come across from a spreadsheet, like [Acuity's](#gift-certificates-and-packages-build-the-list-yourself).</Step>
</Steps>

## Exporting from Bookwhen

Export **Attendances** (not Bookings, which has no session times) as a CSV. Each booking goes to the person who booked, with guests as extra spaces and Bookwhen's fee in the amount paid. Give private tickets your **private** price.

## Running an import

<Steps>
<Step>**Upload** your file under [Settings → Data](/go/admin/settings/data) and confirm the type Session detected.</Step>
<Step>**Map your columns**, date format and fallback timezone.</Step>
<Step>**Review what was found** - link session times and past appointment types to your sessions, pick a price for each type, and optionally link bundles to a product.</Step>
<Step>**Confirm and run**, optionally emailing booking customers from a chosen date forward. Results list failed rows to fix and re-upload, and the welcome link.</Step>
</Steps>

## Column guide

Prices (£15.00, 15,00 €, 1,234.56) and phone numbers are understood in any common format.

- **Bookings** - Type, Start time, Appointment price and **Amount Paid Online** (not the yes/no Paid? column). **External ID** and **Status** are recommended. Time in its own column? Map it to **Start time** and the date to **Date**. Rows with the same email, type and start time merge into one booking with that many spaces. Pick each type's price; a **private** price books the whole session. Staff-made appointments (an email in **Scheduled by**) show as **Added by staff**. Refund imported money in your old system - cancelling here only records it. A booking paid with an imported gift certificate or package is linked to its code once both are imported, so cancelling puts the value back (a certificate needs the booking's **Appointment price**, or add it back by hand).
- **Gift vouchers** - Products, on every row, gives the session count or value ("Gift Voucher - 5 Sessions"). Add **Remaining balance** and **Status** if any are used, or all import at full value. Missing codes are generated. **Expiry date** is kept (blank = Order date + 12 months). Used, expired, unreadable or product-less rows are left out.
- **Bundles** - one row per package: Package name, Sessions total, optionally Sessions remaining, **Status** and dates. Used or incomplete rows are left out.
- **Customers** - optional names, Phone and Marketing consent (each value mapped to opted in, opted out, not asked or undeliverable; unmapped is **Not asked**). Anyone unsubscribed in Session stays so (**Kept opted out**).

**Re-uploading is safe**: existing bookings, codes and External IDs are skipped and customers match by email. If one **code is on two rows**, the others get a generated code.

## Troubleshooting

1. **"File has no recognisable header row".** Row 1 must be column names.

2. **"Row N: no email address".** It has no email or External ID.

3. **"Could not parse start time", or every booking at 00:00.** Re-check the date format and the **Date** field.

4. **"Found 0 vouchers".** Check **Left out of this import**.

5. **A customer can't see their bookings.** They used a different email from your export - message us to merge the accounts.

6. **A booking I'd already cancelled came across as live.** Its status column wasn't mapped. Switch the **Booking cancelled** email off under [Settings → Notifications](/go/admin/settings/notifications), cancel it with a refund amount of 0, then switch the email back on.

7. **A code import went wrong.** Tick its unused codes on their Offers page, choose **Delete imported**, then re-upload.
