Attio icon

Attio

Interact with Attio API

Overview

This node interacts with the Attio API to assert a record within a specified object. It checks if a record exists based on a unique matching attribute and either updates or creates the record accordingly. This is useful for synchronizing data where you want to ensure a record exists with specific values, such as updating contact information or inventory items in a database.

Use Case Examples

  1. Use case: Ensuring a contact record exists in the 'people' object by matching a unique email attribute and updating their details if the record exists.
  2. Use case: Asserting a product record in an inventory system by matching a unique SKU attribute and setting product details.

Properties

Name Meaning
Object A UUID or slug identifying the object the record should belong to.
Matching Attribute The ID or slug of the unique attribute used to check if a record already exists.
Data JSON data containing the values to set on the record, including attribute IDs and their corresponding values.

Output

JSON

  • json - The JSON response from the Attio API representing the asserted record data.

Dependencies

  • Requires an API key credential for Attio API authentication.

Troubleshooting

  • Common issues include invalid or missing API credentials, resulting in authentication errors.
  • Incorrect or missing 'Object' or 'Matching Attribute' parameters can cause the API request to fail or not find the intended record.
  • Malformed JSON in the 'Data' property can cause parsing errors; ensure valid JSON format.

Links

Discussion