Telegram sendMediaGroup can not be used to send album of variable anount of pictures

Describe the problem/error/question

It looks like there is no way to use Telegram sendMediaGroup node to send a bunch of pictures as an album. It works only if node gets static number of pictures.

There was a thread before but no viable solution was ever presented.

Information on your n8n setup

  • n8n version: 1.38.1
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: debian

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @io_io,

If looks like we only support sending a known amount of items at the moment. I have changed this to a feature request so we can think about adding this in the future.

إعجاب واحد (1)

I think this would be a good solution, it works well in Make. N8n devs should create the option ‘Expression’ in Media. Tks!

إعجاب واحد (1)

you can try this workaround Dynamically send variable groups of media on Telegram with n8n - #2 by shuui

إعجاب واحد (1)