RD Station CRM icon

RD Station CRM

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

Actions64

Produto na Negociação → Listar

AI-generated

Summary

Lists the products attached to a given RD Station CRM deal via GET /crm/v2/deals/{dealId}/products, with optional product-ID filtering, sorting, and either single-page or fetch-all pagination.

Inputs

  • dealId (required) — ID of the deal whose products are listed.
  • filters — Repeatable conditions. The only field is product_id, with operators eq, neq, or in (comma-separated values). Conditions are combined into one RDQL filter query string, space-separated. Conditions with an empty value are skipped.
  • sortField — Sort by product_id, or None for no sorting.
  • sortDirection — asc or desc (default desc). Only applied when a sort field is chosen.
  • fetchAll — If true, requests pages of 100 repeatedly until there is no next link. It stops at 1000 pages.
  • maxResults — Shown when fetchAll is true. Caps the total records returned (0 = no limit).
  • pagination — Shown when fetchAll is false. pageNumber (default 1) and pageSize (default 20, max 100).

Output shape

One n8n item per deal product returned by the API (the response's data array is split into separate items).

Each item is paired to its input item. With Continue On Fail enabled, a failed input item yields an item with an error message. Without it, the node throws a NodeApiError. If fetchAll is off, only the requested page is returned.

Examples

Example 1: Get the first 20 products on a deal

dealId = {{$json.deal_id}}; fetchAll off; defaults for pagination.

Example 2: Check whether a specific product is on a deal

dealId set; filter product_id eq .

Example 3: Retrieve every product on a deal sorted by product ID

dealId set; fetchAll on; maxResults 0; sortField product_id, sortDirection asc.

Links

Discussion