GetRecipient
Retrieve campaign recipient estimation jobs from Klaviyo
Retrieve the status of recipient estimation jobs triggered with the Create Campaign Recipient Estimation Job endpoint
type: "io.kestra.plugin.klaviyo.jobs.GetRecipient"Examples
Get a single recipient estimation job
id: klaviyo_get_recipient_job
namespace: company.team
tasks:
- id: get_recipient_job
type: io.kestra.plugin.klaviyo.jobs.GetRecipient
apiKey: "{{ secret('KLAVIYO_API_KEY') }}"
jobIds:
- "job_id_1"
fetchType: FETCH_ONE
Get multiple recipient estimation jobs
id: "getrecipient"
type: "io.kestra.plugin.klaviyo.jobs.GetRecipient"
- id: get_recipient_jobs
type: io.kestra.plugin.klaviyo.jobs.GetRecipient
apiKey: "{{ secret('KLAVIYO_API_KEY') }}"
jobIds:
- "job_id_1"
- "job_id_2"
fetchType: FETCH
Properties
apiKey *Requiredstring
Klaviyo private API Key
The API key for authenticating with Klaviyo.
jobIds *Requiredarray
List of recipient estimation job IDs
IDs of the campaigns to get recipient estimation job status
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