Add Entry to List
affinity.create_list_entry
ActionCRM & salesconnection required
Calls the Affinity API with the connection's credentials.
Add an existing person or organization to a list; Affinity does not allow opportunities to be created this way.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Affinity
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
list_id The numeric id of the Affinity list to act on. | string | Yes | — | — | 123 |
entity_id The numeric id of the person or organization to add to the list. | string | Yes | — | — | 38706 |
creator_id The numeric internal person id to record as the entry's creator. | string | No | — | — | 38706 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"creator_id": "38706",
"entity_id": "38706",
"list_id": "123"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The list entry's numeric id. | number | — |
list_id The list this entry belongs to. | number | — |
creator_id The internal person id of whoever added the entry. | number | — |
entity_id The person or organization the entry points at. | number | — |
entity The person or organization record itself. | object | — |
created_at ISO-8601 timestamp of when the entry was added. | string | — |
{
"created_at": "",
"creator_id": 0,
"entity": {},
"entity_id": 0,
"id": 0,
"list_id": 0
}See Add Entry to List run in a workflow.
In a technical demo we add the Affinity connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.