When a declarative n8n node isn’t enough: write execute(), handle pagination with Return All and Limit, and support Continue On Fail. Part 5 of 10.
Launch your n8n integration - NativeShip
In this episode:
- The silent bug: a node that returns the first page and reports success
- Where declarative nodes stop: an operation that needs two requests
- What carries over when you move to a programmatic node
- The execute() function, and why it must loop over items
- Return All, Limit, and the paging loop
- continueOnFail, NodeApiError, and pairedItem
Chapters
0:00 The silent bug: 50 of 1,240
0:36 How pagination works
0:59 Where declarative nodes stop
1:35 Moving to a programmatic node
2:13 The execute() function
2:38 Always loop over items
2:57 Return All, Limit and the paging loop
3:34 Continue On Fail
4:11 pairedItem
4:36 What’s next
The whole series: https://www.youtube.com/playlist?list=PLYkThRYZ5f5g