Actions57
- Objects Actions
- Attributes Actions
- List Attributes
- Get Attribute
- Update Attribute
- GET target/identifier/attributes/attribute/options
- POST target/identifier/attributes/attribute/options
- PATCH target/identifier/attributes/attribute/options/option
- POST target/identifier/attributes/attribute/statuses
- Create Attribute
- GET target/identifier/attributes/attribute/statuses
- PATCH target/identifier/attributes/attribute/statuses/status
- Entries Actions
- Records Actions
- Lists Actions
- Meta Actions
- Workspace Members Actions
- Notes Actions
- Tasks Actions
- Webhooks Actions
- Threads Actions
- Comments Actions
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
- 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.
- 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
- Attio API Documentation - Official API documentation for understanding endpoints and data structures.