Zammad icon

Zammad

Consume Zammad REST API

Object → Create

AI-generated

Overview

This node integrates with the Zammad REST API to manage various resources such as users, organizations, groups, tickets, articles, priorities, states, tags, mentions, online notifications, objects, and user access tokens. Specifically, for the 'Object' resource with the 'Create' operation, it allows users to send JSON-formatted data to create new object manager attributes in Zammad. This is useful for automating the creation of custom objects or attributes within the Zammad system, enabling enhanced customization and data management.

Use Case Examples

  1. Creating a new custom object attribute in Zammad by providing JSON data representing the attribute's properties.
  2. Automating the creation of multiple object attributes in a workflow to streamline Zammad configuration.

Properties

Name Meaning
Authentication The authentication method to use for connecting to the Zammad API. Options include Basic Authentication, OAuth2 Authentication, and Token Authentication.
API The API to use for the request. Options are REST API or CTI API.
Data The JSON-formatted data to send to the Zammad Objects API for creating the object attribute. This data should be a valid JSON string representing the object attribute's properties.

Output

JSON

  • id - The unique identifier of the created object attribute.
  • name - The name of the created object attribute.
  • type - The type of the created object attribute.
  • created_at - Timestamp when the object attribute was created.
  • updated_at - Timestamp when the object attribute was last updated.

Dependencies

  • Zammad REST API

Troubleshooting

  • Ensure the JSON data provided in the 'Data' property is correctly formatted and valid JSON to avoid parsing errors.
  • Verify that the authentication credentials (Basic, OAuth2, or Token) are correctly configured and have sufficient permissions to create objects in Zammad.
  • Check the API endpoint URL and network connectivity if requests fail to reach the Zammad server.
  • If the API returns errors related to object attributes, verify that the data fields conform to Zammad's expected schema for object manager attributes.

Links

  • Zammad API Documentation - Official documentation for the Zammad REST API, including object manager attributes endpoints.

Discussion