Feature Request: While Loop

Hi Alumio,

I’m pretty sure I might’ve requested something like this before, but I’d really like a “While” loop option.

I’ve been working more with Agents, AI Tool Calling & Multi-turn conversations (even if it’s not an actual conversation, but a background automation). Unfortunately our options in Alumio are at the moment somewhat limited, because there’s no ‘while loop’.

Let’s use an example: we have a PDF that we want to transform into a ‘draft Purchase Order’ for the AI.

  • We send the PDF to the AI and ask it to create the structured output needed for the ERP
  • The AI wants to do a search on ‘ACME’ as ‘supplier’
  • The AI wants to do a search on the SKUs to see if they exist
  • The AI wants to check out the pricing mentioned in the PO’s on the products to see if they’re OK

Now in some cases we might know exactly how many steps the conversation is going to be, but most often the AI might need to call different tools and some things might be optional.

Currently in Alumio we don’t have an easy way to handle this, but with a While call we would just:

  • Check the response from the AI. Is it a Function Call? Do the needed logic for the Function Response
  • Call the AI again with the Function Response
  • Check the response from the AI, is it a Function Call? […]
  • Check the response from the AI, is it the expected structured output (“Reason: FINISHED”)? Then map everything necessary and send to the ERP

We’d need a ‘max loops’ attribute and a way to ‘tell’ Alumio whether we want to break out of the loop or continue with the next loop.

Hi @floris,

Thank you for sharing this feature request and outlining your use case. We really appreciate the time you took to explain how a While Loop mechanism would benefit your integrations.

I wanted to let you know that this request has already been submitted previously and is currently included in our internal request lists. Our development team is aware of the use case and will evaluate it further as part of the ongoing backlog review process.

At this stage, we can’t provide a timeline or commitment yet, but your additional input reinforces the relevance of this feature and helps us better understand its impact for customers. We will update this thread if there is any progress on the feature.

Thank you again for contributing and helping us improve Alumio!