Customer relationship magic. Powerful, flexible and data-driven, Attio makes it easy to build the exact CRM your business needs.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
attio: {
type: "app",
app: "attio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.attio.com/v2/self`,
headers: {
Authorization: `Bearer ${this.attio.$auth.oauth_access_token}`,
},
})
},
})
Emit new event when a list entry is deleted (i.e. when a record is removed from a list).
Emit new event when an existing list entry is updated (i.e. when a list attribute is changed for a specific list entry, e.g. when setting "Owner")
Emit new event when a record, such as person, company, or deal, is added to a list
Emit new event when an object attribute is created (e.g. when defining a new attribute "Rating" on the company object)
Creates a new note for a given record. The note will be linked to the specified record. See the documentation
Creates or updates a specific record such as a person or a deal. If the record already exists, it's updated. Otherwise, a new record is created. See the documentation
Deletes an existing entry from a specific list. See the documentation
Attio uses OAuth authentication. When you connect your Attio account, Pipedream will open a popup window where you can sign into Attio and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Attio API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://app.attio.com/authorize?response_type=code
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
POST
https://app.attio.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}