Actions38
- Bookings Actions
- Customers Actions
- Agents Actions
- Services Actions
- Payments Actions
- Orders Actions
- Coupons Actions
- Locations Actions
- Availability Actions
Customers → Create
AI-generatedSummary
Creates a new customer in LatePoint by sending a POST request to the REST API's /customers endpoint, with first and last name required and optional email and phone.
Inputs
- First Name (required) — Customer's first name (customerFirstName). Sent as first_name and overrides any first_name in Additional Fields. Defaults to a $fromAI expression for AI tool use.
- Last Name (required) — Customer's last name (customerLastName). Sent as last_name and overrides any last_name in Additional Fields.
- Additional Fields — Collection of optional customer fields: First Name, Last Name, Email, Phone. Email, if provided, must be valid and unique per the field description. Ignored when Send Body is on. Note that the defaults for these fields are $fromAI expressions.
- Send Body — When true, the request body is taken entirely from the JSON Body or Form Data parameters instead of the individual fields. The First Name, Last Name and Additional Fields values are then not used.
- Body Content Type — Shown when Send Body is on. Choose JSON or Form Data. Both are parsed into a JSON object before sending.
- JSON Body — Raw JSON object used as the request body (when Send Body is on and the type is JSON). Invalid JSON throws an error.
- Form Data — Name/value pairs assembled into a body object (when Send Body is on and the type is Form Data).
- Description — Free-text prompt or context for AI use. It is not sent to the API.
Output shape
One item per input item, containing the created customer record. This is the data field of the API response if present, otherwise the full response body.
Requires the restApiLatepointApi credential (base URL and API key, sent as a Bearer token). With Continue On Fail enabled, a failed request returns an item with an
errormessage instead of stopping the workflow.
Examples
Example 1: Add a new customer from a form submission
Resource: Customers, Operation: Create. Set First Name and Last Name from the incoming data. In Additional Fields, add Email and Phone.
Example 2: Create a customer with a custom payload
Turn Send Body on, choose JSON, and set JSON Body to {"first_name":"Ana","last_name":"López","email":"ana@example.com"}.