Yourang icon

Yourang

Interact with yourang.ai - 24/7 AI phone assistant for calls, contacts, and events

Catalogue → Create

AI-generated

Overview

This node operation creates a new product catalogue in the Yourang system. It allows users to specify the catalogue's name, an optional description, and optionally add initial items to the catalogue as a JSON array. This is useful for businesses or users who want to organize products or services into catalogues for easier management and retrieval within the Yourang AI phone assistant platform.

Use Case Examples

  1. Creating a new product catalogue named 'Spring Collection' with a description and initial items such as various products with their SKU, name, price, and category.
  2. Setting up a catalogue for a service list with no initial items, just a name and description.

Properties

Name Meaning
Name The name of the catalogue to be created. This is a required field.
Description An optional description providing more details about the catalogue.
Initial Items An optional JSON array of item objects to add to the catalogue upon creation. Each item can include sku, name (required), description, price, currency, quantity, and category.

Output

JSON

  • id - The unique identifier of the created catalogue.
  • name - The name of the created catalogue.
  • description - The description of the created catalogue.
  • items - The list of items initially added to the catalogue, if any.

Dependencies

  • Requires an API key credential for Yourang API authentication.

Troubleshooting

  • If the 'Name' property is missing or empty, the node will throw an error because the catalogue name is required.
  • If the 'Initial Items' JSON is malformed or contains invalid item data, the creation may fail or items may not be added correctly.
  • API authentication errors may occur if the Yourang API key credential is missing or invalid, resulting in failed requests.

Discussion