hornet icon

hornet

Interact with hornet API

Actions452

Service Dashboard → Service Dashboard Customers Post

AI-generated

Summary

Creates a new customer in the Service Dashboard by sending a POST request with the supplied details.

Inputs

  • object_id (required) — The ID of an object (user, customer or partner). Used as a query parameter to identify the target object context for the request. Defaults to 0 if not set but the field is required, so a value must be provided in the workflow or via an expression. Sent as a query parameter named object_id.
  • APP-ID (required) — Application identifier issued by the Hornet service. Sent as a request header APP-ID.
  • name (required) — Fully qualified domain name for the customer. Sent in the request body under the key name.
  • parent (required) — ID of the partner that will be the parent of the created object. Sent in the request body under the key parent.
  • admin — ID of a user who will receive admin access to the created object. Sent in the request body under the key admin.
  • admin_email — Email address of the admin user. Sent in the request body under the key admin_email.
  • password — Password for the admin user. Sent in the request body under the key password.
  • first_name — First name of the admin user. Sent in the request body under the key first_name.
  • last_name — Last name of the admin user. Sent in the request body under the key last_name.
  • telephone — Telephone number of the admin user. Sent in the request body under the key telephone.
  • external_reference — External reference identifiers for the customer. Sent in the request body under the key external_reference.

Output shape

The raw JSON response from the Hornet Service Dashboard API after the POST operation. Typically includes the newly created customer object with fields such as ID, timestamps, and any server‑generated metadata.

If the request fails, the node will throw an error that can be caught by an n8n error‑handling workflow.

Examples

Example 1: Create a customer for a partner with admin user details.

Set object_id to the partner or tenant ID, provide APP‑ID header, fill in name (customer domain), parent (partner ID), and optional admin fields (admin ID, email, password, first/last name, telephone, external reference).

Links

Discussion