Actions2
Overview
This node provides utility functions for data processing within n8n workflows. Specifically, the "Skip" operation allows users to remove a specified number of items from the beginning of the input data array. This can be useful in scenarios where you want to ignore or bypass a certain number of initial items before further processing—for example, skipping header rows in imported data or ignoring a set number of records that have already been processed.
Properties
| Name | Meaning |
|---|---|
| Items | The number of items to skip from the start of the input data array. Must be a positive integer. |
Output
The output is an array of items after skipping the specified number of items from the input. Each item retains its original structure with a json field containing the data. No binary data output is produced by this operation.
Dependencies
- No external services or API keys are required.
- The node uses internal libraries such as
ajvfor JSON schema validation (used in other operations), but for the "Skip" operation, no external dependencies are needed.
Troubleshooting
- Common Issue: Specifying a number of items to skip greater than the total number of input items will result in an empty output array.
- Error Messages: The "Skip" operation does not throw errors related to the skipping logic itself. However, if the input data is empty or not properly formatted as an array, the node may fail. Ensure that the input to this node is a valid array of items.
Links and References
- n8n Documentation on Working with Data
- AJV JSON Schema Validator (used in other operations of this node)