How to Route Telegram Images Alongside ChatGPT?

What are you trying to achieve?

Hey everyone,

I’ve set up an automation where my Telegram Bot watches updates and processes both text and images. The workflow is supposed to:
1. Extract text and image from Telegram.
2. Send the text to OpenAI.
3. Send text and the original image back to Telegram.

Steps taken so far

I tried many different scenarios (in the image is how I imagine it to be done). ChatGPT shouldnt and cant process the image, so I need somehow to route the image alongside the text so that both can be sent in the Telegram “Send a Photo”

Any help or insights would be appreciated! Thanks in advance!

Screenshots: scenario setup, module configuration, errors

Hey there,

as I understand you need to send the ChatGPT output with the original image back right? In that case you dont need the router at all, just Watch Updates → Create Prompt → Send Photo.

With the router as in your screenshot, the Send Photo module doesn’t have access to what ChatGPT is outputting and you can’t directly map it there.

1 Like