RD Station CRM icon

RD Station CRM

Integração com RD Station CRM API v2 - API v2 completa

Actions64

Equipe → Listar

AI-generated

Summary

Lists teams from RD Station CRM API v2 (GET /teams), with optional RDQL filters on name or created/updated dates, sorting, and either single-page or fetch-all pagination.

Inputs

  • Filtros (filters) — Multiple conditions, each with Campo (name, created_at, updated_at), Operador (eq, neq, match, gt, lt, gte, lte, in, nin) and Valor. They are converted to an RDQL string and sent as the filter query parameter, joined by spaces. Conditions with an empty value are skipped. For IN/NIN, separate values with commas. Values containing spaces are quoted for eq/neq.
  • Ordenar por (sortField) — Sort by Nome, Data de Criação or Data de Atualização. The default, Nenhum, applies no sorting.
  • Direção da Ordenação (sortDirection) — asc or desc (default desc). Only used when a sort field is chosen.
  • Buscar Todos os Registros (fetchAll) — When true, requests pages of 100 until no next link remains. It stops after 1000 pages. Default false.
  • Limite Máximo (maxResults) — Shown only when fetchAll is on. Caps the total records returned. 0 means no limit.
  • Paginação (pagination) — Shown only when fetchAll is off. Sets the page number (default 1) and the page size (default 20, max 100).

Output shape

One n8n item per team. Each item holds the team object as returned by the API's data array.

With fetchAll off, only the requested page is returned. With fetchAll on, all pages are merged, trimmed to maxResults if set. If the API returns no data field, the raw response is emitted instead. With Continue On Fail enabled, a failed input item produces an item with an error message.

Examples

Example 1: Fetch every team sorted by name

fetchAll = true, maxResults = 0, sortField = Nome, sortDirection = asc

Example 2: Find teams whose name contains 'Vendas'

Filtros: Campo = Nome, Operador = Contém (match), Valor = Vendas; fetchAll = false

Example 3: Get teams created after a date, 50 per page

Filtros: Campo = Data de Criação, Operador = Maior que (>), Valor = 2024-01-01; Paginação: pageNumber 1, pageSize 50

Links

Discussion