English
Attio
Creates or updates Attio people, companies and records, adds them to a list, attaches a note or a task.
The Attio node records an email exchange in your Attio CRM: it creates or updates the person writing (by address) and their company (by domain), adds them to a list, attaches a note or a follow-up task. It can also write to any object, deals and custom objects included. See Attio.
At a glance
- Type:
attio.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: Writes outside (
external_write) — writes outside Loop & Roll; described instead of performed during a test run - Needs a carrier email: No
- Connection: Attio
- Inputs:
main - Outputs:
main
Connection
This node needs a Attio connection.
Parameters
connection
Attio connection — The Attio connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
person.upsert - Options:
person.upsert— Create or update a person: By email address, in one call: never a duplicate.company.upsert— Create or update a company: By domain name.record.find— Find a record: By equality on an attribute (address, domain, ID…).record.upsert— Create or update a record (advanced): On any object, values as JSON.list.add— Add to a listnote.create— Add a notetask.create— Create a task
email
Email address
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 320 characters at most
- Example:
{{ email.from.email }} - Shown when:
actionisperson.upsert - Expressions:
{{ }}accepted
firstName
First name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionisperson.upsert - Expressions:
{{ }}accepted
lastName
Last name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionisperson.upsert - Expressions:
{{ }}accepted
domain
Domain name — dupont-agency.com; an email address or a URL is accepted, its domain is kept.
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 320 characters at most
- Shown when:
actioniscompany.upsert - Expressions:
{{ }}accepted
companyName
Company name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 300 characters at most
- Shown when:
actioniscompany.upsert - Expressions:
{{ }}accepted
object
Object — people, companies, deals, or a custom object.
- Type: Remote resource (
resourceLocator) - Required: Yes
- Ways to choose: pick from a list, type an ID (
attio.object) - Listed with the connection in:
connection - Shown when:
actionis one ofrecord.find,record.upsert,list.add,note.create,task.create
attribute
Attribute — The attribute slug: email_addresses, domains, or a unique attribute.
- Type: Text (
string) - Required: Yes
- Default:
email_addresses - 100 characters at most
- Shown when:
actionis one ofrecord.find,record.upsert - Expressions:
{{ }}accepted
value
Value to match
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 500 characters at most
- Shown when:
actionisrecord.find - Expressions:
{{ }}accepted
valuesJson
Values (JSON) — Attio’s values object, by attribute slug. It must contain the matching attribute.
- Type: Long text (
text) - Required: Yes
- Default:
""(empty) - 20000 characters at most
- Example:
{ "name": "Dupont mandate", "stage": "Lead" } - Shown when:
actionisrecord.upsert - Expressions:
{{ }}accepted
recordId
Record — The ID (recordId) an earlier Attio step returns.
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 60 characters at most
- Example:
{{ data.attio.recordId }} - Shown when:
actionis one oflist.add,note.create,task.create - Expressions:
{{ }}accepted
list
List
- Type: Remote resource (
resourceLocator) - Required: Yes
- Ways to choose: pick from a list, type an ID (
attio.list) - Listed with the connection in:
connection - Shown when:
actionislist.add
title
Note title
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 500 characters at most
- Example:
{{ email.subject }} - Shown when:
actionisnote.create - Expressions:
{{ }}accepted
content
Text — The note text (Markdown accepted) or the task text (2,000 characters at most).
- Type: Long text (
text) - Required: Yes
- Default:
""(empty) - 50000 characters at most
- Shown when:
actionis one ofnote.create,task.create - Expressions:
{{ }}accepted
deadline
Deadline — An ISO 8601 instant. Empty = no deadline.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 40 characters at most
- Shown when:
actionistask.create - Expressions:
{{ }}accepted
assignee
Assigned to — A workspace member’s address. Empty = nobody.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 320 characters at most
- Shown when:
actionistask.create - Expressions:
{{ }}accepted
Outputs
main— Taken once the Attio call succeeds. An error response from Attio fails the step instead.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.recordId }}—string. Record actions: its Attio ID, to pass to Add to a list, Add a note or Create a task. Empty in a test run on a write.{{ data.<step>.webUrl }}—string. The record’s link in Attio, to paste into a message.{{ data.<step>.values }}—object. The record’s values as Attio returns them (each attribute is an array of dated values).{{ data.<step>.found }}—boolean. Find a record: true when a record matches.{{ data.<step>.entryId }}—string. Add to a list: the entry ID.{{ data.<step>.noteId }}—string. Add a note: the note ID.{{ data.<step>.taskId }}—string. Create a task: the task ID.{{ data.<step>.simulated }}—boolean. true when the write was described instead of done (test run).{{ data.<step>.summary }}—string. The one-line summary in the member’s language.
Operations
- Create or update a person (
person.upsert) and a company (company.upsert): a single “assert” call (PUT /v2/objects/{object}/records?matching_attribute=…), never a duplicate. - Find a record (
record.find) by equality on an Attribute (slug). - Create or update a record (advanced) (
record.upsert): Values (JSON) in Attio’s format, which must contain the matching attribute. - Add to a list (
list.add):PUT /v2/lists/{list}/entries, no duplicate on retry. - Add a note (
note.create, Markdown accepted) and Create a task (task.create, 2,000 characters, Deadline, Assigned to by a member’s address).
Tips
- Test runs. Searches run for real; writes are described.
- Retries. Asserts and list additions are safe to retry; a note or a task may be created twice.
- Errors.
integration.rejected: value in the wrong format, unknown attribute, several records for the same matching value. See Error handling.