N8n Declarative Node Tutorial: Resources & Operations (Part 3)

Build a declarative n8n node: model your API as resources and operations, wire an operation to a request with routing, and show the right fields with displayOptions. Part 3 of 10.

Launch your n8n integration - NativeShip

In this episode:

  • How to turn a list of endpoints into resources and operations
  • The Resource dropdown, in about ten lines
  • routing: an operation with no function to write
  • displayOptions: showing only the fields that belong
  • Sending a field in the request body
  • Why the first execute returns 401 Unauthorized

Chapters

0:00 Endpoints vs how people think
0:40 Resources and operations
1:14 The Resource dropdown
1:36 Routing: no function needed
2:00 displayOptions
2:27 Adding a field
2:50 The repetition problem
3:23 First execute: 401 Unauthorized
3:47 What’s next

The whole series: https://www.youtube.com/playlist?list=PLYkThRYZ5f5g

1 Like