Sending review emails through Adobe Campaign.
TestFreaks can integrate with Adobe Campaign’s event API by setting up session tokens and IP restrictions. A “ProductReview” event will then be generated for each email, containing customer and order data as well as links to pages for submitting reviews.
The product review event contains the following fields:
| Field | Description | 
|---|---|
| customerId | The customer ID if provided in the order data, otherwise same as customerEmail. | 
| customerName | The full customer name as provided in the order data. | 
| customerEmail | The customer’s e-mail address. | 
| reviewsLink | Link to a summary page with all articles, allowing writing reviews for each. | 
| sellerReviewLink | Link to page for submitting a seller review. | 
| optOutLink | Link to page performing an opt out from future ProductReview events to this customer. | 
| articles | List of articles. | 
Each article has the following fields:
| Field | Description | 
|---|---|
| id | The article ID as provided in the order data. | 
| name | The article name. | 
| category | The article’s category. | 
| orderId | The order ID as provided in the order data. | 
| reviewLink | Link to page for submitting a review of the article. | 
| imageLink | Link to image, if provided in the order data. | 
Example of a ProductReview event as posted to Adobe Campaign:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:wsdl="urn:nms:rtEvent"
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:urn="urn:nms:rtEvent">
  <soapenv:Body>
    <wsdl:PushEvent>
      <wsdl:sessiontoken>SESSIONTOKEN</wsdl:sessiontoken>
      <wsdl:domEvent>
        <rtEvent type="ProductReview" email="customer@example.com">
          <ctx>
            <customerId>CUSTOMERID</customerId>
            <customerName>John Doe</customerName>
            <customerEmail>customer@example.com</customerEmail>
            <reviewsLink>https://reviews.testfreaks.com/reviews/order?...</reviewsLink>
            <sellerReviewLink>https://reviews.testfreaks.com/seller_reviews/new?...</sellerReviewLink>
            <optOutLink>https://reviews.testfreaks.com/customers/opt-out?...</optOutLink>
            <articles>
              <article>
                <id>ARTICLEID</id>
                <name>Article Name</name>
                <category>Article Category</category>
                <orderId>ORDERID</orderId>
                <reviewLink>https://reviews.testfreaks.com/reviews/new?...</reviewLink>
                <imageLink>IMAGELINK</imageLink>
              </article>
            </articles>
          </ctx>
        </rtEvent>
      </wsdl:domEvent>
    </wsdl:PushEvent>
  </soapenv:Body>
</soapenv:Envelope>