Paginate (auto-aggregate)

logic_paginate · logic · Logic & Flow · Available · v1.0.0

Description

Call a paginated REST API and aggregate all pages into a single array.

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
urlTemplate
URL template
stringyes
https://api.example.com/items?page={{page}}
Inserisci {{page}} per strategia page-number o {{cursor}} per cursor.
method
Metodo HTTP
enum
GETPOST
yesGETGET = standard per API REST GraphQL paginate. POST = quando la pagina è nel body (alcune API enterprise come Salesforce Bulk). Per altri metodi usa `action_http` in un `logic_loop`.
headersJson
Headers HTTP
key-valuenoHeader per ogni chiamata API. Esempi: `Authorization=Bearer {{secrets.API_TOKEN}}`, `Content-Type=application/json`, `Accept=application/vnd.api+json`. Tipico per API autenticate: imposta Bearer una volta, applicato a tutte le pagine.
pageStrategy
Strategia paginazione
enum
page-numbercursorlink-header
yespage-numberpage-number = ?page=N · cursor = ?after=<token> · link-header = legge Link header RFC 5988.
dataPath
Percorso dati nella risposta
stringno
data.items
Dot-notation per estrarre l'array dalla risposta (es. data.items, results, payload.list).
cursorPath
Percorso cursore
stringno
meta.next_cursor
Solo per strategy=cursor. Dove leggere il prossimo cursore nella risposta.
maxPages
Max pagine (safety)
numberno100Limite hard per non chiamare API all'infinito.

💡 Configuration example

JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.

{
  "id": "node-logic_paginate-1",
  "defId": "logic_paginate",
  "label": "Paginate (auto-aggregate)",
  "config": {
    "urlTemplate": "https://api.example.com/items?page={{page}}",
    "method": "GET",
    "pageStrategy": "page-number",
    "maxPages": 100
  }
}

🔗 Related nodes in the same category

Ready to use Paginate (auto-aggregate)?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes