Telegram Trigger Not Working When Mindstudio Is Not Open

Hi all,

I have a workflow which works with a Telegram message trigger. It works perfect when I have the Mindstudio tab open on my browser. However, if my browser is not open or if I turn off my laptop, the workflow does not start when a telegram message is received.

Hi @alpersoy,

Could you record a quick Loom showing the block configuration and the steps leading up to the error? That would help us reproduce the issue on our end and narrow down the cause.

Alternatively, you can use the link below to record your screen:

I’d also appreciate it if you could share the remix link to your Agent so I can copy your Agent to double-check the setup.

Hi Alex,

Here is the remix link: https://app.mindstudio.ai/agents/crypto-market-analyst-a917b399/remix

I didn’t record my screen because there are no actual errors. The thing is if mindstudio tab is not open, the workflow does not start. It only starts if the tab is actually open on my browser.

Hey, can I get any help?

Hi @alpersoy,

Apologies for the delay.

We’ve tried reproducing the issue several times on our end but haven’t been able to replicate it so far.

Could you share a few examples of messages that don’t start new Agent runs? That would help us as we continue to investigate the issue.

Hey Alex,

Literally any message don’t start new agent runs IF the browser is not open. If the browser is open and Mindstudio is logged in to, there are no problems.

Hi @alpersoy,

Thanks for your patience. We’ve been testing this internally since your first report, but we haven’t been able to reproduce the issue so far.

I confirmed with our developers that having MindStudio closed in your browser shouldn’t affect whether runs start, since the Agent remains active in the background. That’s why seeing a recording would be especially helpful.

Would you be able to record your screen to show the issue? Seeing the exact steps should help us understand where things might be breaking. It would be helpful if you could record the following steps:

  1. Start the recording
  2. Send a message to the bot in Telegram
  3. Open the Agent’s debugger and select the latest run to show that no run was launched for that message

You can use the link below to record your screen:
https://recorder.jam.dev/7mjyJXJ

The recording should help us replicate the issue on our end and pinpoint the exact cause.

Hi Alex,

I also failed to reproduce the issue so far :smiley:

It is now working whether the browser is open or not.

Thank you for your help

Hey,

In case someone else runs into the same issue, I have finally identified what the problem is. The problem was that I was using another bot to forward a message from a Telegram group to another Telegram group (which had the MindStudio connected bot as a member). Turns out, Telegram bots do not receive messages from other telegram bots in groups. So I had to forward the messages to a channel, which solved the problem.

Bots FAQ.

1 Like