{
  "woocommerce_new_order": [
    {
      "id": "order-received",
      "name": "Order received",
      "description": "Confirms the order to the customer with items, total, payment and shipping method.",
      "recipient": "{{ order.phone }}",
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}! 😊</p><p></p><p>We've received your order <strong>#{{ order.number }}</strong>.</p><p></p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment: {{ order.payment_method_title }}</p><p>{{/if}}</p><p>{{#if order.shipping_method_title}}</p><p>Shipping: {{ order.shipping_method_title }}</p><p>{{/if}}</p><p></p><p>Thanks for shopping with us! Any questions, just reply to this message.</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Woohoo, {{ order.billing.first_name }}! 🎉</p><p></p><p>Your order <strong>#{{ order.number }}</strong> just landed with us.</p><p></p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Total: <strong>{{ money order.total }}</strong> 🛍️</p><p>{{#if order.payment_method_title}}</p><p>Payment: {{ order.payment_method_title }}</p><p>{{/if}}</p><p>{{#if order.shipping_method_title}}</p><p>Shipping: {{ order.shipping_method_title }}</p><p>{{/if}}</p><p></p><p>Thanks a bunch! Need anything? Just give us a shout 😉</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We confirm that we have received your order <strong>#{{ order.number }}</strong>.</p><p></p><p>Items:</p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Order total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment method: {{ order.payment_method_title }}</p><p>{{/if}}</p><p>{{#if order.shipping_method_title}}</p><p>Shipping method: {{ order.shipping_method_title }}</p><p>{{/if}}</p><p></p><p>Thank you for your purchase. Please do not hesitate to contact us should you need any assistance.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "new-order-store-alert",
      "name": "New order alert for the store",
      "description": "Alerts the store owner about each new order. Enter your own number as the recipient.",
      "recipient": "",
      "tones": {
        "standard": [
          "<p>🛒 <strong>New order #{{ order.number }}</strong></p><p></p><p>Customer: {{ order.billing.first_name }} {{ order.billing.last_name }}</p><p>Total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>Items:</p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p>{{#if order.billing.phone}}</p><p></p><p>Phone: {{ order.billing.phone }}</p><p>{{/if}}</p>"
        ],
        "casual": [
          "<p>Ka-ching! New order just came in 🎉</p><p></p><p><strong>#{{ order.number }}</strong> from {{ order.billing.first_name }} {{ order.billing.last_name }}</p><p>Total: <strong>{{ money order.total }}</strong> 💰</p><p></p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Hop over to your dashboard to check it out 👀</p>"
        ],
        "formal": [
          "<p><strong>{{ site_name }} | New order received</strong></p><p></p><p>Order: #{{ order.number }}</p><p>Customer: {{ order.billing.first_name }} {{ order.billing.last_name }}</p><p>Order total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment method: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>Items:</p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p>{{#if order.billing.phone}}</p><p></p><p>Phone: {{ order.billing.phone }}</p><p>{{/if}}</p><p></p><p>Please review the order details in the store dashboard.</p>"
        ]
      }
    }
  ],
  "woocommerce_checkout_order_created": [
    {
      "id": "order-received",
      "name": "Order received",
      "description": "Confirms the order to the customer with items, total, payment and shipping method.",
      "recipient": "{{ order.phone }}",
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}! 😊</p><p></p><p>We've received your order <strong>#{{ order.number }}</strong>.</p><p></p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment: {{ order.payment_method_title }}</p><p>{{/if}}</p><p>{{#if order.shipping_method_title}}</p><p>Shipping: {{ order.shipping_method_title }}</p><p>{{/if}}</p><p></p><p>Thanks for shopping with us! Any questions, just reply to this message.</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Woohoo, {{ order.billing.first_name }}! 🎉</p><p></p><p>Your order <strong>#{{ order.number }}</strong> just landed with us.</p><p></p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Total: <strong>{{ money order.total }}</strong> 🛍️</p><p>{{#if order.payment_method_title}}</p><p>Payment: {{ order.payment_method_title }}</p><p>{{/if}}</p><p>{{#if order.shipping_method_title}}</p><p>Shipping: {{ order.shipping_method_title }}</p><p>{{/if}}</p><p></p><p>Thanks a bunch! Need anything? Just give us a shout 😉</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We confirm that we have received your order <strong>#{{ order.number }}</strong>.</p><p></p><p>Items:</p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Order total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment method: {{ order.payment_method_title }}</p><p>{{/if}}</p><p>{{#if order.shipping_method_title}}</p><p>Shipping method: {{ order.shipping_method_title }}</p><p>{{/if}}</p><p></p><p>Thank you for your purchase. Please do not hesitate to contact us should you need any assistance.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "new-order-store-alert",
      "name": "New order alert for the store",
      "description": "Alerts the store owner about each new order. Enter your own number as the recipient.",
      "recipient": "",
      "tones": {
        "standard": [
          "<p>🛒 <strong>New order #{{ order.number }}</strong></p><p></p><p>Customer: {{ order.billing.first_name }} {{ order.billing.last_name }}</p><p>Total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>Items:</p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p>{{#if order.billing.phone}}</p><p></p><p>Phone: {{ order.billing.phone }}</p><p>{{/if}}</p>"
        ],
        "casual": [
          "<p>Ka-ching! New order just came in 🎉</p><p></p><p><strong>#{{ order.number }}</strong> from {{ order.billing.first_name }} {{ order.billing.last_name }}</p><p>Total: <strong>{{ money order.total }}</strong> 💰</p><p></p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Hop over to your dashboard to check it out 👀</p>"
        ],
        "formal": [
          "<p><strong>{{ site_name }} | New order received</strong></p><p></p><p>Order: #{{ order.number }}</p><p>Customer: {{ order.billing.first_name }} {{ order.billing.last_name }}</p><p>Order total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment method: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>Items:</p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p>{{#if order.billing.phone}}</p><p></p><p>Phone: {{ order.billing.phone }}</p><p>{{/if}}</p><p></p><p>Please review the order details in the store dashboard.</p>"
        ]
      }
    }
  ],
  "woocommerce_order_status_change": [
    {
      "id": "payment-pending",
      "name": "Awaiting payment",
      "description": "Lets the customer know the order was created and is awaiting payment.",
      "recipient": "{{ order.phone }}",
      "fields": {
        "status": "wc-pending"
      },
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}! 😊</p><p></p><p>Your order <strong>#{{ order.number }}</strong> is awaiting payment.</p><p></p><p>Total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment method: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>To move forward with your order, just complete the payment. As soon as it's confirmed, we'll take care of the rest.</p><p></p><p>Already paid? Please ignore this message.</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Hey {{ order.billing.first_name }}! 👋</p><p></p><p>Your order <strong>#{{ order.number }}</strong> is waiting for you. Only the payment is left 😉</p><p></p><p>Total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>Once it goes through, we'll roll up our sleeves 📦</p><p>Already paid? Then you can ignore this one 🙌</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>Our records show that payment for order <strong>#{{ order.number }}</strong> is still pending.</p><p></p><p>Order total: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment method: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>We kindly ask you to complete the payment so that we can proceed with your order. If you have already done so, please disregard this message.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "payment-approved",
      "name": "Order confirmed",
      "description": "Lets the customer know the order is confirmed and already being prepared.",
      "recipient": "{{ order.phone }}",
      "fields": {
        "status": "wc-processing"
      },
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}! 🎉</p><p></p><p>Your order <strong>#{{ order.number }}</strong> has been confirmed.</p><p>We're now getting everything ready for you.</p><p></p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Total: <strong>{{ money order.total }}</strong></p><p></p><p>Thanks for shopping with us!</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Yay, {{ order.billing.first_name }}! Order confirmed ✅</p><p></p><p>We're already getting your order <strong>#{{ order.number }}</strong> ready 📦</p><p></p><p>{{#each order.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Sit back and relax, we've got it from here 😄</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We are pleased to confirm your order <strong>#{{ order.number }}</strong>, in the amount of <strong>{{ money order.total }}</strong>.</p><p></p><p>Your order is now being prepared.</p><p></p><p>Thank you for your purchase.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "payment-on-hold",
      "name": "Awaiting payment confirmation",
      "description": "Lets the customer know the order is awaiting payment confirmation and asks those who haven't paid yet to complete the payment.",
      "recipient": "{{ order.phone }}",
      "fields": {
        "status": "wc-on-hold"
      },
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}!</p><p></p><p>Your order <strong>#{{ order.number }}</strong> is awaiting payment confirmation ⏳</p><p></p><p>Total: <strong>{{ money order.total }}</strong></p><p></p><p>If you've already paid, there's nothing else to do: as soon as the payment is confirmed, we'll move ahead with your order.</p><p>If you haven't paid yet, just complete the payment{{#if order.payment_method_title}} via {{ order.payment_method_title }}{{/if}}.</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Hey {{ order.billing.first_name }}! ⏳</p><p></p><p>Your order <strong>#{{ order.number }}</strong> is safe with us, waiting for the payment to be confirmed.</p><p></p><p>Total: <strong>{{ money order.total }}</strong></p><p></p><p>Already paid? You're all set, we'll take it from there once it's confirmed 🙌</p><p>Haven't paid yet? Just complete the payment{{#if order.payment_method_title}} via {{ order.payment_method_title }}{{/if}} 😉</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>Please be advised that order <strong>#{{ order.number }}</strong> is awaiting payment confirmation.</p><p></p><p>Order total: <strong>{{ money order.total }}</strong></p><p></p><p>If you have already made the payment, no further action is required: we will proceed with your order once it has been confirmed.</p><p>If you have not yet done so, we kindly ask you to complete the payment{{#if order.payment_method_title}} via {{ order.payment_method_title }}{{/if}}.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "order-completed",
      "name": "Order completed",
      "description": "Lets the customer know the order is complete, with tracking code and link if any.",
      "recipient": "{{ order.phone }}",
      "fields": {
        "status": "wc-completed"
      },
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}! 😊</p><p></p><p>Your order <strong>#{{ order.number }}</strong> has been completed.</p><p>{{#if order.tracking_code}}</p><p></p><p>Tracking number: <strong>{{ order.tracking_code }}</strong></p><p>{{/if}}</p><p>{{#if order.tracking_url}}</p><p>Track your delivery: {{ order.tracking_url }}</p><p>{{/if}}</p><p></p><p>Thank you for shopping with us!</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>All done, {{ order.billing.first_name }}! ✅</p><p></p><p>Your order <strong>#{{ order.number }}</strong> is complete.</p><p>{{#if order.tracking_code}}</p><p></p><p>Tracking: <strong>{{ order.tracking_code }}</strong> 📦</p><p>{{/if}}</p><p>{{#if order.tracking_url}}</p><p>Tap to follow it: {{ order.tracking_url }}</p><p>{{/if}}</p><p></p><p>Thanks a ton for your order! 💙</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We are pleased to inform you that order <strong>#{{ order.number }}</strong> has been completed.</p><p>{{#if order.tracking_code}}</p><p></p><p>Tracking number: <strong>{{ order.tracking_code }}</strong></p><p>{{/if}}</p><p>{{#if order.tracking_url}}</p><p>Delivery tracking: {{ order.tracking_url }}</p><p>{{/if}}</p><p></p><p>Thank you for choosing us.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "order-shipped",
      "name": "Order shipped",
      "description": "Lets the customer know the order has shipped, with tracking. Pick your shipping status.",
      "recipient": "{{ order.phone }}",
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}! 📦</p><p></p><p>Your order <strong>#{{ order.number }}</strong> has been shipped.</p><p>{{#if order.shipping_method_title}}</p><p>Shipping method: {{ order.shipping_method_title }}</p><p>{{/if}}</p><p>{{#if order.tracking_code}}</p><p>Tracking number: <strong>{{ order.tracking_code }}</strong></p><p>{{/if}}</p><p>{{#if order.tracking_url}}</p><p>Track your delivery: {{ order.tracking_url }}</p><p>{{/if}}</p><p></p><p>Thanks for your order!</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>It's on its way, {{ order.billing.first_name }}! 🚚</p><p></p><p>Your order <strong>#{{ order.number }}</strong> has hit the road.</p><p>{{#if order.shipping_method_title}}</p><p>Shipping: {{ order.shipping_method_title }}</p><p>{{/if}}</p><p>{{#if order.tracking_code}}</p><p>Tracking: <strong>{{ order.tracking_code }}</strong></p><p>{{/if}}</p><p>{{#if order.tracking_url}}</p><p>Follow it here: {{ order.tracking_url }} 👀</p><p>{{/if}}</p><p></p><p>Now just keep an eye out! 😄</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We are pleased to inform you that order <strong>#{{ order.number }}</strong> has been shipped.</p><p>{{#if order.shipping_method_title}}</p><p>Shipping method: {{ order.shipping_method_title }}</p><p>{{/if}}</p><p>{{#if order.tracking_code}}</p><p>Tracking number: <strong>{{ order.tracking_code }}</strong></p><p>{{/if}}</p><p>{{#if order.tracking_url}}</p><p>Delivery tracking: {{ order.tracking_url }}</p><p>{{/if}}</p><p></p><p>Should you need any assistance, please do not hesitate to contact us.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "order-cancelled",
      "name": "Order cancelled",
      "description": "Lets the customer know the order was cancelled and offers help.",
      "recipient": "{{ order.phone }}",
      "fields": {
        "status": "wc-cancelled"
      },
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }},</p><p></p><p>Your order <strong>#{{ order.number }}</strong> has been cancelled.</p><p></p><p>If you have any questions or would like help placing your order again, just reply to this message. We're happy to help 🙂</p><p></p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Hey {{ order.billing.first_name }} 😕</p><p></p><p>Your order <strong>#{{ order.number }}</strong> has been cancelled.</p><p></p><p>Was that a mistake, or want to give it another go? Message us here and we'll sort it out together 💬</p><p></p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>Please be advised that order <strong>#{{ order.number }}</strong> has been cancelled.</p><p></p><p>Should you have any questions or require assistance placing a new order, simply reply to this message.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "order-refunded",
      "name": "Order refunded",
      "description": "Lets the customer know the order has been refunded.",
      "recipient": "{{ order.phone }}",
      "fields": {
        "status": "wc-refunded"
      },
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }},</p><p></p><p>Your order <strong>#{{ order.number }}</strong> has been refunded.</p><p>Amount: <strong>{{ money order.total }}</strong></p><p>{{#if order.payment_method_title}}</p><p>Payment method: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>How long it takes to show up in your account or card statement depends on the payment method and your bank.</p><p></p><p>Any questions? Just reply to this message 🙂</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Hey {{ order.billing.first_name }}! 💸</p><p></p><p>We've refunded your order <strong>#{{ order.number }}</strong>.</p><p>Amount: <strong>{{ money order.total }}</strong></p><p></p><p>Heads up: how fast it lands in your account or on your card depends on your bank.</p><p>Questions? Give us a shout 😉</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We would like to inform you that a refund has been issued for order <strong>#{{ order.number }}</strong>, in the amount of <strong>{{ money order.total }}</strong>.</p><p></p><p>The time it takes for the amount to be credited depends on the payment method used and your financial institution.</p><p></p><p>Please do not hesitate to contact us should you require any further information.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "payment-failed",
      "name": "Payment failed",
      "description": "Lets the customer know the payment did not go through and asks them to try again.",
      "recipient": "{{ order.phone }}",
      "fields": {
        "status": "wc-failed"
      },
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }},</p><p></p><p>We couldn't confirm the payment for your order <strong>#{{ order.number }}</strong>.</p><p>{{#if order.payment_method_title}}</p><p>Payment method: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>You can try again on our website, {{ site_url }}, using another payment method if you prefer. Need a hand? Just reply to this message 🙂</p><p></p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Oops, {{ order.billing.first_name }}! 😅</p><p></p><p>The payment for order <strong>#{{ order.number }}</strong> didn't go through.</p><p></p><p>Want to give it another shot? Just head back to {{ site_url }}, with a different payment method if you like.</p><p>Stuck somewhere? Message us here 💬</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We regret to inform you that we were unable to confirm the payment for order <strong>#{{ order.number }}</strong>.</p><p>{{#if order.payment_method_title}}</p><p>Payment method: {{ order.payment_method_title }}</p><p>{{/if}}</p><p></p><p>We kindly ask you to try again at {{ site_url }}, using an alternative payment method if you prefer. Should you require assistance, simply reply to this message.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    }
  ],
  "woocommerce_completed_order_delay": [
    {
      "id": "review-request",
      "name": "Review request",
      "description": "Sent 7 days after the order is completed: asks the customer to review the purchased products, with a link to each product page.",
      "recipient": "{{ order.phone }}",
      "fields": {
        "delay_time": 7,
        "delay_unit": "days"
      },
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}! 😊</p><p></p><p>We hope you're enjoying your purchase.</p><p></p><p>Would you tell us what you think? Just open the product link and leave a review on its page:</p><p>{{#each order.items}}</p><p>• {{ name }}: {{ link }}</p><p>{{/each}}</p><p></p><p>Your feedback means a lot to us and helps other shoppers too. Thank you!</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Hey {{ order.billing.first_name }}! 👋</p><p></p><p>Had a chance to enjoy your order <strong>#{{ order.number }}</strong> yet?</p><p></p><p>We'd love to hear what you think! Just tap the product link and leave a review on its page ⭐</p><p>{{#each order.items}}</p><p>• {{ name }}: {{ link }}</p><p>{{/each}}</p><p></p><p>Your opinion makes all the difference 💙</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We hope you are satisfied with your purchase from order <strong>#{{ order.number }}</strong>.</p><p></p><p>We would greatly appreciate your feedback. To share it, simply follow the link to each product below and leave a review on its page:</p><p>{{#each order.items}}</p><p>• {{ name }}: {{ link }}</p><p>{{/each}}</p><p></p><p>Thank you in advance for your time.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "thank-you-comeback",
      "name": "Thank you and come back",
      "description": "Sent 30 days after the order is completed: thanks the customer for the purchase and invites them back to the store.",
      "recipient": "{{ order.phone }}",
      "fields": {
        "delay_time": 30,
        "delay_unit": "days"
      },
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}! 💙</p><p></p><p>Just wanted to thank you once again for your purchase.</p><p></p><p>Whenever you'd like to come back, we'll be here: {{ site_url }}</p><p></p><p>It'll be a pleasure to serve you again!</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Hey {{ order.billing.first_name }}! 😄</p><p></p><p>Just popping in to say: thanks for shopping with us!</p><p></p><p>Feel like coming back? Our store is always open for you 🛍️</p><p>{{ site_url }}</p><p></p><p>See you next time! 👋</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We sincerely thank you for placing your trust in our store.</p><p></p><p>It would be a pleasure to welcome you back. Our website is always at your disposal: {{ site_url }}</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    }
  ],
  "infixs_correios_automatico_customer_return": [
    {
      "id": "return-requested",
      "name": "Return authorized",
      "description": "Sends the return code and asks the customer to drop the package at a Correios branch.",
      "recipient": "{{ order.phone }}",
      "tones": {
        "standard": [
          "<p>Hi {{ order.billing.first_name }}!</p><p></p><p>The return for your order <strong>#{{ order.number }}</strong> has been authorized ✅</p><p>{{#if order.return_code}}</p><p></p><p>Return code: <strong>{{ order.return_code }}</strong></p><p>{{/if}}</p><p></p><p>Please pack the item and take the package to a Correios post office. Give the return code at the counter.</p><p></p><p>Any questions? Just reply to this message.</p><p>{{ site_name }}</p>"
        ],
        "casual": [
          "<p>Hey {{ order.billing.first_name }}! 📦</p><p></p><p>All set: the return for order <strong>#{{ order.number }}</strong> has been approved.</p><p>{{#if order.return_code}}</p><p></p><p>Your code: <strong>{{ order.return_code }}</strong></p><p>{{/if}}</p><p></p><p>Just pack it up nicely and drop it off at a Correios post office. Show them the return code at the counter 😉</p><p></p><p>Questions? Give us a shout!</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ order.billing.first_name }},</p><p></p><p>We would like to inform you that the return for order <strong>#{{ order.number }}</strong> has been authorized.</p><p>{{#if order.return_code}}</p><p></p><p>Return authorization code: <strong>{{ order.return_code }}</strong></p><p>{{/if}}</p><p></p><p>Please pack the item and take it to a Correios post office, providing the return code at the counter.</p><p></p><p>We remain at your disposal.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    }
  ],
  "woocommerce_abandoned_cart": [
    {
      "id": "cart-reminder",
      "name": "Cart reminder",
      "description": "Gentle reminder sent 1 hour after the cart is abandoned, with the cart items and a link to finish the purchase.",
      "recipient": "{{ abandoned_cart.phone }}",
      "fields": {
        "delay_time": 1,
        "delay_unit": "hours"
      },
      "tones": {
        "standard": [
          "<p>Hi{{#if abandoned_cart.first_name}}, {{ abandoned_cart.first_name }}{{/if}}! 👋</p><p></p><p>You left a few items in your cart:</p><p></p><p>{{#each cart.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Total: <strong>{{ money cart.total }}</strong></p><p></p><p>Your cart is saved. To pick up where you left off, just tap the link:</p><p>{{ cart.recovery_url }}</p><p></p><p>Any questions? Just reply here.</p><p><strong>{{ site_name }}</strong></p>"
        ],
        "casual": [
          "<p>Hey{{#if abandoned_cart.first_name}} {{ abandoned_cart.first_name }}{{/if}}! 👀</p><p></p><p>Looks like you got distracted and left some goodies in your cart:</p><p></p><p>{{#each cart.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Total: <strong>{{ money cart.total }}</strong></p><p></p><p>No worries, it's all still there. One tap and you're back 🛒</p><p>{{ cart.recovery_url }}</p><p></p><p>See you soon! 😉</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Hello{{#if abandoned_cart.first_name}} {{ abandoned_cart.first_name }}{{/if}},</p><p></p><p>We noticed that your purchase at {{ site_name }} was not completed. The following items are still in your cart:</p><p></p><p>{{#each cart.items}}</p><p>• {{ quantity }}x {{ name }}</p><p>{{/each}}</p><p></p><p>Total: <strong>{{ money cart.total }}</strong></p><p></p><p>To complete your order, please use the link below:</p><p>{{ cart.recovery_url }}</p><p></p><p>If you need any assistance, please do not hesitate to contact us.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    },
    {
      "id": "cart-last-call",
      "name": "Cart last call",
      "description": "Final reminder sent 24 hours after the cart is abandoned, with the link to finish the purchase.",
      "recipient": "{{ abandoned_cart.phone }}",
      "fields": {
        "delay_time": 24,
        "delay_unit": "hours"
      },
      "tones": {
        "standard": [
          "<p>Hi{{#if abandoned_cart.first_name}}, {{ abandoned_cart.first_name }}{{/if}}!</p><p></p><p>Just one last reminder: your cart still has {{ cart.items_count }} item(s) waiting for you, totaling {{ money cart.total }}.</p><p></p><p>If you still want them, you can finish your purchase here:</p><p>{{ cart.recovery_url }}</p><p></p><p>If you've changed your mind, that's totally fine. 🙂</p><p><strong>{{ site_name }}</strong></p>"
        ],
        "casual": [
          "<p>Last call{{#if abandoned_cart.first_name}}, {{ abandoned_cart.first_name }}{{/if}}! 📣</p><p></p><p>Your cart is still hanging out with {{ cart.items_count }} item(s) inside, totaling {{ money cart.total }}.</p><p></p><p>Still want them? It only takes a tap 👇</p><p>{{ cart.recovery_url }}</p><p></p><p>Changed your mind? No hard feelings. 😄</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Hello{{#if abandoned_cart.first_name}} {{ abandoned_cart.first_name }}{{/if}},</p><p></p><p>This is a final reminder that your cart at {{ site_name }} still contains {{ cart.items_count }} item(s), totaling {{ money cart.total }}.</p><p></p><p>Should you wish to complete your purchase, please use the link below:</p><p>{{ cart.recovery_url }}</p><p></p><p>If you are no longer interested, please disregard this message.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    }
  ],
  "woocommerce_product_review": [
    {
      "id": "new-review-alert",
      "name": "New review alert",
      "description": "Lets the store team know when a customer reviews a product.",
      "recipient": "",
      "tones": {
        "standard": [
          "<p>⭐ <strong>New product review</strong></p><p></p><p>Product: {{ product_name }}</p><p>Customer: {{ author }}</p><p>{{#if rating}}</p><p>Rating: {{ rating }}/5</p><p>{{/if}}</p><p></p><p>Review:</p><p>“{{ content }}”</p><p></p><p>Product page:</p><p>{{ product_url }}</p>"
        ],
        "casual": [
          "<p>New review just dropped! 👀</p><p></p><p>Product: {{ product_name }}</p><p>From: {{ author }}</p><p>{{#if rating}}</p><p>⭐ {{ rating }}/5</p><p>{{/if}}</p><p></p><p>Here's what they said:</p><p>“{{ content }}”</p><p></p><p>Take a look 👉 {{ product_url }}</p>"
        ],
        "formal": [
          "<p><strong>New product review</strong></p><p></p><p>A new review has been submitted on {{ site_name }}.</p><p></p><p>Product: {{ product_name }}</p><p>Author: {{ author }}</p><p>{{#if rating}}</p><p>Rating: {{ rating }} out of 5</p><p>{{/if}}</p><p>Comment: {{ content }}</p><p></p><p>Product page: {{ product_url }}</p><p></p><p>Please check it in the WordPress dashboard.</p>"
        ]
      }
    }
  ],
  "wordpress_password_reset": [
    {
      "id": "password-reset",
      "name": "Password reset link",
      "description": "Sends the link to set a new password when a user requests one.",
      "recipient": "{{ user.phone }}",
      "tones": {
        "standard": [
          "<p>Hi, {{ user.first_name }}!</p><p></p><p>We received a request to reset your password at {{ site_name }}. 🔐</p><p></p><p>To set a new password, use this link:</p><p>{{ reset_url }}</p><p></p><p>The link expires in {{ expires_in }}. Please don't share it with anyone.</p><p></p><p>If you didn't request this, just ignore this message. Your password will stay the same.</p><p><strong>{{ site_name }}</strong></p>"
        ],
        "casual": [
          "<p>Hey {{ user.first_name }}! 🔑</p><p></p><p>Forgot your password? Happens to the best of us.</p><p></p><p>Tap here to create a new one:</p><p>{{ reset_url }}</p><p></p><p>Heads up: the link expires in {{ expires_in }}. ⏳</p><p></p><p>Wasn't you? Just ignore this message, your password stays the same. 😉</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ user.first_name }},</p><p></p><p>We have received a request to reset the password for your account at {{ site_name }}.</p><p></p><p>To set a new password, please use the link below:</p><p>{{ reset_url }}</p><p></p><p>This link will expire in {{ expires_in }}. For your security, please do not share it with anyone.</p><p></p><p>If you did not make this request, please disregard this message. Your current password will remain unchanged.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    }
  ],
  "scf_login_link_requested": [
    {
      "id": "login-link",
      "name": "Access link",
      "description": "Sends the one-time login link or the password reset link requested at checkout.",
      "recipient": "{{ customer.phone }}",
      "tones": {
        "standard": [
          "<p>Hi, {{ customer.first_name }}!</p><p></p><p>Here is the link you requested at {{ site_name }}. 🔐</p><p></p><p>{{#if login_url}}</p><p>To sign in with one tap, use this link. It only works once:</p><p>{{ login_url }}</p><p></p><p>{{/if}}</p><p>{{#if reset_url}}</p><p>To set a new password, use this link:</p><p>{{ reset_url }}</p><p></p><p>{{/if}}</p><p>{{#if expires_in}}</p><p>The link expires in {{ expires_in }}.</p><p></p><p>{{/if}}</p><p>If you didn't request it, just ignore this message. Please don't share this link with anyone.</p><p><strong>{{ site_name }}</strong></p>"
        ],
        "casual": [
          "<p>Hey {{ customer.first_name }}!</p><p></p><p>Here's the link you asked for:</p><p></p><p>{{#if login_url}}</p><p>🔑 Tap to sign in (works only once):</p><p>{{ login_url }}</p><p></p><p>{{/if}}</p><p>{{#if reset_url}}</p><p>🔒 Tap to create a new password:</p><p>{{ reset_url }}</p><p></p><p>{{/if}}</p><p>{{#if expires_in}}</p><p>⏳ Be quick, it expires in {{ expires_in }}.</p><p></p><p>{{/if}}</p><p>Wasn't you? Just ignore this message and keep the link to yourself. 😉</p><p>{{ site_name }}</p>"
        ],
        "formal": [
          "<p>Dear {{ customer.first_name }},</p><p></p><p>As requested, please find below your access link for {{ site_name }}.</p><p></p><p>{{#if login_url}}</p><p>To sign in to your account, please use the following single-use link:</p><p>{{ login_url }}</p><p></p><p>{{/if}}</p><p>{{#if reset_url}}</p><p>To set a new password, please use the following link:</p><p>{{ reset_url }}</p><p></p><p>{{/if}}</p><p>{{#if expires_in}}</p><p>This link will expire in {{ expires_in }}.</p><p></p><p>{{/if}}</p><p>If you did not make this request, please disregard this message. For your security, do not share this link with anyone.</p><p></p><p>Kind regards,</p><p>{{ site_name }}</p>"
        ]
      }
    }
  ],
  "new_comment": [
    {
      "id": "new-comment-alert",
      "name": "New comment alert",
      "description": "Lets the team know when someone comments on the site.",
      "recipient": "",
      "tones": {
        "standard": [
          "<p>💬 <strong>New comment on {{ site_name }}</strong></p><p></p><p>From: {{ author }}</p><p></p><p>“{{ content }}”</p><p></p><p>{{#if approved \"==\" 1}}</p><p>Status: approved</p><p>{{/if}}</p><p>{{#if approved \"!=\" 1}}</p><p>Status: not approved yet. You can review it under Comments in the WordPress dashboard.</p><p>{{/if}}</p>"
        ],
        "casual": [
          "<p>Psst, a new comment just landed! 💬</p><p></p><p>👤 {{ author }} wrote:</p><p>“{{ content }}”</p><p></p><p>{{#if approved \"==\" 1}}</p><p>✅ It's already approved.</p><p>{{/if}}</p><p>{{#if approved \"!=\" 1}}</p><p>⏳ It's waiting for your approval in the WordPress dashboard.</p><p>{{/if}}</p>"
        ],
        "formal": [
          "<p><strong>New comment received</strong></p><p></p><p>A new comment has been submitted on {{ site_name }}.</p><p></p><p>Author: {{ author }}</p><p>Comment: {{ content }}</p><p></p><p>{{#if approved \"==\" 1}}</p><p>Status: approved.</p><p>{{/if}}</p><p>{{#if approved \"!=\" 1}}</p><p>Status: pending approval. Please review it in the WordPress dashboard.</p><p>{{/if}}</p>"
        ]
      }
    }
  ],
  "post_published": [
    {
      "id": "post-published-alert",
      "name": "Content published alert",
      "description": "Lets the team know when new content goes live on the site.",
      "recipient": "",
      "tones": {
        "standard": [
          "<p>📢 <strong>New content published</strong></p><p></p><p>Title: {{ title }}</p><p>Author: {{ author_name }}</p><p>Type: {{ post_type }}</p><p>{{#if excerpt}}</p><p></p><p>{{ excerpt }}</p><p>{{/if}}</p><p></p><p>Read it here:</p><p>{{ url }}</p>"
        ],
        "casual": [
          "<p>It's live! 🚀</p><p></p><p>{{ author_name }} just published <strong>{{ title }}</strong></p><p>📝 Type: {{ post_type }}</p><p>{{#if excerpt}}</p><p></p><p>Sneak peek: {{ excerpt }}</p><p>{{/if}}</p><p></p><p>Check it out 👉 {{ url }}</p>"
        ],
        "formal": [
          "<p><strong>New content published</strong></p><p></p><p>New content has been published on {{ site_name }}.</p><p></p><p>Title: {{ title }}</p><p>Type: {{ post_type }}</p><p>Author: {{ author_name }}</p><p>{{#if excerpt}}</p><p>Summary: {{ excerpt }}</p><p>{{/if}}</p><p></p><p>Link: {{ url }}</p>"
        ]
      }
    }
  ]
}
