Actions64
- Negociação Actions
- Contato Actions
- Empresa Actions
- Tarefa Actions
- Produto Actions
- Campanha Actions
- Fonte Actions
- Funil Actions
- Etapa do Funil Actions
- Motivo de Perda Actions
- Segmento Actions
- Campo Personalizado Actions
- Usuário Actions
- Equipe Actions
- Anotação Actions
- Produto na Negociação Actions
- Webhook Actions
Segmento → Listar
AI-generatedSummary
Lists segments from RD Station CRM API v2 (GET /segments), with optional RDQL filters, sorting, and either single-page or fetch-all pagination. Each returned segment becomes its own output item.
Inputs
- filters — Repeatable conditions, each with Campo (name, created_at, updated_at), Operador (eq, neq, match, gt, lt, gte, lte, in, nin) and Valor. They are combined into one RDQL
filterquery string. Conditions with an empty value are skipped. For in/nin, separate values with commas. Values containing spaces are quoted for eq/neq. - sortField — Sort by Nome, Data de Criação or Data de Atualização. The default is none, which sends no sort parameter.
- sortDirection — asc or desc (default desc). Only applied when a sort field is chosen.
- fetchAll — If true, requests pages of 100 until there is no next link. It stops after 1000 pages. Default false.
- maxResults — Shown only when fetchAll is true. Caps the total records returned. 0 means no limit.
- pagination — Shown only when fetchAll is false. Sets pageNumber (default 1) and pageSize (default 20, max 100) for a single request.
Output shape
One output item per segment, taken from the API response's data array.
With fetchAll off, only the requested page is returned. If the response has no
data, the whole response is returned instead. With Continue On Fail enabled, a failed item yields an item with anerrormessage. Otherwise the node throws an API error.
Examples
Example 1: Fetch every segment whose name contains 'Enterprise', newest first
Filters: name / match / Enterprise; Ordenar por: Data de Criação; Direção: desc; Buscar Todos os Registros: true
Example 2: Get the first 50 segments alphabetically
Ordenar por: Nome; Direção: asc; fetchAll false; Paginação: pageNumber 1, pageSize 50