n8n-docs/docs/integrations/creating-nodes/build/reference/node-base-files/programmatic-style-execute-method.md
Justin Ellingwood a7dc52d6e1
Change repo links to absolute file paths (#2829)
Co-authored-by: Nick Veitch <nick.veitch@n8n.io>
2025-02-11 17:40:26 +00:00

927 B

title description contentType
Programmatic-style execute() method A reference document for the programmatic-style execute() method of the node base file. reference

Programmatic-style execute() method

The main difference between the declarative and programmatic styles is how they handle incoming data and build API requests. The programmatic style requires an execute() method, which reads incoming data and parameters, then builds a request. The declarative style handles requests using the routing key in the operations object.

The execute() method creates and returns an instance of INodeExecutionData.

/// warning | Paired items You must include input and output item pairing information in the data you return. For more information, refer to Paired items. ///