n8n-docs-v2 / docs /integrations /creating-nodes /build /reference /node-base-files /programmatic-style-execute-method.md
|
Download docs/integrations/creating-nodes/build/reference/node-base-files/programmatic-style-execute-method.md from Jeice/n8n-docs-v2: direct link, hf CLI and curl.
- Browser
- Download file 927 Bytes
-
https://huggingface.co/datasets/Jeice/n8n-docs-v2/resolve/main/docs/integrations/creating-nodes/build/reference/node-base-files/programmatic-style-execute-method.md
- Command line
-
hf download hf://datasets/Jeice/n8n-docs-v2/docs/integrations/creating-nodes/build/reference/node-base-files/programmatic-style-execute-method.md
-
curl -L -o programmatic-style-execute-method.md https://huggingface.co/datasets/Jeice/n8n-docs-v2/resolve/main/docs/integrations/creating-nodes/build/reference/node-base-files/programmatic-style-execute-method.md
927 Bytes
| #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4 | |
| title: Programmatic-style execute() method | |
| description: A reference document for the programmatic-style execute() method of the node base file. | |
| contentType: 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](/integrations/creating-nodes/build/reference/paired-items.md). | |
| /// |