io_io
April 24, 2024, 9:53pm
1
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.
I see, so you don’t have the actual files in n8n but instead have URLs you want to share in Telegram? And these URLs would come through as an array in a single attachments field for each of your items?
My suggestion would be an approach like this: Convert each individual string in your attachments arrays into individual items. Afterwards you have exactly one photo per item and can set up the Telegram node to handle only one attachment. Here is an example built on top of the workflow you have sh…
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
n8n
April 24, 2024, 9:53pm
2
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:
Jon
May 12, 2024, 5:02am
3
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 Like
I think this would be a good solution, it works well in Make. N8n devs should create the option ‘Expression’ in Media. Tks!
shuui
November 29, 2024, 10:52am
5