TanqoryDocs

TanqoryExtMessagingAutomation

  • Object
  • Other operations

Fields

FieldTypeDescription
channels[TanqoryExtMessagingChannel!]!

The channels of its messages.

createdAtDateTime!
delayMinutesInt!

Minutes between the trigger and the first message.

discountCodeString

The discount's code (its first).

discountIdID

The code discount its emails offer as {{ discount_code }}; null when none is chosen.

discountUsableBoolean!

Whether the chosen discount can be used now (started, not ended); emails naming the code are skipped otherwise.

idID!
lapseDaysInt

NO_ORDER_60_DAYS: days since the customer's last order (default 60); null for other triggers.

lastTriggeredAtDateTime
messages[TanqoryExtMessagingMessage!]!
nameString!
offersDiscountBoolean!

Whether it offers a discount (its template does, or an email names {{ discount_code }}): it is turned on only with one.

sendToTanqoryExtAbandonedCheckoutEmailSendTo

CHECKOUT_ABANDONED automations: who gets the email (SUBSCRIBERS unless the merchant chose ANYONE). Null for the other triggers.

statusTanqoryExtMessagingAutomationStatus!
templateKeyString!
triggerString!

CHECKOUT_ABANDONED, CART_ABANDONED, PRODUCT_BROWSE_ABANDONED, CUSTOMER_SUBSCRIBED, ORDER_PAID, FIRST_ORDER, FIRST_TWO_ORDERS (a thank-you after the first and after the second order, one step each), FIRST_ORDER_NEAR_RETAIL (a first online order shipped near one of the store's retail locations), NO_ORDER_60_DAYS (lapseDays since the last order), CUSTOMER_BIRTHDAY or CUSTOMER_TAGGED_VIP (tagged VIP, or past the VIP thresholds).

vipMinOrdersInt

CUSTOMER_TAGGED_VIP: besides the VIP tag, at least this many paid orders and vipMinSpent spent make a customer VIP; null = the tag only.

vipMinSpentDecimal

CUSTOMER_TAGGED_VIP: the amount spent (store currency, decimal string) that, with vipMinOrders, makes a customer VIP.

Returned by

Used in fields

Built from commit c0b3fb3fdef7 · API version 2026-10