Search Organizations

affinity.search_organizations
ActionCRM & salesconnection required

Calls the Affinity API with the connection's credentials.

Search Affinity organizations by company name or website domain.

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.

FieldTypeRequiredDefaultConstraintsExample
term
The text to search for; leave blank to walk the whole collection.
stringNo——acme
page_size
How many records to return in one page of results.
numberNo100≥ 1—
page_token
The next_page_token returned by the previous call, to fetch the following page.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "page_size": 100,
  "term": "acme"
}

Output

One shape.

result

FieldTypeExample
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 Organizations 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.