xConnect/DEF in automation...

Post on 11-May-2019

214 views 0 download

Transcript of xConnect/DEF in automation...

xConnect/DEF in automation plans

Jiri Padera, Rene Naplava

OCTOBER 2018

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

2

• Big picture

− Sitecore and xDB in Oriflame

• Intro to MA pilots

− SC8 summary

− SC9 scope and ambitions

• Technical insights

− Azure Service Bus

− Data Exchange Framework

− Automation plans

AGENDA

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

• International beauty company selling direct

• Over 3 million Oriflame consultants

• Since 1967

• 60 markets

3

ORIFLAME - quick facts

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

• Re-platforming to Sitecore in 2014

• Globally – 60 markets

+200 mil visits / year

+30 mil orders / year (96% online)

• In peaks, over 1000 orders per minute in a single market

• Currently

Websites running globally in Sitecore 8.1

on virtual machines in MS Azure

4

ONLINE PRESENCE

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

5

South central US1. Latin America

Western Europe

2. Admin Site

3. CE

4. WE

5. CIS

6. Africa

East Asia (Hong Kong)

7. Asia

Azure datacenters

across the globe

Content

ManagementDelivery

Sites

Publishing

7

1

Synchronization

2

3 4 5

3 5 6

6

4

2

7

1

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

6

global

regional

local

development

Languages

Adm

ins

Data

cente

rsWest Europe

South

Central

US

East Asia

CE WE AFR CIS LATAM ASIA

Global

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

7

• Website personalization

− Explicit – based on external eCommerce and CRM data

− Integrated through Azure Service Bus and DEF

• EXM, analytics or behaviour profiling

− Issues with multi-site instances and performance

• Engagement plans

− Abandoned basket or newcomer nurturing

• Overall: xDB in SC8 - DEFOCUSED now

SITECORE 8 – xDB PILOTS

Marketing Automation

SC 8.1, EXM 3.3, DEF1.4

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

8

• Prove fast SC9 is up to the task

• Pilot on CN specific mobile app – live on SC9

• Standalone, single-language environment

• Latest SC version, Azure PaaS deployment

• Scope

1) External data for automated notifications

2) Behavioral data (universal tracker)

3) Personalize native app (JSS)

SITECORE 9 – MA - PILOTS - SETUP

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

9

SC 9 – MA Pilot – Part 1Automated messaging based on external data

External systemsExperience platform

Collection database

Automation engine

CRM

Data

Warehouse

E-Commerce

Segments

Favorite categories

ID

Name

Birthday

Registration

First order

WP

Push and InApp

notifications

ActionEvaluateEnroll

CN segments

Has registered

Has made first order

Is his B-day today?

Is VIP?

Is qualified for WP?

Send Push notification

Send InApp Message

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Let’s dive

10

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Orisales

11

1st scenario

Sitecore xDBService Bus Sitecore DEF

xConnect

Provider

ServiceBus

Provider

Consultant ID

• First Name

• Last Name

• Birthdate

Contact

• Identifier

• First Name

• Last Name

• Birthdate

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Getting data from Service Bus

12

Sitecore xDBService Bus

DWH

eCommerce

CRM

internal system

internal service

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Service Bus Provider implementation

• Data Exchange Framework 2.0.1

• Well documented by Sitecore: Implementing a Provider

• We are using just one way: → inside Sitecore

• DEF is running on Processing role only

13

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Steps

14

1. Create items in Sitecore

Data Exchange Framework SDK

2. Implement Troubleshooter

check connection

create stuff in Service Bus

option to size reading

3. Implement Processor

read messages from Bus (batch)store data in Dictionary

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

DEF configuration

15

developers

solution

experts

Just based on provided documentation…

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Points of interest

• Different Identifiers

• Custom facet (we are extending the Sitecore data model)

• Custom predicate

• Issue with Processing role → easily solved by rule based configuration

• …

16

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Manual enrollment

17

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Ordering

service

18

2nd scenario

Sitecore xDB

Registration

• Registration date

• Registration type

Event Hub

Azure Functions

Registration

service

events

events

Service 1

Service 2

consumers

xConnect Client

API

custom event

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Ordering

service

19

3rd scenario

Sitecore xDB

API Gateway

Registration

service

Service 1

Service 2

consumers

xConnect Client

API

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

20

Q & A

© O R I F L A M E C O S M E T I C S A G , 2 0 1 8

Thank you!

21