submit_service_request
Creates a Premrest quote, preferred-date booking or urgent flood response enquiry in the private staff queue and sends it to the website Formspree inbox with the configured AI integration source. Submitting an enquiry requests contact from Premrest about that enquiry. urgent_flood requests use flood-restoration and do not require a preferred date. Returns a request reference, delivery status and call/text contact options. Repeated identical requests with the same idempotency_key return the original reference without duplicate delivery. Does not confirm dispatch, arrival time, price or booking and does not process payments. Photo inputs are optional customer-provided HTTPS links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Customer contact email | ||
| phone | Yes | Customer phone number | |
| address | Yes | Job street address, suburb, state and postcode | |
| company | No | Optional company name | |
| details | Yes | Floor type, condition, work required and access requirements. For slippery floors, include wet/dry conditions, contamination or existing coatings and any slip-test findings if known; do not require a brand or report. For flooding, include what happened, when it started, affected areas and any known access hazards; never ask the customer to enter an unsafe area | |
| service | Yes | Use non-slip-coatings for slippery-floor assessments, anti-slip coatings or tile etching enquiries. The customer does not need to select a product or treatment. | |
| area_sqm | No | Approximate area if known; omit if unknown | |
| photo_urls | No | Optional customer-provided HTTPS links. Images are not fetched; chat attachments are not automatically transferred. | |
| request_type | Yes | Use urgent_flood for an immediate flooding issue; no preferred date is required | |
| customer_name | Yes | Customer full name | |
| property_type | Yes | Office, retail, hotel, school, or other property type | |
| preferred_date | No | YYYY-MM-DD in Melbourne time. Required for bookings. A preference only. | |
| preferred_time | No | Optional preferred time or time window | |
| idempotency_key | Yes | Generate a unique key for this request; reuse it for retries only |