Hi, I get a text from telegram as a trigger, and with a text parser module, I match links in the telegram message.
The problem is that when there are two links in the telegram message, I get two bundles in the output:
Every result (item/record) from a search module will output a bundle. To “combine” them into a single structure, you’ll need to use an aggregator of some sort.
Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module.
Thanks for your answers @samliew and @sachin.shrivastava
Is there a way to tell to the text parser something like “just get the first url you find”? That would work for me.
When there are several links in the message, the text parser creates several bundles. I Aggregate them with the aggregator to get an array, and then, since I want to use only the first link in the message, in my scenario I use that: