Inxmail
Overview
Inxmail is a professional email marketing platform that can integrate with Karla to trigger automated email workflows based on delivery events throughout the customer journey. This guide explains how to configure Inxmail templates to receive and process Karla events.
How It Works
- Event Generation: Karla generates events throughout the delivery journey
- Event Transmission: When events occur, Karla sends them to Inxmail using your configured integration (events have to be created in Inxmail first)
- Template Matching: Inxmail matches incoming events to templates based on the event group
- Email Workflow: Your configured email workflows are triggered automatically
Prerequisites
- Active Inxmail account with API access
- Karla integration credentials (configure your Inxmail integration in portal)
- Understanding of Karla Events
Template Configuration
Base Template Structure
Every Karla event template in Inxmail must follow this XML structure:
Base Event Template
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<event xmlns="http://www.inxmail.com/xcom/eventtype">
<eventtype>
<id>{event_group}</id>
</eventtype>
<customermapping/>
<customeremail>Customer.Email</customeremail>
<phgroup>
<id>Order</id>
<placeholder>
<id>OrderNumber</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>OrderNumberUrlEncoded</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>OrderName</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>TotalOrderPrice</id>
<datatype-double/>
</placeholder>
<placeholder>
<id>OrderCurrency</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>OrderStatusUrl</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>ExternalId</id>
<datatype-string/>
</placeholder>
</phgroup>
<phgroup>
<id>Customer</id>
<placeholder>
<id>Email</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>Name</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>Country</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>ZipCode</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>ShippingAddress</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>ExternalCustomerId</id>
<datatype-string/>
</placeholder>
</phgroup>
<phgroup>
<id>Shipment</id>
<placeholder>
<id>TrackingNumber</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>TrackingUrl</id>
<datatype-string/>
</placeholder>
<placeholder>
<id>CarrierName</id>
<datatype-string/>
</placeholder>
</phgroup>
</event>
Important: Event Group Configuration
The {event_group}
placeholder in the template must be replaced with the specific event group you want to listen to. Each event group requires its own template in Inxmail.