RD Station CRM icon

RD Station CRM

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

Actions64

Etapa do Funil → Listar

AI-generated

Summary

Lists the stages of a selected RD Station CRM pipeline via GET /pipelines/{pipelineId}/stages, with optional sorting and either manual paging or automatic fetching of all pages.

Inputs

  • pipelineId (required) — Pipeline (funil) whose stages are listed; chosen from a dropdown loaded from the account's pipelines.
  • sortField — Sort by Nome (name), Data de Criação (created_at) or Data de Atualização (updated_at). Default none; sent as sort[field].
  • sortDirection — asc or desc (default desc). Only applied when a sort field is chosen.
  • fetchAll — If true, requests pages of 100 until no next link is returned, then returns all results. Default false.
  • maxResults — Shown when fetchAll is on. Caps the total number of records returned; 0 means no limit. Fetching stops after 1000 pages regardless.
  • pagination — Shown when fetchAll is off. Collection with pageNumber (default 1) and pageSize (default 20, max 100).

Output shape

One n8n output item per stage, taken from the API response's data array. Each item is the stage object as returned by RD Station CRM.

Runs once per input item. With continueOnFail enabled, a failed item yields an item with an error message instead of throwing. The generic filter (RDQL) parameter is not exposed for stages, so no filtering is applied.

Examples

Example 1: Get every stage of a sales pipeline sorted by name

pipelineId = chosen pipeline; sortField = Nome; sortDirection = asc; fetchAll = true

Example 2: Preview the first 10 stages

pipelineId = chosen pipeline; fetchAll = false; pagination: pageNumber 1, pageSize 10

Links

Discussion