Difference between revisions of "Automation"

From hoteliga
Jump to: navigation, search
(Troubleshooting)
(Settings)
Line 3: Line 3:
  
 
==Settings==
 
==Settings==
To be able to use automation you need to go to Options -> Tools
+
To be able to use automation you need to go to Options Tools
  
[[File:OptionsTools.png|100px]]
+
[[File:OptionsTools.png|150px]]
  
 
and to the Automation section:
 
and to the Automation section:
  
[[File:AutomationSettings.png|800px]]
+
[[File:AutomationSettings.png|900px]]
  
 
In settings you can configure default arrival and departure time:
 
In settings you can configure default arrival and departure time:
  
[[File:ArrivalDepartureTimes.png|800px]]
+
[[File:ArrivalDepartureTimes.png|900px]]
  
 
==Automation Plans==
 
==Automation Plans==

Revision as of 14:08, 19 August 2019

Introduction

Automation is the technology by which a process or procedure is performed with minimal human assistance. Automation saves time on creating repeated tasks, you just need to configure rules for the future tasks which will be generated.

Settings

To be able to use automation you need to go to Options ⇒ Tools

OptionsTools.png

and to the Automation section:

AutomationSettings.png

In settings you can configure default arrival and departure time:

ArrivalDepartureTimes.png

Automation Plans

Automation Plans are rules by what tasks will be created. You can configure by what actions tasks will be triggered and what time they should be executed.

In automation plan you can add a new rule, when automation tasks will be triggered.

  1. Title - the title of an automation plan
  2. Time execution (in hours) - when you want this event to happen (12h before/24h after some action)
  3. Execution moment - Before, after, on time of an action.
  4. Event type - types of event (arrival, departure, checkin, checkout, creation)
  5. Task action - what kind of task will be triggered:
    1. template email action - sending an email template (parameters: templateId)
    2. raw email message - sending raw email message without a template (parameters: template - message, emailAddress - receiver, subject - subject of an email)

Automation Tasks

Automation tasks are tasks which will be executed by Azure Function at the set time.

Actions

Depends on an action type set in the plan, an email with selected template can be send, raw email with just text.

TemplateEmail

TemplateEmail action allows you to choose a template which will be send to a customer. For example you want to send a welcome email when a customer checks in, then plan may look like:

Welcomeplan.png

Troubleshooting

If something goes wrong during executing a task you will see the status "Task failed" and in the popup window the reason:

TaskFailed.png

Examples

Creating a plan:

Automationplan.png

This plan with name "reminder" which will create a task 27 hours before arrival (14:00) which will send an email template "-Thank you email".

To trigger creating of tasks you need to create/update a reservation. For example we create a new reservation from 15 Aug till 19 Aug

Newreservation.png

A corresponding task will be created:

AutomationTaskExample1.png

By changing an arrival date - not started tasks will be recreated:

UpdatedReservation.png

Old task will be deleted and new one created:

ChangedTask.png

Task will be run automatically by Azure Function at 12/08/2019 11:00:00:

FinishedTask.png