Affinity
Node: affinity · Full type: n8n-nodes-base.affinity · Version: 1
Credentials
affinityApi (alias: @affinity)
CREDENTIAL @affinity = affinityApi "My Affinity"
Operations
Resource: list
get
| Parameter |
Type |
Default |
Details |
listId |
string |
"" |
required |
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
5 |
|
Resource: listEntry
create
| Parameter |
Type |
Default |
Details |
listId |
options |
"" |
required |
entityId |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: creator_id |
delete
| Parameter |
Type |
Default |
Details |
listId |
options |
"" |
required |
listEntryId |
string |
"" |
required |
get
| Parameter |
Type |
Default |
Details |
listId |
options |
"" |
required |
listEntryId |
string |
"" |
required |
getAll
| Parameter |
Type |
Default |
Details |
listId |
options |
"" |
|
returnAll |
boolean |
false |
|
limit |
number |
5 |
|
Resource: organization
create
| Parameter |
Type |
Default |
Details |
name |
string |
"" |
required |
domain |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: persons |
delete
| Parameter |
Type |
Default |
Details |
organizationId |
string |
"" |
required |
get
| Parameter |
Type |
Default |
Details |
organizationId |
string |
"" |
required |
options |
collection |
{} |
keys: withInteractionDates |
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
5 |
|
options |
collection |
{} |
keys: term, withInteractionDates |
update
| Parameter |
Type |
Default |
Details |
organizationId |
string |
"" |
required |
updateFields |
collection |
{} |
keys: domain, name, persons |
Resource: person
create
| Parameter |
Type |
Default |
Details |
firstName |
string |
"" |
required |
lastName |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: organizations |
emails |
string |
[] |
|
delete
| Parameter |
Type |
Default |
Details |
personId |
string |
"" |
required |
get
| Parameter |
Type |
Default |
Details |
personId |
string |
"" |
required |
options |
collection |
{} |
keys: withInteractionDates |
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
5 |
|
options |
collection |
{} |
keys: term, withInteractionDates |
update
| Parameter |
Type |
Default |
Details |
personId |
string |
"" |
required |
updateFields |
collection |
{} |
keys: firstName, lastName, organizations |
emails |
string |
[] |
|
Parameter Details
additionalFields children:
| Parameter |
Type |
Default |
Details |
creator_id |
string |
"" |
|
updateFields children:
| Parameter |
Type |
Default |
Details |
domain |
string |
"" |
|
name |
string |
"" |
|
persons |
multiOptions |
[] |
|
options children:
| Parameter |
Type |
Default |
Details |
withInteractionDates |
boolean |
false |
|
Example
NODE "affinity" @affinity AS "Affinity" {
resource: "list",
operation: "get",
listId: {{ $json.listId }},
entityId: {{ $json.entityId }},
listEntryId: {{ $json.listEntryId }}
}