Skip to content

Sitecore-Hackathon/2018-Las-Vegans

Repository files navigation

Sitecore Hackathon 2018

LasVegans Team - Poland

  • Tomasz Juranek
  • Robert Debowski
  • Wojciech Urban

Category: XConnect

Youtube Presentation Movie

Welcome dear user! (Purpose)

LasVegans team would like to present to you sophisticated solution to get you healthier. We are here to help you and take care of you. First of all we have to ask ourselves a main question:

What is one of the most widespread factor around the world, which is invisible, calm but in other hand extremely danger?

Answer is simple: SMOG!

Smog is a heavy air pollution which looks like mix of fog and smoke, but unfortunately it's not nature work.

To protect you against this risks we provided special module application to Sitecore which will take care about checking air in your location and will notify you in needed situation.


How user should use our module?

Don't worry dear user that module is hard to use. What steps are needed to you make it are:

  1. Register in Sitecore using our form prepared especially for this unusual Hackathon 2018 occasion. You should also allow your location if browser will ask for it. enter image description here
  2. Since that moment you GeoLocation data will be get and module will check quality of you air using many dedicated sensor in your area. enter image description here
  3. When situation will be dangerous for you health, you will received an email on the email address that you have registered into system. Rensposible for sending email is EXM module. enter image description here

enter image description here

Summary: Only step 1 has to be done by you, nothing else! :)

Technical Point Of View

Installation

To setup module you will need:

  • Sitecore 9 rev. 171219 (Update-1) on https (could be IIS Express Development Certificate)
  • working xConnect service
  • module package from repository in sc.package
  • json file prepared for Sitecore & xConnect to extend model in sc.package
  • add condition config and LV.AirPolution.dll to Marketing Automation in sc.package

For details check guide

Solutions

Our application gather user email from address using form and localization from his browser. Later those data are used by Marketing Automation to trigger external API "BreezoMeter". That API based on given user localization, checks current air quality and return results to Sitecore. Then our model gets those data and put it by xConnect Custom Facet to xDB. Additionally, if value of air quality is dangerous low, Marketing Automation will send an email through EXM to warn user before about this situation.

enter image description here

Module contains new condition for Sitecore Rules Engine in "XConnect - Condition" category. Condition checks percentage value of air quality for contact's current location and compares to selected number between 0 and 100. Higher value means better air quality.

enter image description here

Extensions

Our Module consists more than standard behavior presented in solution workflow above. There is also option to use custom action code, which has been already written:

Marketing Automation Action

If you would like to make more fancy stuff, just use our prepared action. enter image description here

Only what you need is to create UI part for that :)

Task scheduler

If you need something working out of the box, just use scheduler and enjoy possibility to refresh data systematically. enter image description here

Summary

We are really glad to present you our Sitecore Hackathon 2018 work. We see much of possibilities to extend our work, especially in Marketing Automation way. You will share our main goal of this work we believe, and enjoy of this at least the same as we do :) !