Hello, what am I doing wrong?
I’m trying to send media files from Google Drive to Telegram, but I’m not able to create the correct expression.
Images in Google Drive are temporary and can have one or more images.
Input:
Expression:
{
"chat_id": "@mychatid",
"media": [
{{ $json.map(file => ({
"type": "photo",
"media": `https://lh3.googleusercontent.com/d/${file.id}`
})) }}
]
}
HTTP Request:
I am not getting any error because my expression is wrong.
Information on my n8n setup
- n8n version: 1.62.5
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- Operating system: CloudLinux v8.10.0
Tks!!