TanqoryExtMessagingAutomation
- Object
- Other operations
Fields
| Field | Type | Description |
|---|---|---|
channels | [TanqoryExtMessagingChannel!]! | The channels of its messages. |
createdAt | DateTime! | |
delayMinutes | Int! | Minutes between the trigger and the first message. |
discountCode | String | The discount's code (its first). |
discountId | ID | The code discount its emails offer as {{ discount_code }}; null when none is chosen. |
discountUsable | Boolean! | Whether the chosen discount can be used now (started, not ended); emails naming the code are skipped otherwise. |
id | ID! | |
lapseDays | Int | NO_ORDER_60_DAYS: days since the customer's last order (default 60); null for other triggers. |
lastTriggeredAt | DateTime | |
messages | [TanqoryExtMessagingMessage!]! | |
name | String! | |
offersDiscount | Boolean! | Whether it offers a discount (its template does, or an email names {{ discount_code }}): it is turned on only with one. |
sendTo | TanqoryExtAbandonedCheckoutEmailSendTo | CHECKOUT_ABANDONED automations: who gets the email (SUBSCRIBERS unless the merchant chose ANYONE). Null for the other triggers. |
status | TanqoryExtMessagingAutomationStatus! | |
templateKey | String! | |
trigger | String! | 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). |
vipMinOrders | Int | CUSTOMER_TAGGED_VIP: besides the VIP tag, at least this many paid orders and vipMinSpent spent make a customer VIP; null = the tag only. |
vipMinSpent | Decimal | CUSTOMER_TAGGED_VIP: the amount spent (store currency, decimal string) that, with vipMinOrders, makes a customer VIP. |