Common patterns in Zapier
How to implement common patterns using Attio's Zapier integration.
You can also get started with one of our pre-made template Zaps.
Find a record by unique attribute
When dealing with data in external systems, you will often want to look up records by attributes such as email address or domain rather than by Attio-specific IDs. You can achieve this by using the Create or Update Record action.
You now have access to the created or found record in later steps of your Zap.
Note that this flow will create a new record if one does not yet exist.
Add a record to a list
To add a record to a list, first obtain its ID, then use that ID to create a new list entry.
Step 1: Find or create your record
Attio's Zapier integration provides multiple sources for record IDs:
Ensure that you have one of the triggers or actions above in your Zap, then proceed to step 2.
Step 2: Use the Create List Entry action or Create or Update List Entry by Parent Record action
Now that you have access to a Record ID, you can create the list entry.
If you only want to create the entry and do not care about duplicates, use the Create List Entry action. Note that this action will create multiple entries for the same record if fired multiple times with the same record ID. If you want to ensure your record appears at most once in the list, use the Create or Update List Entry by Parent Record action. This will update the existing entry if the record is already in the list, and create a new entry if the record is not yet in the list.
Create or update a relationship between two records
Updating a relationship attribute happens just like updating any other attribute in Zapier.
To set a relationship, first add one of the following actions to your Zap:
Then, select the relationship attribute you would like to update using the Attributes field. This will cause a corresponding value field to appear in your action configuration. If the attribute is required, the corresponding field will appear automatically and you won't need to select it manually.
Example: setting the team relationship on a company recordNote that you will only need to update one end of the relationship. For example, if you update the Team attribute on a company, the Company attribute on the relevant person will update for you.
Trigger a Zap from an Attio Workflow
Sometimes, you need to connect an Attio workflow to external services through Zapier. Here's how to achieve that: