Actions38
- Bookings Actions
- Customers Actions
- Agents Actions
- Services Actions
- Payments Actions
- Orders Actions
- Coupons Actions
- Locations Actions
- Availability Actions
Bookings → Bulk Create
AI-generatedSummary
Creates multiple LatePoint bookings in one request by POSTing a JSON array of booking objects to the REST API's /bookings/bulk endpoint.
Inputs
- Bookings JSON (required) — JSON array string of booking objects (default "[]"). Each object should include service_id, agent_id, start_date (YYYY-MM-DD), start_time (HH:MM) and customer details, e.g. a nested customer object with first_name, last_name, email. The node only checks that it parses as an array. It wraps the array as {"bookings": [...]} and does not check the fields inside each booking.
- Description — Free-text context for AI/agent use. The execute code never reads it, so it has no effect on the request.
Output shape
If the response has a data property, that value is returned as the item's JSON. Otherwise an array response becomes one item per element, and any other response is returned as a single item.
Invalid JSON or a non-array value throws an error starting 'Invalid JSON in bulk bookings'. With Continue On Fail enabled, the item outputs {error: message} instead. API errors from LatePoint are thrown or handled the same way. The node doesn't process per-booking results itself, so partial-failure details depend on what the API returns. The request is sent with a Bearer API key from the credentials. It runs once per input item.
Examples
Example 1: Import a batch of appointments from a spreadsheet into LatePoint.
Resource: Bookings, Operation: Bulk Create. Bookings JSON set to an expression such as {{ JSON.stringify($json.bookings) }}, where earlier nodes have built an array of objects with service_id, agent_id, start_date, start_time and customer.
Example 2: Book a single customer into several sessions at once.
Bookings JSON: [{"service_id":"1","agent_id":"1","start_date":"2024-01-15","start_time":"10:00","customer":{"first_name":"John","last_name":"Doe","email":"john@example.com"}}, ...] with one entry per session.