Subscribe Customer and Send Message
Overview
This scenario creates an event for a customer who is not subscribed to the campaign's conversation. In this case, Connect automatically subscribes the customer to the conversation before sending the message.
XML
The XML is almost identical to the previous scenario except that it is directed to [email protected] instead of [email protected]. Recall that [email protected] is not subscribed to the conversation.
<?xml version="1.0" encoding="UTF-8"?><kanaRoot> <EventRequest Id="" CompanyName="default"> </Customer> <Event CampaignName="ETCamp1"> <ExternalXML> <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Greatest Hits</title> <artist>Dolly Parton</artist> <country>USA</country> <company>RCA</company> <price>9.90</price> <year>1982</year> </cd> </catalog> </ExternalXML> </Event> </EventRequest> </kanaRoot> Result
When the Event Listener receives this message:
Bill Bradley is subscribed to conv.
An email is sent [email protected].
The email content looks similar to the result in the previous scenario.