Context:
One of my scenarios retrieves attachments that I send to my Telegram bot from other channels I follow. Everything goes to Airtable, and the next scenario, which I’m currently having trouble with, should send these attachments (photos, videos) together with the content in a single message.
Goal:
My goal is to set up a Telegram bot in such a way that it sends attachments that have been previously downloaded and are stored on Airtable (photos and videos), all within a single message instead of separate ones.
Problem:
I don’t know how to properly map and send attachments as a media group in the Telegram module. I keep sending multiple messages with different attachments one after another, but I want it to be a single message. I’m having trouble using the map()
function, so maybe that’s the issue. I would greatly appreciate your help. Below is a Loom video with couple of screenshots.
Screenshots:
First scenario:
Second scenario:
Iterator:
Airtable:
Video:
https://www.loom.com/share/9df76258066b4a0089c4bf409798aab6?sid=c3a3f05c-4793-4236-a41c-61ff9592febe