docs
EnglishChatigram website ↗Open Chatigram
random · utility

Random Draw

Randomly select items from a list or generate random numbers. Supports weighted selection for probability-based draws.

Plan availability #

Feature Free Starter Pro Enterprise
Active workflows 3 10 45 Unlimited

Allowances follow the published Chatigram pricing page. Your organization’s Billing & Plans screen confirms its subscription and current usage. Plans can change. Plan information reviewed 2026-11-10.

When to use this node #

Randomly select items from a list or generate random numbers. Supports weighted selection for probability-based draws.

Add Random Draw to a workflow branch using the node picker. Configure its fields in the inspector, then connect the next step.

Configure the fields #

Field What to enter
Selection Mode Choose the type of random selection:
• items (default): Select from a list of items
• number: Generate random number(s) in a range

For 'items' mode, use the 'items' field.
For 'number' mode, use 'rangeMin' and 'rangeMax' fields.
Choices: items, number.
Example/default shown in the editor: items.
Items List Comma-separated list of items to randomly select from.

📋 Simple Selection (equal probability):
• item1, item2, item3, item4
• apple, banana, cherry
• 100, 200, 300, 400

⚖️ Weighted Selection (custom probabilities):
• item1:1, item2:2, item3:5 (item3 has 5x chance vs item1)
• red:3, blue:2, green:1
• winner:1, runner-up:3, participant:10

💡 Tips:
• Higher weight = higher chance of selection
• Weights can be decimals (e.g., item1:1.5, item2:2.3)
• Items without weights default to weight of 1
• Items can contain spaces, numbers, special characters

Used when mode is 'items'.
Range Minimum Minimum value for random number generation.
Can be integer or decimal (e.g., 1, 0, -10, 1.5, 0.001).
Used when mode is 'number'.
Range Maximum Maximum value for random number generation.
Can be integer or decimal (e.g., 100, 1000, 99.9).
Used when mode is 'number'.
Number of Results How many items/numbers to randomly select.
• Default: 1 (single result)
• Multiple results will be comma-separated
• For items mode: cannot exceed total number of unique items
• For number mode: can generate any count

Examples:
• count=1: returns 'item3'
• count=3: returns 'item2, item5, item1'
Example/default shown in the editor: 1.

Use the result #

Choose the output from the variable picker in a later step. Output names below identify the values supplied by this node; the picker inserts the correct reference for your node instance.

Output Meaning / label
result Selected Result(s)
first First Selected Item
count Number of Results
mode Selection Mode Used
totalItems Total Items Available
weighted Was Weighted (yes/no)

Connect the next step #

Connect the continuation shown on the canvas. Some nodes calculate their branches from the configured options. Read each branch label in the editor and connect the paths your workflow needs.

Test it in a workflow #

  1. Configure this node with a small, recognizable test input or a test resource.
  2. Check the variables from preceding steps and the connection selected in the inspector.
  3. Save the workflow. For event-driven flows, generate the actual event; use Run only for a Manual workflow.
  4. Open Workflow Activity and check the outcome before enabling wider use.

If something goes wrong #

  • Check empty variables, selected resource IDs, and any fields that appeared after resource selection.
  • Check the failed step in Workflow Activity before retrying. If the action may already have completed, inspect the destination first to avoid duplicates.
  • Follow the troubleshooting guide for a symptom-by-symptom checklist.

Catalog coverage #

This is the currently documented selection. Chatigram continues to add nodes, triggers, App Connections, and integrations. Use each page’s review date and the current application selectors to check what is available now; this catalog is not a fixed limit on future features.

Keep building.Need help with this? Explore troubleshooting ↗

Find an answer. Try “welcome workflow”, “database”, or “Telegram”.