Attio icon

Attio

Interact with Attio API

Overview

This node interacts with the Attio API to create a new attribute on either an object or a list within the Attio platform. It is useful for users who want to programmatically define custom attributes with specific configurations such as type, uniqueness, requirement status, and default values. For example, it can be used to add a text attribute to a list that is required and unique, with a default value dynamically set to the current user.

Use Case Examples

  1. Creating a text attribute on a list with a default value and specific configuration for currency display.
  2. Adding a unique, required attribute to an object identified by a UUID or slug.

Properties

Name Meaning
Target Specifies whether the attribute is created on an object or a list.
Identifier A UUID or slug that identifies the object or list to which the attribute belongs.
Data A JSON object defining the attribute's details such as title, description, API slug, type, requirement, uniqueness, multiselect capability, default value, and additional configuration like currency or record references.

Output

JSON

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

Dependencies

  • Requires an API key credential for authentication with the Attio API.

Troubleshooting

  • Ensure the 'Target' and 'Identifier' parameters are correctly set to match existing objects or lists in Attio.
  • The 'Data' JSON must be valid and conform to the expected schema; invalid JSON or missing required fields will cause errors.
  • Authentication errors may occur if the API key is invalid or expired; verify the API credentials are correct and have necessary permissions.

Links

Discussion