GetImages
Retrieve images for campaign messages with channel mobile_push
Returns the related images for the given campaign message IDs whose channel is mobile_push
type: "io.kestra.plugin.klaviyo.campaign.messages.GetImages"Examples
Get image for a single message
id: klaviyo_get_image_for_message
namespace: company.team
tasks:
- id: get_image
type: io.kestra.plugin.klaviyo.campaign.messages.GetImages
apiKey: "{{ secret('KLAVIYO_API_KEY') }}"
messageIds:
- "message_id_1"
fetchType: FETCH_ONE
Get images for multiple messages
id: "getimages"
type: "io.kestra.plugin.klaviyo.campaign.messages.GetImages"
- id: get_images
type: io.kestra.plugin.klaviyo.campaign.messages.GetImages
apiKey: "{{ secret('KLAVIYO_API_KEY') }}"
messageIds:
- "message_id_1"
- "message_id_2"
fetchType: FETCH
Properties
apiKey *Requiredstring
Klaviyo private API Key
The API key for authenticating with Klaviyo.
messageIds *Requiredarray
List of message IDs with mobile_push channel
Campaign message IDs for which to retrieve related images
baseUrl string
https://a.klaviyo.com/apiBase URL
The base URL for the Klaviyo API
fetchType string
FETCHSTOREFETCHFETCH_ONENONEThe way you want to store the data
FETCH_ONE output the first row, FETCH output all rows, STORE store all rows in a file, NONE do nothing
Outputs
row object
The row data
rows array
The rows data
size integer
The size of the rows fetched
uri string
uriThe URI of the stored data