LinkyFlow — autonomous agents and live business data in Excel or on the webLinkyFlow
Klaviyo Coupons: inputs and fields
← Klaviyo connection for LinkyFlow

Klaviyo Coupons: inputs and fields

The account’s coupons — each a discount of a store, by its id there —, and how Klaviyo hands out their codes.

Used as filter by

Read

Coupons

The account’s coupons — each a discount of a store, by its id there —, and how Klaviyo hands out their codes.

Route: GET /coupons

Excel formula: =LF.klaviyo.coupons("selection", "fields")

Inputs you can set

NameTypeRequiredDescription
linkstringYes-
ididNoRead exactly this record. An unknown id is Klaviyo’s refusal.
page_sizenumberNoRows per page (max 100). Default: 50
cursorstringNoThe cursor the previous page answered: empty for the first page.

Data returned in Excel

FieldTypeRelationsDescription
iddefaultid—-
external_iddefaultstring—-
descriptiondefaultstring—-
monitor_configurationstring—-
assigner_configurationstring—-
usedenum—-
unused_expiredenum—-
Create

Create Coupon

Create Coupon

Route: POST /mutation/coupons

Inputs you can set

NameTypeRequiredDescription
assigner_configuration.unused_expiredenumNoValues: ALWAYS_ASSIGN, NEVER_ASSIGN
assigner_configuration.usedenumNoValues: ALWAYS_ASSIGN, ASSIGN_IF_EXPIRED, NEVER_ASSIGN
descriptionstringNo-
external_idstringYes-
monitor_configurationstringNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Update Coupon

Update Coupon

Route: PATCH /mutation/coupons

Inputs you can set

NameTypeRequiredDescription
assigner_configuration.unused_expiredenumNoValues: ALWAYS_ASSIGN, NEVER_ASSIGN
assigner_configuration.usedenumNoValues: ALWAYS_ASSIGN, ASSIGN_IF_EXPIRED, NEVER_ASSIGN
descriptionstringNo-
external_idstringYes-
monitor_configurationstringNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Delete Coupon

Delete Coupon

Route: DELETE /mutation/coupons

Inputs you can set

NameTypeRequiredDescription
assigner_configuration.unused_expiredenumNoValues: ALWAYS_ASSIGN, NEVER_ASSIGN
assigner_configuration.usedenumNoValues: ALWAYS_ASSIGN, ASSIGN_IF_EXPIRED, NEVER_ASSIGN
descriptionstringNo-
external_idstringYes-
monitor_configurationstringNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.