Retrieve campaign send jobs from Klaviyo

Get campaign send jobs by their IDs

yaml
type: "io.kestra.plugin.klaviyo.jobs.GetSendJob"

Get a single campaign send job

yaml
id: klaviyo_get_send_job
namespace: company.team

tasks:
  - id: get_send_job
    type: io.kestra.plugin.klaviyo.jobs.GetSendJob
    apiKey: "{{ secret('KLAVIYO_API_KEY') }}"
    jobIds:
      - "job_id_1"
    fetchType: FETCH_ONE

Get multiple campaign send jobs

yaml
id: "getsendjob"
type: "io.kestra.plugin.klaviyo.jobs.GetSendJob"
- id: get_send_jobs
  type: io.kestra.plugin.klaviyo.jobs.GetSendJob
  apiKey: "{{ secret('KLAVIYO_API_KEY') }}"
  jobIds:
    - "job_id_1"
    - "job_id_2"
  fetchType: FETCH
Properties

Klaviyo private API Key

The API key for authenticating with Klaviyo.

SubType string

List of send job IDs

Campaign send job IDs to retrieve

Default https://a.klaviyo.com/api

Base URL

The base URL for the Klaviyo API

Default FETCH
Possible Values
STOREFETCHFETCH_ONENONE

The 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

The row data

SubType object

The rows data

The size of the rows fetched

Format uri

The URI of the stored data