PERS icon

PERS

Interact with the PERS Loyalty API

Actions14

Business → Create

AI-generated

Summary

Creates a new business in the PERS Loyalty API by POSTing to /businesses with a display name and optional profile, location, and legal details.

Inputs

  • displayName (required) — Public display name of the business.
  • additionalFields — Optional collection of fields sent in the request body: Business Legal Name, Business Type ID, City, Description, Short Description, Email (described as unique, used to identify the business), Image URL, Logo URL, Latitude (coordsLatitude), Longitude (coordsLongitude), Postal Code, Street Address, Registration Number (company, VAT or EIN), Tags and Website URL.
  • Tags (within Additional Fields) — Comma-separated string. The node splits it on commas (and newlines), trims each entry, drops empties, and sends an array.

Output shape

One item per input item. Its json is the PERS API's response to the create call, which is presumably the created business record. The exact fields are not defined in the node.

Authenticates with the persApi credential, and the base URL comes from the credential's environment. Only fields you add to Additional Fields are sent. With Continue On Fail enabled, a failed item returns {error: message} instead of stopping the workflow.

Examples

Example 1: Register a partner business with just a name

Display Name = "Cafe Central"; leave Additional Fields empty.

Example 2: Create a fully described, geolocated business with tags

Display Name = "Cafe Central"; Additional Fields: Email, City, Street Address, Latitude, Longitude, Tags = "partner, food-beverage, downtown".

Links

Discussion