Square

Stable

Square on WhatsApp — POS alerts, inventory sync, loyalty, and daily sales reports

Payments & Billing

What is Square?

Square powers POS hardware, in-person and online payments, inventory, loyalty, and e-commerce for millions of small businesses. The LunoGen Square integration uses Square's APIs and webhooks so your AI agent can react to sales in real time, sync inventory between your POS and online store, and deliver daily reports directly to WhatsApp.

Why connect Square?

Most Square merchants run the POS all day and log into the dashboard at night to check numbers. LunoGen flips that: the numbers come to you. You see every in-store sale, catch inventory drift between online and POS before it causes stockouts, and wake up to a clean daily summary instead of hunting through reports.

What you can do

  • Real-time in-store sale alerts via Square webhooks
  • Inventory sync between Square Online and Square POS
  • Daily POS report with totals by location and employee
  • Loyalty program event tracking (earn, redeem, tier change)
  • Refund processing through the Refunds API
  • Customer lookup with purchase history and loyalty balance
  • Team member sales tracking for commission payout
  • Catalog updates (items, variations, modifiers, taxes)
  • Low-stock alerts per location
  • Invoice creation and follow-up
  • Multi-location support

Setup

Requirements

  • A Square account with at least one active location
  • Access to the Square Developer Dashboard
  • A LunoGen account with the Pro plan or higher
  1. 1

    Create a Square application

    In the Square Developer Dashboard click Create Application → Name it 'LunoGen Agent'. Open the app and switch to Production mode.

  2. 2

    Authorize with OAuth

    From the LunoGen Square integration page click Connect Square. You'll be redirected through Square's OAuth flow to grant scopes for PAYMENTS_READ/WRITE, INVENTORY_READ/WRITE, ORDERS_READ/WRITE, CUSTOMERS_READ, and LOYALTY_READ.

  3. 3

    Register webhooks

    In your Square app under Webhooks → Add Subscription, set the URL to the LunoGen webhook endpoint and subscribe to payment.created, refund.created, inventory.count.updated, and loyalty.event.created.

  4. 4

    Select locations

    If you run multiple Square locations, pick which ones the agent should watch in the LunoGen dashboard. You can route alerts to different WhatsApp groups per location.

Square use cases

6 total

Related integrations

Ready to connect Square?

Spin up an AI agent in under 2 minutes, plug in your Square credentials, and start running your workflows from WhatsApp.