Setup
You will need:
1
Install the integration in Botpress
First, install the integration to your bot:
- In Botpress Studio, select Explore Hub in the upper-right corner.
- Search for the Attio integration, then select Install Integration.
2
Create an Attio API token
Next, create a Attio API token:
- Log in to your Attio account.
- Select your workspace name in the upper-left corner. Then, select Workspace settings.
- From the left navigation bar, select Developers.
- Select + Create access token. Enter a name, then enable the following scopes:
- Object configuration: Read access
- Records: Read/write access
- Select Save changes, then copy the token.
3
Configure the integration in Botpress
Now, you can finish setting up the integration in Botpress:
- In the integration’s Access Token field, paste your Attio API token.
- Select Save Configuration.
Your Attio integration is ready. You can use the integration’s Cards to interact with your Attio objects and records..
Cards
When adding filters to the List Records Card, follow Attio’s filtering guide to structure your data.
Create Record
Input: Output:Get Object
Input: Output:Get Record
Input: Output:List Attributes
Input: Output:List Objects
Input: This Card has no input fields. Output:List Records
Input: Output:Update Record
Input: Output:Triggers
Here’s a reference for all Triggers available with the integration:You can access data returned from any of these Triggers by reading
event.payload
after the Trigger fires.