Search People
affinity.search_persons
ActionCRM & salesconnection required
Calls the Affinity API with the connection's credentials.
Search Affinity people by email address, first name or last name.
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, none 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 |
|---|---|---|---|---|---|
term The text to search for; leave blank to walk the whole collection. | string | No | — | — | acme |
page_size How many records to return in one page of results. | number | No | 100 | ≥ 1 | — |
page_token The next_page_token returned by the previous call, to fetch the following page. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"page_size": 100,
"term": "acme"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The records on this page, whichever shape Affinity returned. | array | — |
count How many records this page carried. | number | — |
next_page_token Token for the following page, or null when this was the last one. | string | — |
{
"count": 0,
"items": [],
"next_page_token": ""
}See Search People 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.