N8N photo pipeline issue

Describe the problem/error/question

I have a Telegram bot in n8n. User picks a menu option, gets prompted to send a photo, sends it. Two problems: 1) The photo routes to the wrong pipeline instead of the one matching the user’s menu selection. 2) The Get File node fires too fast and receives incompatible data instead of the actual photo. How do I fix both

I already have a switch node which routes all my options and even more I have another switch which routes based on the status of the option they chose

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

Hey @aiagentlord
I’ve seen this happen when state isn’t persisted between messages. The menu choice gets lost, so the photo hits the wrong branch. I’d store the user state and route based on it. Also add a check for message.photo before Get File.

Telegram sends photos under message.photo, not message.text. If your trigger is filtering for text messages only, photo updates get silently dropped. Open the Telegram trigger node and make sure it is set to receive all update types.