NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Lead → Get Many

AI-generated

Summary

Retrieve multiple leads associated with a specified clinic, optionally filtering and limiting the results.

Inputs

  • Clinic — Select the clinic to fetch leads for, either by choosing from a searchable list of clinics or by specifying the clinic's UUID. This is required for retrieving multiple leads.
  • Return All — Toggle to retrieve all matching leads without pagination (returns all results). Defaults to false.
  • Limit — Set the maximum number of lead records to return when 'Return All' is false. Value must be between 1 and 100. Defaults to 50.
  • Filters — Optional search filter string to find leads by name, email, phone number, or notes.

Output shape

a list of lead records returned from the NextMotion API

Supports pagination automatic handling when 'Return All' is false, up to the specified 'Limit'. If 'Return All' is true, all matching leads are returned. The leads are filtered by the specified clinic and optional search string. The response contains an array of lead objects under the root property 'data'.

Links

Discussion