Concatenate multiple trigger input values

I have a telegram trigger listening for messages. I want to concatenate multiple messages received in a given duration (10 seconds) and send it for processing.

once the first message is received, it should wait 10sec to see if there are any new messages (if yes, concatenate with the previous message) and then move on to the next node to process the messages.

I found this on the web, but It’s not bound by time, or does not combine multiple trigger actions.

How can I implement this?

Please share your workflow

I don’t have a complete workflow… I’m actually struggling to implement this.

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

I’m using the n8n Cloud at the moment.

You’ll need to store the incoming trigger data somewhere, e.g. Redis. And then, have another workflow which executes every 10 seconds and ‘picks up’ the accumulated data, clears the store and then merges that data and then acts on it.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.