Actions2
Overview
This node provides utility operations for data transformation within an n8n workflow. 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 count of initial items before processing the rest.
For example, if you have a list of records and want to skip the first 3 entries (perhaps because they are headers or irrelevant), this node can efficiently remove those items so subsequent nodes only process the remaining data.
Properties
| Name | Meaning |
|---|---|
| Items | Number of items to skip from the input. |
- The Items property is required when using the "Skip" operation.
- It accepts a number indicating how many items should be removed from the start of the input data array.
Output
The output is an array of JSON objects representing the input items after skipping the specified number of items.
- The
jsonfield of each output item contains the original data structure of the input item. - No binary data is produced by this node.
Dependencies
- No external services or API keys are required.
- The node uses the
ajvlibrary internally for schema validation (not relevant for the "Skip" operation). - No special environment variables or n8n configurations are needed for the "Skip" operation.
Troubleshooting
- If the number of items to skip exceeds the total number of input items, the output will be an empty array.
- Ensure that the "Items" property is set to a non-negative integer; negative values may cause unexpected behavior.
- Since this operation modifies the input array by removing elements, downstream nodes will receive fewer items accordingly.
Links and References
- n8n Documentation - Working with Data
- AJV JSON Schema Validator (used internally for other operations)