RD Station CRM icon

RD Station CRM

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

Actions64

Campanha → Listar

AI-generated

Summary

Lists campaigns from RD Station CRM API v2 (GET /campaigns), with optional RDQL filters, sorting, and either single-page or fetch-all pagination.

Inputs

  • Filtros (filters) — Repeatable conditions, each with a field (Nome/name, Data de Criação/created_at, Data de Atualização/updated_at), an operator (eq, neq, match, gt, lt, gte, lte, in, nin) and a value. They are combined into a single RDQL filter query string, space-separated. Values containing spaces are quoted. For in/nin, use comma-separated values. Conditions with an empty value are skipped.
  • Ordenar por (sortField) — Sort by name, created_at or updated_at. The default, Nenhum, applies no sort.
  • Direção da Ordenação (sortDirection) — asc or desc (default desc). Only applied when a sort field is chosen.
  • Buscar Todos os Registros (fetchAll) — When true, pages through results automatically at 100 per page until there is no next link. It stops after 1000 pages.
  • Limite Máximo (maxResults) — Shown only with fetchAll. 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 page size (default 20, max 100).

Output shape

One n8n item per campaign record, each holding the campaign object as returned by the API (the response's data array).

Without fetchAll, only the requested page is returned. With fetchAll, all pages are merged and trimmed to maxResults if set. The operation runs for each input item. With Continue On Fail enabled, an error produces an item with an error message instead.

Examples

Example 1: Get every campaign whose name contains 'Black Friday', newest first

Filtros: Nome / Contém (match) / Black Friday; Ordenar por Data de Criação; Direção desc; Buscar Todos ligado.

Example 2: Fetch the first 50 campaigns created since the start of 2025

Filtros: Data de Criação / Maior ou igual (≥) / 2025-01-01; Buscar Todos desligado; Paginação: página 1, itens por página 50.

Links

Discussion