Complete check-in workflow: find/create customer, create ticket, add system info
I perform the full check-in workflow for a repair shop kiosk:
Use this when you need a single-call solution for a self-service check-in kiosk that:
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYAlso requires AI services for title generation and description formatting:
VITE_API_BASE_URLParameters:
customerEmail (string) - Customer's emailcustomerPhone (string) - Customer's phonecustomerName (string, optional) - Full name for new customersticketSubject (string) - Ticket subject (AI-generated if not provided)problemType (string) - Problem type/category (default: "Hardware")description (string) - Raw customer issue descriptionunitSerialNumber (string) - Device serial numberunitPin (string, optional) - Device PIN/passcodetechnicianId (integer) - User ID for ticket assignmenttechnicianName (string) - Technician name for commentsforceNew (boolean) - Skip search, always create new customerExample call:
const result = await skill({ name: "repairshopr-kiosk-checkin" }, {
customerEmail: "[email protected]",
customerPhone: "555-1234",
customerName: "John Doe",
description: "My laptop won't turn on, the power button doesn't respond.",
unitSerialNumber: "ABC123",
problemType: "Hardware",
technicianId: 131330,
technicianName: "Jesus Vargas"
})
Response includes:
customer - Customer record (created or found)ticket - Created ticketticketId - Ticket ID for referenceformattedDescription - The AI-formatted descriptioncustomer_id, subject, problem_type