NEBULUM.ONE

Raffle, Draw & Shuffle Plugin For Bubble.io

Random Picker / Shuffler is a Bubble plugin that selects random items from a comma-separated list. Supports unique picks, history tracking, and is perfect for games, giveaways or draws.

No-Code Raffle System in Bubble with Random Picker

 

In this quick tutorial I’m going to show you how to create draws, giveaways and raffle systems in bubble.io using our random shuffler plugin.

Looking to add randomization functionality to your Bubble app? The Random Picker + Shuffler plugin is the perfect solution for selecting random values from lists and shuffling data. This comprehensive tutorial will walk you through everything you need to know to implement this powerful plugin in your no-code applications.

What is the Random Picker + Shuffler Plugin?

The Random Picker + Shuffler plugin is a versatile Bubble plugin that allows you to feed in a comma-separated list of values and randomly pick N unique items from that list. These values can be anything – names, numbers, dates, or any other data type you need to randomize.

The plugin offers several key features:

  • Select any number of random items from your list
  • Return the full shuffled list after initialization
  • History-aware selection to prevent repeats across multiple calls
  • Perfect for games, giveaways, and progressive draws

Best Use Cases for Random Selection in Bubble Apps

This plugin is incredibly versatile and can be applied to numerous scenarios:

eLearning Platforms: Generate random question sets for student assessments and quizzes.

Lottery and Draw Systems: Create fair raffle systems and giveaway platforms with transparent selection processes.

A/B Testing Applications: Randomize display assets across websites for effective split testing.

Card Games and Gaming Apps: Implement shuffling logic and randomization mechanics for game development.

Winner Selection: Fairly pick winners from participant lists in contests and competitions.

How to Install the Random Picker + Shuffler Plugin

Getting started with the plugin is straightforward:

  1. Navigate to your Bubble app’s plugins tab
  2. Click “Add a new plugin”
  3. Search for “random picker shuffler”
  4. Ensure the plugin is built by Nebulum
  5. Click install to add it to your application

Setting Up Your Input List for Random Selection

Once installed, you’ll need to prepare your data for randomization:

Add an input field to your page and populate it with your list of values. The most crucial requirement is that values must be comma-separated. You have flexibility in how you populate this list:

  • Hard-code static values directly in the input
  • Use dynamic values from your database
  • Pull data from API calls
  • Combine multiple data sources

Configuring the Random Picker Workflow

Setting up the workflow is where the magic happens:

Step 1: Create the Workflow Action

  1. Add a button to trigger the randomization
  2. Click “Add workflow” on the button
  3. Search for “shuffle” and select “random picker / shuffler”

Step 2: Configure Plugin Settings

  • Input List: Map this to your input field containing the comma-separated values
  • Number to Pick: Set how many items you want to select (e.g., 1 for a single winner, 2 for two winners)
  • Allow Duplicates: Choose whether the same item can be selected multiple times across different runs

Advanced Features: Shuffled Lists and Global History

Shuffled Option: Enable this to shuffle your original list each time the workflow runs. You can view the shuffled list by adding an input field and mapping it to the plugin’s ‘list value’.

Global History List: This powerful feature tracks previously selected options to prevent repeats. Store these values in a page state and feed that state’s value back into this field for persistent history tracking.

Managing Results with Custom States

To effectively handle the plugin’s output, you’ll need to set up custom states:

Step 1: Create Custom States

In your page settings, create three custom states:

  • Returned Value: Stores the selected item(s)
  • List Value: Contains the shuffled list
  • History: Maintains a record of all previously selected items

Step 2: Set State Values in Workflow

Add a second workflow step to store the plugin results:

  • Map ‘Returned Value’ to the plugin’s ‘picked values’
  • Map ‘List Value’ to the plugin’s ‘shuffled list’
  • Map ‘History’ to the plugin’s ‘history’ output

Displaying Results on Your Frontend

To show the randomization results to your users, simply map input fields or text elements to your custom state values. This creates a seamless user experience where selected items, shuffled lists, and selection history are immediately visible.

Pro Tip: Check the plugin’s documentation page and click “view in editor” to see exactly how the logic works under the hood and get additional implementation ideas.

Testing Your Random Selection Implementation

Before going live, thoroughly test your implementation:

  • Test with different list sizes and formats
  • Verify that history tracking prevents unwanted duplicates
  • Ensure the shuffled list displays correctly
  • Test edge cases like empty lists or single-item lists

Conclusion: Powerful Randomization Made Simple

The Random Picker + Shuffler plugin transforms complex randomization logic into simple, manageable workflows. Whether you’re building lottery systems, educational platforms, or gaming applications, this plugin provides the reliability and flexibility you need.

By following this tutorial, you now have the knowledge to implement fair, transparent, and efficient random selection in your Bubble applications. The combination of customizable selection criteria, history tracking, and shuffling capabilities makes this plugin an essential tool for any no-code developer.

Need Help with Your Bubble Development?

If you’re looking for assistance during your no-code development journey, Nebulum offers several ways to support your project:

Agency Services: Our team helps builders get their projects off the ground quickly and efficiently. Learn more about our no code agency.

Coaching and Education: For DIY developers, we offer personalized coaching services and comprehensive online no-code development courses.

Templates and Plugins: Explore our growing library of no-code Bubble templates and plugins designed to extend Bubble’s capabilities right out of the box.

Visit our website to learn more about how we can accelerate your no-code development success.

filmmaking editing

Build a Frontier Tech Company Without Code

Build breakthrough AI, ML, data, robotics, biotech, aerospace and web3 applications without code. From prototype to production-ready systems in weeks, not years.

We build with heart

Nebulum logo

A no-code innovation platform that helps non-technical people build technical software applications, bots and automations.

 Version 1.1.1

 

COMPONENTS

Bubble Components
Landing Pages
SaaS Dashboards
Bubble Templates
Bubble Plugins
Bubble Designs

TEMPLATES

Landing Page Theme
Automation Theme
SaaS Dashboard Theme
AI Model Theme
ML Theme
Data Analytics Theme