Hello Botpress community,
I'm building a bot integrated with Telegram, and I would like the bot to receive an image sent by the user and then send that image to a webhook. The goal is to process the file in Make (Integromat) and ultimately upload it to Google Drive through automation.
So far, the bot is receiving the message and image from Telegram correctly, but I'm having trouble capturing the file_id of the image and sending it to the webhook for further processing.
Here’s the flow I want to achieve:
The user sends an image to the Telegram bot.
The bot captures the file_id of that image.
The file_id is sent to a Make webhook.
In Make, I want to use that file_id to download the image from Telegram and then upload it to Google Drive.
I've tried accessing event.payload.message.photo, but the bot keeps failing to find the message or image. I also attempted sending the entire payload to the webhook, but it’s still not working as expected.
Has anyone encountered a similar issue or can suggest how to properly set up the bot to handle and send images to the webhook?
I appreciate any guidance or code examples you can share!