Prepare customer groups as campaigns are approved
When a campaign is ready in Sanity, have Notis create its Square customer group so the audience has a clear place to be organized.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Create Customer Group
Tool to create a new customer group for a business. Use when you need to organize customers into groups for targeted marketing or segmentation.
Why this helps
Campaign setup often leaves a trail of small admin tasks that compete with writing and launch work.
- Create a dedicated Square group as campaigns are prepared.
- Reduce launch-day administrative setup.
- Keep campaign organization consistent.
Setup
Build it in a few focused steps.
- 1Connect Sanity and Square to Notis once through the portal.
- 2Create an automation in the portal or ask Notis conversationally.
- 3Tell Notis in one instruction to create a Square customer group when a campaign audience is approved and signaled from Sanity.
- 4Select an incoming webhook trigger and choose a channel for run reports.
- 5Send one real campaign approval signal and confirm the new Square group.
Questions about this workflow
Does this add customers to the new group?
No. This workflow creates a group; adding customers requires a separate group action.
How does Notis hear about campaign approval?
A backend or external tool sends a request to the Notis webhook when the campaign audience is approved.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Sanity to Square. A trigger fires from one place; an action lands in another.
Sanity triggers
Square actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Accept Dispute
Accept a dispute and acknowledge liability, returning funds to the cardholder. When you accept a dispute, Square debits the disputed amount from your account and updates the dispute state to ACCEPTED. This action is irreversible - once accepted, a dispute cannot be challenged. Only use after reviewing all evidence and determining that challenging the dispute is not viable. Note: Requires DISPUTES_WRITE permission scope.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Add Group to Customer
Tool to add a customer to a customer group. Use when you need to associate a customer with a specific group for targeted marketing, loyalty programs, or customer segmentation.
Calculate Order
Tool to preview order pricing without creating an order. Use when you need to calculate the total cost, taxes, discounts, and other pricing details for an order before finalizing it. Particularly useful for integrating rewards, discounts, and complex pricing scenarios.
Cancel Booking
Cancels an existing Square booking, terminating the reservation. Use this action when a customer or seller needs to cancel a scheduled appointment. The booking must be in a cancellable state, and the cancellation will update the booking status accordingly. This action is irreversible - once a booking is cancelled, it cannot be restored and must be rebooked if needed. Use the booking_version parameter to ensure safe concurrent updates.
Cancel Invoice
Cancels a Square invoice, preventing further payments from being collected. Requirements: - Invoice must be in SCHEDULED, UNPAID, or PARTIALLY_PAID state - Cannot cancel invoices in DRAFT state or terminal states (PAID, REFUNDED, CANCELED, FAILED) - Requires INVOICES_WRITE and ORDERS_WRITE OAuth scopes - Version number must match the current invoice version to prevent conflicts After cancellation, the associated order status is set to CANCELED and webhook events are triggered.
Cancel Payment
Cancels (voids) a payment that is in APPROVED status. This is typically used in delayed capture scenarios where a payment was authorized but not yet captured, allowing you to void the authorization before settlement. Important: Only payments with APPROVED status can be canceled. Attempting to cancel a payment in any other status (COMPLETED, PENDING, CANCELED, FAILED) will result in an error. Once canceled, the payment status changes to CANCELED and the card details status changes to VOIDED. Required permissions: PAYMENTS_WRITE
Batch Create Inventory Changes
Applies multiple inventory adjustments and physical counts in a single batch request. Returns the created changes and current inventory counts for all affected items. Use this action when you need to update inventory quantities for multiple items or locations at once, either through physical stock counts or adjustments (e.g., receiving stock, recording waste, or correcting discrepancies). Supports up to 100 inventory changes per request. Each change can be either a PHYSICAL_COUNT (setting absolute quantity) or an ADJUSTMENT (modifying quantity with state transitions). The ignore_unchanged_counts parameter controls whether calculated counts are returned in the response.
Create Bulk Customers
Tool to create multiple customer profiles in a single request. Use when you need to efficiently create up to 100 customers at once. Each customer is identified by a unique idempotency key.
Connect any two apps with Notis in the middle.
Sanity and Square, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Square.