action apptigent_split_collection { label: "Collections - Split collection" description: "Split a collection of items by matching value or index" provider: apptigent method: POST path: "/SplitCollection" encoding: json input: { type: "object" required: ["input"] properties: { index: { type: "string" description: "Index location to split (leave empty to use Match value)" } input: { type: "array" description: "Collection of items to split" items: { type: "string" } } match: { type: "string" description: "String to match (explicit, case-insensitive, leave empty to use Index)" } } } output: { type: "object" properties: { result1: { type: "array" description: "First collection result" items: { type: "string" } } result2: { type: "array" description: "Second collection result" items: { type: "string" } } } } }