Attio icon

Attio

Interact with Attio API

Attributes → Create Attribute

AI-generated

Overview

This node operation creates a new attribute on either an object or a list within the Attio platform. It is useful for dynamically adding custom fields or metadata to objects or lists, enabling more tailored data management. For example, you can create a text attribute called 'Your Attribute' with specific configurations such as being required, unique, and supporting multi-select options.

Use Case Examples

  1. Creating a custom text attribute on a list to capture additional information about list entries.
  2. Adding a unique, required attribute to an object to enforce data consistency and uniqueness.

Properties

Name Meaning
Target Specifies whether the attribute is created on an object or a list.
Identifier A UUID or slug that identifies the specific object or list to which the attribute belongs.
Data The JSON data defining the attribute's properties such as title, description, type, uniqueness, default value, and configuration.

Output

JSON

  • json - The JSON response from the Attio API representing the created attribute's details.

Dependencies

  • Requires an API key credential for Attio API authentication.

Troubleshooting

  • Ensure the 'Identifier' is a valid UUID or slug corresponding to an existing object or list in Attio.
  • Verify the JSON structure in the 'Data' property is correctly formatted and includes all required fields for attribute creation.
  • Check API authentication token validity to avoid authorization errors.
  • Common errors include 'Operation not found' if the operation or resource parameters are incorrect, and JSON parsing errors if the 'Data' input is malformed.

Links

Discussion