Docs
Square Integration
Square Integration
How FrontdeQ connects to Square and what data it uses.
FrontdeQ integrates with Square to read your business data and create bookings on behalf of callers. This page explains what the integration does and what permissions it needs.
Connecting Square
During setup, you'll be asked to connect your Square account via OAuth. This is the standard Square authorization flow. FrontdeQ requests these permissions:
- Read your catalog (services, prices, durations)
- Read your team (stylists, their schedules, booking profiles)
- Read and write bookings (check availability, create and update appointments)
- Read customers (look up callers by phone number or email)
- Create customers (register new callers who don't exist in Square yet)
Your Square credentials are encrypted at rest and never shared.
What the AI Reads
On every inbound call, the AI may query:
| API | Purpose |
|---|---|
| Locations | Get your salon's address, hours, and timezone |
| Catalog | List your services with prices and durations |
| Team Member Booking Profiles | List bookable stylists and their availability |
| Bookings | Search availability, create/update/retrieve appointments |
| Customers | Look up callers by phone number, create new customer records |
Booking Flow
- Caller requests a service and time
- AI calls
searchAvailabilitywith the service, stylist, and date range - AI presents available slots to the caller
- Caller confirms
- AI calls
createBookingwith the selected slot, service, stylist, and customer ID - Booking appears in your Square calendar immediately
Rescheduling
- AI looks up the caller's existing bookings via
listBookings - Caller specifies the new time
- AI checks availability for the new slot
- AI calls
updateBookingwith the new start time - Square calendar updates instantly
Security
- OAuth tokens are encrypted with AES-256 before storage
- Tokens are automatically refreshed when they expire
- Each organization has isolated credentials (multi-tenant)
- You can revoke access anytime from your Square Developer Dashboard