Caption or text is missing in the Telegram Trigger node

Hi. When I try to send several photos to telegram channel with caption to my post. Telegram trigger node catches my post, have array of the photos, but in data missing text my post which should be in this node.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

Share the output returned by the switch node

[
{
“update_id”: 535436636,
“channel_post”: {
“message_id”: 96,
“sender_chat”: {
“id”: -1003122359371,
“title”: “Cwa test channel”,
“type”: “channel”
},
“chat”: {
“id”: -1003122359371,
“title”: “Cwa test channel”,
“type”: “channel”
},
“date”: 1758957834,
“media_group_id”: “14071662673463778”,
“photo”: [
{
“file_id”: “AgACAgIAAyEFAAS6G2xLAANgaNeRCtNYAAHr4iNbt8ucuDr5mAsbAAKg9jEb9UbASkPoM4PmPdAbAQADAgADcwADNgQ”,
“file_unique_id”: “AQADoPYxG_VGwEp4”,
“file_size”: 1103,
“width”: 51,
“height”: 90
},
{
“file_id”: “AgACAgIAAyEFAAS6G2xLAANgaNeRCtNYAAHr4iNbt8ucuDr5mAsbAAKg9jEb9UbASkPoM4PmPdAbAQADAgADbQADNgQ”,
“file_unique_id”: “AQADoPYxG_VGwEpy”,
“file_size”: 13537,
“width”: 180,
“height”: 320
},
{
“file_id”: “AgACAgIAAyEFAAS6G2xLAANgaNeRCtNYAAHr4iNbt8ucuDr5mAsbAAKg9jEb9UbASkPoM4PmPdAbAQADAgADeAADNgQ”,
“file_unique_id”: “AQADoPYxG_VGwEp9”,
“file_size”: 58934,
“width”: 450,
“height”: 800
},
{
“file_id”: “AgACAgIAAyEFAAS6G2xLAANgaNeRCtNYAAHr4iNbt8ucuDr5mAsbAAKg9jEb9UbASkPoM4PmPdAbAQADAgADeQADNgQ”,
“file_unique_id”: “AQADoPYxG_VGwEp-”,
“file_size”: 78532,
“width”: 720,
“height”: 1280
}
]
}
}
]

Information on your n8n setup

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

Hi @nic11371 ,

which n8 version do you use?

I just tested it with n8n version 1.112.5 and it works fine!
Caption is only shown for the last file.
{

“file_id”: “AgACAgIAAxkBAAM2aNk9FsCwlFExgaQ6YxNCBHFQJhQAAob6MRsYo9FKGntBshjc_0cBAAMCAANtAAM2BA”,

“file_unique_id”: “AQADhvoxGxij0Upy”,

“file_size”: 11168,

“width”: 320,

“height”: 180

},

{

“file_id”: “AgACAgIAAxkBAAM2aNk9FsCwlFExgaQ6YxNCBHFQJhQAAob6MRsYo9FKGntBshjc_0cBAAMCAAN4AAM2BA”,

“file_unique_id”: “AQADhvoxGxij0Up9”,

“file_size”: 43724,

“width”: 800,

“height”: 450

},

{

“file_id”: “AgACAgIAAxkBAAM2aNk9FsCwlFExgaQ6YxNCBHFQJhQAAob6MRsYo9FKGntBshjc_0cBAAMCAAN5AAM2BA”,

“file_unique_id”: “AQADhvoxGxij0Up-”,

“file_size”: 79642,

“width”: 1280,

“height”: 720

}

],

“caption”: “File caption test”

}

}

]

Yes, I’ve actually faced this issue before and I think I know the reason behind it.

The problem occurs when you upload multiple images along with a caption, Telegram assigns the caption to only one of the images, while the rest remain without a caption. That’s why in n8n you “sometimes” get a caption and “sometimes” you don’t, it’s random at this point!

I’m not sure if this is something that can be fixed on the n8n side, or if it’s a limitation from Telegram itself.

I use 1.106.3. I updated the version n8n to 1.112.5. The problem remains.

Thank you. It seems to me that the problem is that node telegram in n8n. It is a bag. It should be correct..

Ah, I allways tried with one image!
Now I tested with 2 images an can confirm this issue!
No caption is received…

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