Built-in tool

Shuffle array items

Randomly reorder items in an array.

Freeno per-call chargeNo API key needed

Endpoint

Parameters

NameTypeRequiredNote
itemsrepeating-group · requiredrepeating-grouprequired

Add one or more data sources. Supports variable references and expressions.

limitOutputboolean · optionalbooleanoptional

When enabled, only returns the first N items after shuffling.

maxItemsnumber · required if limitOutput is true and limitOutput is truenumberrequired if limitOutput is true and limitOutput is true

Maximum number of items to return from the shuffled array. Must be a positive whole number (>= 1).

Example: 100

Response schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "success"
  ],
  "properties": {
    "count": {
      "type": "number",
      "description": "Number of items in the result (populated for array results and the count action)."
    },
    "error": {
      "type": "string"
    },
    "result": {
      "description": "Transformed result. Type depends on the action: array, object, scalar, or number."
    },
    "success": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}

Get started

How to use this tool

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, and this tool comes with it. There’s no API key or account to set up.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this tool when the job calls for it, along with any others it needs.

  3. Make it a workflow

    Add it as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether it runs on its own or asks first. When it asks, you see an Allow or Deny card before any credits are spent.