Get StartedWelcome

Squire Documentation

Squire is an AI-powered customer support platform that helps e-commerce teams automate support workflows safely. Connect your inbox and Shopify store, and Squire handles everything from order tracking to damage claims — with full human oversight.

Live demo
Inbox
0
M
Mia L.2m

Order #10321: tracking?

Auto
S
Sam R.12m

Damaged on arrival

Review
A
Ava G.42m

Return window question

Auto
View all conversations

Quick Start

Go from zero to live support automation in four steps. The entire setup takes under 10 minutes — no engineering work required.

Step 1: Connect Integrations

Head to the Integrations page in your Squire dashboard. Connect your support email (Gmail or Outlook) via OAuth, then link your Shopify store. Squire syncs your inbox threads and pulls order + customer context automatically.

Integration setup
Gmail
Shopify
Sync statusLive

Step 2: Build Your Knowledge Base

Navigate to Knowledge and add your company policies, FAQs, and product information. Squire uses PostgreSQL full-text search to retrieve the right context for each customer question. You can also enable Shopify auto-sync to automatically import product listings and policies.

Note
The knowledge base returns results in { id, title, body } format. Squire injects the most relevant entries into the AI's context window before drafting a reply.

Step 3: Enable Instructions

Open the Instructions page to enable your automation workflows. Squire ships with pre-built workflows for common support scenarios — order tracking, damage claims, general queries, and more. Toggle each workflow on, choose whether it requires human review, and click Manage to fine-tune safeguards.

Instructions

Workflows

Where is my order

Automatically respond with tracking updates.

Enabled
Review
Manage
Order Damaged

Handle damage claims with the right next steps.

Enabled
Review
Manage
General Query

Answer common questions using your knowledge base and policies.

Enabled
Review
Manage

Each workflow handles the full pipeline automatically — order extraction, Shopify lookup, carrier tracking, knowledge base search, and response drafting. No custom rules or coding required.

Step 4: Go Live

Start in Review Mode — Squire processes every email and drafts replies, but nothing sends without human approval. Once you're confident, enable Autopilot on specific workflow categories (like order tracking) while keeping high-stakes actions under review.

Review Mode flow
Squire draft

Your tracking shows the package is in transit and expected to arrive tomorrow. I'll keep monitoring it for you.

Pending review

Squire drafted a reply — waiting for human approval before sending.

Core Concepts

Squire's architecture is built around a two-stage AI routing pipeline that maps every inbound message to a domain, sub-intent, and workflow — then executes the appropriate action with configurable safety layers.

AI Router

Two-stage LLM pipeline: structured extraction (intent, order info, sentiment) followed by taxonomy-based routing that maps to domains and sub-intents.

Instructions

Pre-built workflows for common support scenarios. Enable what you need, toggle review mode, and configure safeguards — no custom rules required.

Safety Layers

Three independent modes — Manual, Review, and Autopilot — plus confidence thresholds, sandbox mode, and per-workflow override rules.

Knowledge Base

Full-text search over your policies, FAQs, and product info. Shopify auto-sync keeps product data fresh without manual updates.

Unified Inbox

Every customer conversation lives in a single, prioritized view. The inbox surfaces new messages, shows automation status (auto-ready vs. needs review), and provides one-click actions for common operations like archiving, replying, and escalating.

Each thread includes contextual pills showing order info, tracking status, and related conversations with the same customer — so your team has full context without switching tabs.

Inbox preview
Inbox
0
M
Mia L.2m

Order #10321: tracking?

Auto
S
Sam R.12m

Damaged on arrival

Review
A
Ava G.42m

Return window question

Auto
View all conversations

Key capabilities

  • Multi-channel support: email, Shopify storefront chat, Instagram DMs, Facebook Messenger
  • Real-time updates via SSE (PostgreSQL NOTIFY/LISTEN)
  • Order and tracking pills with live carrier data
  • Related conversation grouping by customer identity
  • Quick actions: archive, mark unread, assign, escalate

AI Email Routing

Squire uses a two-stage LLM router to classify every inbound email. First, the extraction stage pulls structured data (intent, order numbers, sentiment). Then the domain router matches against a configurable taxonomy to select the right workflow and tools.

Routing pipeline
Inbound email
Extract intent
Match domain
Select workflow
Draft reply

Supported Domains

shipping_delivery

WISMO (Where Is My Order), tracking updates, delivery ETAs

Tool: wismo_handler
delivery_issues

Damaged items, missing packages, wrong item received

Tool: damage_handler
pre_purchase

Product questions, policy inquiries, sizing help

Tool: info_handler
general_other

Store hours, contact info, out-of-scope queries

Tool: info_handler / manual_review

Thought Trail

Every automated response includes a transparent “thought trail” — a step-by-step log of what Squire did: order extraction, Shopify lookup, carrier tracking, knowledge base search, and the reasoning behind the final draft.

Thought trail
Identified order #10321
Found Shopify order (fulfilled, paid)
Carrier tracking: in transit
Drafted tracking update reply

Knowledge Base

The knowledge base is where Squire learns your brand voice, policies, and product catalog. It uses PostgreSQL full-text search to find the most relevant entries for each customer query, injecting them into the AI context before generating a response.

Content types

Manual entries

Add FAQs, policies, and procedures directly in the dashboard.

Shopify auto-sync

Product listings, collections, and store policies imported automatically.

Policy documents

Upload your return, warranty, and shipping policies for AI reference.

Note
Knowledge base entries return body (not content). Make sure your custom integrations use the correct field name when querying the KB API.

Instructions

Instructions are pre-built workflows that govern how Squire handles each type of support ticket. Enable the ones you need, toggle Review to require human approval before sending, and click Manage to configure safeguards and fine-tune behavior.

Instructions

Workflows

Where is my order

Automatically respond with tracking updates.

Enabled
Review
Manage
Order Damaged

Handle damage claims with the right next steps.

Enabled
Review
Manage
General Query

Answer common questions using your knowledge base and policies.

Enabled
Review
Manage

Built-in workflows

Where is my order

Tracks orders via Shopify + carrier APIs and replies with live tracking updates.

Order Damaged

Handles damage claims with photo analysis, order verification, and next-step recommendations.

General Query

Answers product questions, policy inquiries, and FAQs using your knowledge base.

More coming soon

Subscription management, returns, and additional workflows are on the roadmap.

Note
Each workflow runs the full AI pipeline automatically — intent extraction, order lookup, tracking retrieval, knowledge base search, and response drafting. No custom rules or coding required.

Gmail Integration

Connect your support Gmail account via OAuth 2.0. Squire uses Gmail push notifications (Pub/Sub) for real-time email ingestion — new messages are processed within seconds of arriving in your inbox.

How it works

  1. 1

    OAuth Authorization

    Click “Connect Gmail” in the Integrations page. Squire requests read/send permissions and stores an OAuth refresh token for persistent access.
  2. 2

    Push Notifications

    Gmail sends webhook notifications to Squire whenever a new email arrives. The webhook enqueues a durable job for reliable processing.
  3. 3

    Processing Pipeline

    The worker picks up each email, runs it through the AI router, executes the matched workflow, and (depending on your safety settings) either drafts a reply for review or sends automatically.
Note
Squire also supports Microsoft 365 / Outlook via Microsoft Graph webhooks. The setup flow is identical — connect via OAuth, and push notifications handle the rest.

Shopify Integration

Connecting Shopify gives Squire access to your order data, customer profiles, and product catalog. This context powers automated responses — when a customer asks about their order, Squire already knows the fulfillment status, tracking number, and shipping timeline.

Capabilities

  • Automatic order lookup by order number or customer email
  • Real-time fulfillment and tracking status via carrier APIs
  • Product catalog sync for knowledge base (auto-sync)
  • Storefront chat widget via theme app extension
  • Refund and replacement actions (with review gate)

More Channels

Beyond email, Squire supports multiple customer communication channels through a unified pipeline. Every channel feeds into the same inbox, routing engine, and workflow system.

Facebook Messenger

Handle customer messages from your Facebook page directly in Squire.

Instagram DMs

Respond to Instagram direct messages with AI-powered drafts.

Shopify Chat

Storefront chat widget embedded in your Shopify theme.

IMAP/SMTP

Connect any email provider that supports standard IMAP/SMTP protocols.

Review Mode

Review Mode is the recommended starting configuration. Squire processes every email through the full AI pipeline — routing, context gathering, and draft generation — but nothing sends without explicit human approval.

Review Mode in action
Squire draft

Your tracking shows the package is in transit and expected to arrive tomorrow. I'll keep monitoring it for you.

Pending review

Squire drafted a reply — waiting for human approval before sending.

Your team sees each draft in the inbox with a “Pending Review” badge. One click to approve and send, or edit the draft before sending. This gives you full confidence in Squire's output before enabling any automatic sending.

When to use Review Mode

  • 1.Day one setup — validate Squire's responses match your brand voice
  • 2.High-stakes workflows — refunds, replacements, and escalations
  • 3.New workflow categories — test automation accuracy before going fully automatic

Autopilot

Autopilot enables fully automatic responses for workflows where you trust Squire's accuracy. When enabled, Squire processes the email, generates a reply, and sends it directly — no human in the loop.

You can enable Autopilot selectively per workflow category. For example, enable it for order tracking (high accuracy, low risk) while keeping refunds and replacements in Review Mode.

Autopilot controls

Confidence threshold0.85

Squire only auto-sends when the routing confidence exceeds your configured threshold. Below-threshold emails fall back to Review Mode.

Note
Autopilot respects all safety layers — sandbox mode, per-workflow overrides, and confidence thresholds still apply. Think of it as “trusted auto-send” rather than “unguarded automation.”

Safeguards

Squire includes multiple independent safety layers that work together to prevent mistakes:

Manual Mode

Completely bypasses the AI router. All emails are set to pending with no automated processing. Use during initial setup or when investigating issues.

Review Mode

Full AI pipeline runs, but all replies require human approval before sending. The recommended default for most workflows.

Sandbox Mode

The executor suppresses all external side-effects (emails, Shopify mutations) while still running the full pipeline. Perfect for testing.

Confidence Threshold

Routes below the configured confidence threshold (default 0.7) automatically fall back to manual review, regardless of Autopilot settings.