MARKETPLACE
PLUGINS
LIST POPPER AND FRIENDS (SSAS)
List Popper and Friends (SSAs) logo

List Popper and Friends (SSAs)

Published January 2020
   •    Updated today

Plugin details

A collection of 6 cool Server Side Actions:
* List Popper SSA: Given a list, pops the first item off of it and returns that item, along with the now shortened list. Unlike Bubble's "remove" and "minus item" list operations, List Popper preserves duplicate values and does not "Bubble-ize" your list! Useful in recursive API Workflows.

* FLOW State List SSA: A custom state, but for server-side (API aka "backend") workflows. This one holds lists. It's like a local variable  for your server-side workflows. (Why isn't this just built into Bubble, eh?)

* FLOW State Single SSA: A custom state, but for server-side (API aka "backend") workflows. This one holds single items. Think of it like a local variable for your server-side workflows. Since the input item can be an expression, you can now do intermediate operations on data values inside of your workflow. This plugin is so trivial that it's hard to believe this isn't just built into Bubble. (Whatever, right?)

* List Pusher SSA: Given a list and an item, the item is pushed onto the list as the last item. The pushed item and updated list are returned. Unlike Bubbles "add" and "plus item" list operators, List Pusher preserves duplicate values and does not "Bubble-ize" your list! (You can create lists like [1, 1, 1, 1].) Handy!

* IndexOf SSA: Find the first or last index of some Item in some List inside of a backend workflow. Enables (among other things) reliable, incremental serial number creation.

* List Slicer Pusher SSA: Combines the features of List Popper and List Pusher, to allow you to "slice" (some number of) items off of one list then optionally push (some or all of a list of) new items onto the resulting list, returning the sliced items, the pushed items, the remaining list, and the remaining list of items to push. So, sort of like two List Poppers in one, but accepts and returns lists. It's fancy. In recursive workflows this can be used to deplete a list by more than 1 item at a time, concatenate two lists, split a list in two, etc., etc. Many different applications!

REMINDER: List Popper & Friends is Karma-Ware. Using them without contributing at https://grupz.com/karma will lead to your loved ones (or possibly that woman you see every morning at Starbucks but have never bothered to properly meet) being horribly disfigured and/or maimed in an inexplicable wood-chipper accident. It's been known to happen. You've been warned.

Free

For everyone

3.9 stars   •   8 ratings
3.1K installs
This plugin does not collect or track your personal data.

Other actions

Contributor details

Keith from GRUPZ logo
Keith from GRUPZ
Joined 2018   •   13 Plugins
View contributor profile

Instructions

Add this plugin to your project and you will find 5 useful new actions under workflow Actions > Data (Things):
* List Popper SSA
* FLOW State List SSA
* FLOW State Single SSA
* List Pusher SSA
* IndexOf SSA
* List Slicer Pusher SSA

Read the documentation in the action interfaces themselves.

All of these are Server-Side Actions intended for use in API Workflows, but might have other applications in-page (though note that performance of SSAs is a little strange - they take time to instantiate and the features of List Popper and List Pusher are essentially available in my List Shifter plugin -- go get that and donate if you find them useful at https://grupz.com/karma).

Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:

Resources

Support contact
Tutorial

Rating and reviews

Average rating (3.9)
Data in Group aggregate
March 4th, 2024
The list does not hold data if "grouped by" is used in the search
Must have if working with lists of 100+ items
July 12th, 2023
This plugin is the best way to make changes to a list of things. The most reliable solution out there. Yes, it uses additional WU (no fault of Keith) but that's a price I'm willing to pay for reliability.
nice plugin, but adds WU
May 31st, 2023
did some testing and when using backend wflows, it adds ca 1,15WU per action... it's funny, because if you call a search directly from an arbitrary text, the search doesnt cost anything in WU. So, the plugin is nice to organize and easy maintenance. However, with the new pricing plan, it would be better pricewise to avoid the usage, specially if dealing with intense use (ex. chatbots)
Solves server side states
April 24th, 2023
How Bubble doesn't offer state for backend workflows is beyond me but this plug-in solves this. Good Karma!
Pop first or last element in list
June 1st, 2022
Thanks for this plugin, however I can only use it half way I'm trying to do a page history, I created a "Go to page" custom workflow that adds a new element in the list using the list PUSHER, this adds the element as the LAST ELEMENT, Then I created a custom workflow called "Go Back to previous page", what would be really interesting is to grab the item I added last in the list, and remove that item from the List, the List Popper removes the first item and not the last, so I have to go back to the minus option. Unless there is another way to use it. Would it be possible to select if we want to remove the first or the last item from the list? This would be so handy. Any tips?
Bubble