Action send_photo
System ID:
action_send_photo
Description
Sends one or more photos through the current channel. Configuration is stored in the node JSON: keys are labels, values are URLs (with placeholders). Alternative: take a photo object from an array in a constant via constant + key.
Events (scenario branches)
No named scenario branches (channel handler result, not a branching event).
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| (photo labels) | string | no | — | Photo URL; key — label, value — URL (placeholders) |
constant | string | no | — | Constant name with an array of photo objects |
key | string | no | 0 | Index / key of the array element (placeholders) |
Configuration example
{
"product": "https://example.com/images/product.jpg",
"detail": "{{photo_url}}"
}
Or from a constant:
{
"constant": "photos",
"key": "{{selected_photo_index}}"
}