Problem to use loop over items and telegram message for a list of chat Ids

I have a simple MySQL query and a list of telegram chat IDs. Now it is under 30 items and its not near to telegram limitations. the output is sth like:

    "chat_id": 22283886
    "chat_id": 22230077

then with a loop i try to send bulk message to each telegram chat Ids.
Also according to some examples I send back the chatid for the loop but the loop does not work. I just got message for the first chatid.
please guide me to solve this problem.

After this stage I need to solve the problem for more than 30 chat ids and balk messages.
thank you

Information on your n8n setup

  • **n8n version: 1.32.2
  • **Database mySql
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via Docker
  • **Operating system: M1 Mac

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:

hello @kpakfar

I would try with removing the Code node. It looks unnessesary there.

1 Like

Thank you. I also eliminate loop. The node handled it itself.

1 Like

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