Attio icon

Attio

Interact with Attio API

Attributes → Update Attribute

AI-generated

Overview

This node updates an attribute on either an object or a list within the Attio API. It is useful for modifying metadata or properties associated with specific objects or lists, such as changing the title, description, or configuration of an attribute. For example, you can update an attribute's title or set it as required or unique dynamically through this node.

Use Case Examples

  1. Updating the title and description of an attribute on a list identified by a UUID.
  2. Changing the configuration of an attribute on an object to set a default currency or allowed objects for record references.

Properties

Name Meaning
Target Specifies whether the attribute belongs to an object or a list.
Identifier A UUID or slug that identifies the specific object or list the attribute belongs to.
Attribute A UUID or slug that identifies the attribute to be updated.
Data A JSON object containing the attribute data to update, such as title, description, API slug, requirement flags, default value, configuration, and archival status.

Output

JSON

  • json - The JSON response from the Attio API after updating the attribute, containing the updated attribute details.

Dependencies

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

Troubleshooting

  • Ensure the 'Target' is correctly set to either 'objects' or 'lists' to match the attribute's context.
  • Verify that the 'Identifier' and 'Attribute' fields contain valid UUIDs or slugs corresponding to existing entities in Attio.
  • The 'Data' JSON must be correctly formatted; invalid JSON will cause errors.
  • Common errors include authorization failures if the API key is invalid or missing, and 404 errors if the specified attribute or target does not exist.

Discussion