You are on page 1of 37

Amadeus Selling Platform

Connect Smart Flows (Basic)


Training Module

1
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 2 of 37 benelux.amadeus.com
Index

_ Getting started with Smart Flows..................................................................... 6

 What is a Smart Flow? ................................................................................... 6

 What are the prerequisites for accessing Smart Flows? .............................. 7

 What is the Smart Flows manager? .............................................................. 7

 How to access the Smart Flows manager? ................................................... 8

 What is the Smart Flow List? ......................................................................... 9

 What is the difference between Office Level and Personal


level Smart Flows ........................................................................................... 9
_ Smart Key Translation tool.............................................................................. 10

_ Managing Smart Flows .................................................................................... 12

 Working with Smart Flows based on cryptic commands ........................... 12

 How to display command history? ........................................................... 12

 How to create a Smart Flow with the command line


recall? ......................................................................................................... 13
 What happens when command history is used to create a
new Smart Flow? ....................................................................................... 13
 How to create a Smart Flow in the Smart Flow editor? ............................. 14

 How to create a Smart Flow in the Smart Flow editor? ............................. 15

 How to create a new Smart Flow from an existing one? ........................... 16

 How to open a Smart Flow? ........................................................................ 17


© 2018 Amadeus IT Group and its affiliates and subsidiaries

 How to edit a Smart Flow? .......................................................................... 17

 How to show a Smart Flow? ........................................................................ 18

 How to hide a Smart Flow? .......................................................................... 20

 How to delete a Smart Flow? ...................................................................... 21

_ Running and stopping Smart Flows ................................................................ 22

 How to run a Smart Flow from the main toolbar? ..................................... 22

 What happens when a Smart Flow is run? ................................................. 22

Education Department
Last update: 07/03/2018
Page 3 of 37 benelux.amadeus.com
 How to Stop a Smart Flow? ......................................................................... 23

_ Managing Questions ....................................................................................... 24

 What Is a Question? ..................................................................................... 24

 How to create a question in the Smart Flow editor? ................................. 24

 How to edit a question?............................................................................... 25

 How to delete a question?........................................................................... 25

 How should I name my variables? What is a reserved


variable? ....................................................................................................... 26
_ How to test a Smart Flow?.............................................................................. 27

_ Smart Triggers ................................................................................................. 28

 Getting started with Smart Triggers ............................................................ 28

 What is a Smart Trigger? ........................................................................... 28

 What are the prerequisites for accessing Smart Triggers? ..................... 28

 What is the Smart Triggers manager? ...................................................... 28

 How to access the Smart Triggers manager? .......................................... 29

 What is the Smart Triggers list?................................................................ 29

 What is the Smart Triggers editor? .......................................................... 30

 Managing Smart Triggers ............................................................................. 31

 How to create a Smart Trigger?................................................................ 31

 How to open a Smart Trigger? .................................................................. 33

 How to Edit a Smart Trigger? .................................................................... 34


© 2018 Amadeus IT Group and its affiliates and subsidiaries

 How to activate a Smart Trigger? ............................................................. 35

 How to deactivate a Smart Trigger? ......................................................... 36

 How to delete a Smart Trigger?................................................................ 36

 Running and stopping Smart Triggers ...................................................... 37

Company Amadeus Benelux N.V.


Department Educational Services

Education Department
Last update: 07/03/2018
Page 4 of 37 benelux.amadeus.com
Author Christel Courtois
Date 07/03/2018
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 5 of 37 benelux.amadeus.com
Getting started with Smart Flows

What is a Smart Flow?


A Smart Flow is a pre-defined, customisable workflow that you create to help with the com-
pletion of repetitive booking tasks. After you create a Smart Flow, its status can be switched
between active/shown or not active/hidden, depending on whether or not you want to be
able run it.
If a Smart flow is set to active/visible, the Smart Flow is available to run from the Your Smart
Flows menu on the main toolbar of Selling Platform Connect.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 6 of 37 benelux.amadeus.com
What are the prerequisites for accessing Smart
Flows?
You must have access to the optional Productivity Suite module before you can access Smart
Flows.
NOTE: This is handled by an ACO. Please get in touch with the ACO Point of Contact if you
need settings configured in Site Manager and/or LSS.

What is the Smart Flows manager?


The Smart Flows Manager is a tool in Selling Platform Connect that allows you to build and
launch pre-defined, customisable workflows. It helps you to complete repetitive booking and
fulfilment tasks by using a set of Smart Flows that are triggered on request.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 7 of 37 benelux.amadeus.com
How to access the Smart Flows manager?

On the Main page of Selling Platform Connect, expand the Tools menu and click on Smart
Flows.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 8 of 37 benelux.amadeus.com
What is the Smart Flow List?
The Smart Flows List is the default page in the Smart Flows Manager. It displays all the Smart
Flows that have been created regardless of whether they are active or not. The action
buttons are located at the bottom of the list and, unless a Smart Flow is selected, all buttons
except the new button are disabled. The columns in the list can be sorted by clicking on the
title bars.

What is the difference between Office Level and


Personal level Smart Flows
As the name suggests, personal Smart Flows are only available to the user who created them.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

A travel agent with no admin access can create personal Smart Flows and run them.
The office level Smart Flows are created by a user with admin rights and are available to
everyone in the office.
Only Office level Smart Flows are available for sharing. Please see Productivity Suite: Office
Level Sharing to know more about sharing

Education Department
Last update: 07/03/2018
Page 9 of 37 benelux.amadeus.com
Smart Key Translation tool
The Smart Key Translation tool, a module within Productivity Suite, allows an agent and/or an
Office administrator to translate Smart Keys from Sell Classic into Smart Flows in Sell Connect.
The output of the translation can be saved as a personal Smart Flow or as an Office Smart Flow
if the user has the administrator role.
Most existing Smart Keys can be translated into Smart Flows. But, as the syntax is different, not
100% of Smart Key commands can be translated into Smart Flows.
Known capabilities and limitations:

command code command description Translatable


Macros (obsolete) e.g: [REPEAT ... UNTIL E] No*
<SEND send command yes
<? prompt action yes
<CHOOSE choose command yes
<@ use variable yes
<TODAY> today date value yes
<CLEAR> clear the history no
<NEWLINE> add a new line (for Queue) no
<SET> Paste the save value yes
<GET copy a selected text yes
<REPEAT UNTIL repeat until instruction yes
<* add a comment yes
<BOL> put the cursor on begin of line no
<CLEAR TO EOL> clear from cursor to end of line no
<IF THEN ELSE> if then else instruction yes
<BACKSPACE> remove the previous character no
<PA Action key (3270) no
<EOL put the cursor to end of line no
<COLUMN put the cursor to column number of the response no
put the cursor to the begin of the screen
<BOS no
response
<DELETE> delete the next character after the cursor position no
<NEXT FIELD> goto the next field (3270) no
move the cursor to a left character in the
<LEFT ARROW> no
response
<UP ARROW> move the cursor to a up character in the response no
move the cursor to a right character in the
<RIGHT ARROW> no
response

10
<SWITCH change the window for the next request (split
no
WINDOW> window mode)
wait for a specific response (timeout) before
<WAIT FOR no
continue
<LINE move the cursor to the line number no
<PF Function key (3270) no
move the cursor to a down direction in the
<DOWN ARROW> no
response
<EOS> move the cursor to the end of screen response no
[ optional prompt yes
<PREVIOUS FIELD> move the cursor to the previous field (3270) no
<ATTENTION> send an attention key (3270) no
<% add a embeded smartkey yes
echo/write to commad page yes
* If the Macro is re-written with supported syntax, then the Smart Key can be translated.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 11 of 37 benelux.amadeus.com
Managing Smart Flows

Working with Smart Flows based on cryptic


commands
How to display command history?

In the Command Page of a Booking File, press Alt + Right Arrow or click to display the
previously entered commands.
There is no limit to the number of commands that you can display using the command
history.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Note: If the selected commands have not been executed, the Command History pop-up
window is empty and all buttons are unavailable.

Education Department
Last update: 07/03/2018
Page 12 of 37 benelux.amadeus.com
How to create a Smart Flow with the command line recall?
1. Display the command history. Refer to How to display command history above.
2. Select the commands in the Command History pop-up window that you want to use in the
Smart Flow.
3. Click on Copy to New Smart Flow.

The application automatically switches to the Smart Flow Editor and pastes the selected
commands from the Command Line Recall to the Smart Flow Editor. The commands can
either be edited, saved or have questions added to them. For more information, see How to
create a question in below.

What happens when command history is used to create a new Smart


Flow?
If the Smart Flow list is open:
© 2018 Amadeus IT Group and its affiliates and subsidiaries

_ The application automatically switches to the Smart Flow Editor.


_ The definition text area displays the cryptic commands that were sent when creating the
new Smart Flow.
If the Smart Flow Editor is open:
_ If there are any unsaved changes for the previous Smart Flow, you are prompted to
choose either the Save, Do Not Save, or Keep Editing option.
_ If there are no unsaved changes for the previous Smart Flow, a new Smart Flow is created
and the definition text area displays the commands from the Command History pop-up
window.

Education Department
Last update: 07/03/2018
Page 13 of 37 benelux.amadeus.com
How to create a Smart Flow in the Smart Flow
editor?
1. In the Smart Flow Manager, click on New.
2. For details on how to write commands for Smart Flows, move the mouse over the link
entitled How to Write Command Based Smart Flows.
3. Enter a name, an optional description, the content of your Smart Flow and click on Save.
NOTE: It is advised to not store credit card information directly into Smart Flows for security
reasons. You can use questions to get this information from the user at the time of the
booking. See How to create a question in a Smart Flow editor?
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 14 of 37 benelux.amadeus.com
How to create a Smart Flow in the Smart Flow
editor?
4. In the Smart Flow Manager, click on New.
5. For details on how to write commands for Smart Flows, move the mouse over the link
entitled How to Write Command Based Smart Flows.
6. Enter a name, an optional description, the content of your Smart Flow and click on Save.
NOTE: It is advised to not store credit card information directly into Smart Flows for security
reasons. You can use questions to get this information from the user at the time of the
booking. See How to create a question in a Smart Flow editor?
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 15 of 37 benelux.amadeus.com
How to create a new Smart Flow from an existing
one?
1. In the Smart Flow Manager, select the Smart Flow that you want to copy.
2. Click on Copy to New.

The new Smart Flow opens in the same mode as the original (command or advanced mode).
The name field contains the string "Copy of <name of the selected Smart Flow>" and all other
fields are prefilled with data from the existing Smart Flow.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 16 of 37 benelux.amadeus.com
How to open a Smart Flow?
1. In the Smart Flow Manager, select the Smart Flow that you want to open.
2. Click on Open.
Alternatively, double-click the Smart Flow.

How to edit a Smart Flow?


1. Open the Smart Flow. See How to open a Smart Flow above.
A Smart Flow is opened in the mode that it was last saved, either command-based mode or
advanced language mode.
2. Update the fields as required and click on Save.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 17 of 37 benelux.amadeus.com
How to show a Smart Flow?
1. In the Smart Flow List, select the Smart Flow that you want to activate.
2. Click on Show in “Your Smart Flows”.
Alternatively, select the Show in “Your Smart Flows” check box in the Smart Flow Editor.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

The shown Smart Flow becomes available in the Your Smart Flows menu on the main toolbar
and can now be run.

Education Department
Last update: 07/03/2018
Page 18 of 37 benelux.amadeus.com
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 19 of 37 benelux.amadeus.com
How to hide a Smart Flow?
1. In the Smart Flow List, select the Smart Flow that you want to hide.
2. Click on Hide from “Your Smart Flows”.

The hidden Smart Flow is no longer available in the Your Smart Flows menu on the main
toolbar but can still be triggered by Smart Triggers.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 20 of 37 benelux.amadeus.com
How to delete a Smart Flow?
1. Select the Smart Flow that you want to delete in the Smart Flow List.
2. Click on Delete.

3. In the Delete Smart Flow pop-up window, click on Delete to confirm the deletion.
4. Warning: when deleting an Office-level Smart Flow, please make sure that Smart Flow is
not in use by a Quality Monitor rule or a Smart Trigger. Else you risk blocking the agent in
their booking flow.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 21 of 37 benelux.amadeus.com
Running and stopping Smart Flows

How to run a Smart Flow from the main toolbar?


1. Click on Your Smart Flows on the main toolbar of Selling Platform Connect to display the
list of active Smart Flows.
2. Click on the link for the Smart Flow that you want to run.

What happens when a Smart Flow is run?


_ When you run a Smart Flow from outside the Command Page, the application switches to
the Command Page while the Smart Flow is running.
_ If several Booking Files are open when you run a Smart Flow, the Smart Flow only affects
the active Booking File.
_ When you run a Smart Flow, the commands that are sent by the Smart Flow are echoed
in the Command Page.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 22 of 37 benelux.amadeus.com
How to Stop a Smart Flow?
1. Run a Smart Flow. See How to run a Smart Flow from the main toolbar on page 27.
A prompt appears to confirm that the selected Smart Flow is running.
2. Click on Stop.

Note: You can only stop a Smart Flow when there is a prompt available.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 23 of 37 benelux.amadeus.com
Managing Questions

What Is a Question?
Questions define the prompt that is displayed during the execution of a Smart Flow. Cryptic
commands are sent with the answers that are provided. A colour-highlighted rectangle
indicates which sections of a command have a question associated with them. The highlight
is orange when the question is active and the highlight is blue when the question is selected
but not active.

How to create a question in the Smart Flow


editor?
1. Open or create a Smart Flow in command-based mode.
2. Select the part of the command that you want to create a question for.
3. Click on Create New Question.
4. Enter a title for the question in the Label field.
5. Enter the question in the Question field.
6. Click on Save.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 24 of 37 benelux.amadeus.com
How to edit a question?
Note: Changes made to a question are saved automatically even if you do not click on Save.
Therefore, if you edit a question and activate another question, the changes to the first
question are saved automatically.
1. Activate the question in command mode by clicking on the section of the command that
the question relates to. Alternatively, use the keyboard arrows to navigate to the command.
The question is activated when the Label and Question fields are prefilled with the question
details and the section of the command in the definition field is highlighted in orange.
2. Edit the question as required.

How to delete a question?


Note: Ensure that the question is not active because an active question cannot be deleted.
Place the cursor at the beginning of the label of the coloured rectangle for the question and
press the Delete key.
Alternatively, place the cursor at the end of the label of the coloured rectangle for the
question and press the Backspace key.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 25 of 37 benelux.amadeus.com
How should I name my variables? What is a
reserved variable?
When creating a question, the Smart Flow creator will store the agent input in a variable. The
Smart Flow creator can choose the name they wish for their variable. Instead of variable1,
variable2, it may be preferable to name the variables with more meaningful names. E.g:
PaxLastName, PhoneNumber…
It is recommended to avoid spaces in variable names.
Please take caution in the casing of your variables. If you use any capitalization, you will need
to use the same capitalization later on in the Smart Flow when referring to this variable.
A number of terms are reserved variables for the Smart Flow syntax, and cannot be used as
variable names:
"true", "TRUE", "True", "false", "FALSE", "False",
"ask", "email", "number", "date", "DDMON", "DDMONYY", "DDMONYYYY",
"DDMMYY", "DDMM", "MMYY", "format", "with", "assign to", "send",
"if", "else", "capture", "line", "column", "length", "until", "when",
"group", "call", "cryptic", "append", "to", "select", "from".
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 26 of 37 benelux.amadeus.com
How to test a Smart Flow?
You can test both personal and office-level Smart Flows before saving them. This way, you
ensure they don’t impact any real bookings nor the other agents.
From the Smart Flow editor, you can click the “Run in a new Command Page” button.

A new tab will open and you will be able to test your new un-saved Smart Flow from a user
point of view:
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Once done, you may want to ignore (“IG” command) anything you did in that Command
page.

Education Department
Last update: 07/03/2018
Page 27 of 37 benelux.amadeus.com
Smart Triggers
Getting started with Smart Triggers
What is a Smart Trigger?
A Smart Trigger is a tool that automates the launch of extensions such as scripts or Smart
flows in Selling Platform Connect. For example, a Smart Trigger can be a rule that triggers the
launch of a script when a certain command is entered in the prompt of the Command Page.
Different types of extensions can be run, such as Smart Flows

What are the prerequisites for accessing Smart Triggers?


You must have access to the optional Productivity Suite module before you can access Smart
Triggers.

NOTE: This is handled by your Amadeus. Please get in touch with your Amadeus Point of Con-
tact if you need these settings configured.

What is the Smart Triggers manager?


The Smart Triggers Manager is a tool in Selling Platform Connect that allows you to build and
launch triggers that automate the execution of scripts and Smart flows.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 28 of 37 benelux.amadeus.com
How to access the Smart Triggers manager?
On the Main page of Selling Platform Connect, expand the Tools menu and click on Smart
Triggers.

What is the Smart Triggers list?


The Smart Triggers List is the default page in the Smart Triggers Manager. It displays all the
Smart Triggers that have been created regardless of whether they are active or not. The
action buttons are located at the bottom of the list and, unless a Smart Trigger is selected, all
buttons except the New button are disabled. The columns in the list can be sorted by clicking
on the title bars.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 29 of 37 benelux.amadeus.com
What is the Smart Triggers editor?
The Smart Triggers Editor is a screen that is displayed when you open an existing Smart
Trigger or create a new one. When you save a change in the editor, the date and time of the
most recently saved update is displayed at the bottom of the screen.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 30 of 37 benelux.amadeus.com
Managing Smart Triggers
How to create a Smart Trigger?
1. Click on New.
A Smart Triggers Editor is displayed that allows you to complete the required fields for the
rule.
2. Enter the name and description
3. If the Smart Trigger needs to launch on a cryptic command, enter a regular expression in
the field called If command matches).
You can chose a word, digit(s), a letter or a combination of both.
Tip: If the aim of your command is to trigger an Office Smart Flow (=create your own agency
shortcut key) instead of having to look for it in the Your Smart Flows menu on the main
toolbar of Selling Platform Connect, we advise to precede your command by a “^” and
ended with “$”.

Examples:
^email$
^eml2$
^1$
^A$

4. The next section, section 2, decides how you would like to run the Smart Trigger. If you
would like the Smart Trigger to intercept the command and run the script, select “Immedi-
ately launch” In this case, there will be no response to match
The next section, section 4, lets you select the Smart Flow). Select the radio button to indi-
© 2018 Amadeus IT Group and its affiliates and subsidiaries

cate the choice and then use the drop down menu to select which particular Smart Flow
you would like run.
Note that only Office level Smart Flows can be used with Smart Triggers.
5. Click on Save.

Education Department
Last update: 07/03/2018
Page 31 of 37 benelux.amadeus.com
Illustration:
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 32 of 37 benelux.amadeus.com
How to open a Smart Trigger?
1. In the Smart Triggers Manager, select the Smart Trigger that you want to open.
2. Click on Open or press Enter.
Alternatively, double-click the Smart Trigger.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 33 of 37 benelux.amadeus.com
How to Edit a Smart Trigger?
1. Open the Smart Trigger. See How to Open a Smart Trigger above.
A Smart Trigger is opened with the data that was input at the last save.
2. Update the fields as required and click on Save.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 34 of 37 benelux.amadeus.com
How to activate a Smart Trigger?
1. In the Smart Triggers Manager, select the Smart Trigger that you want to activate.
2. Click on Activate.

Alternatively, select the Activate This Smart Trigger check box in the Smart Trigger Editor.
The activated Smart Trigger will now be triggered as per the command (and graphical action
if selected) and/or response match set up. See How to Run a Smart Trigger.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 35 of 37 benelux.amadeus.com
How to deactivate a Smart Trigger?
1. In the Smart Trigger List, select the Smart Trigger that you want to deactivate.
2. Click on Deactivate.

How to delete a Smart Trigger?


1. Select the Smart Trigger that you want to delete in the Smart Trigger Manager.
2. Click on Delete.
3. In the Delete Smart Trigger pop-up window, click on Delete to confirm the deletion.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

Education Department
Last update: 07/03/2018
Page 36 of 37 benelux.amadeus.com
Running and stopping Smart Triggers
How to run a Smart Trigger?
Smart Triggers run the scripts or Smart Flows automatically as per the command/response
match set in the editor definition. Hence, you can only invoke a Smart Trigger by typing a
command (or performing the graphical action) that is associated with a trigger or typing a
command that returns a response that is associated with a trigger.
Since 19.4, Smart Triggers can not only be triggered in the cryptic command page, but also by
a subset of supported graphical actions.

What Happens when a Smart Trigger is run?


When you type a command in the Command Page (or perform its graphical equivalent, if
chosen from the one of the supported actions) which is associated with a Smart Trigger
and/or when you type a command which provides a response that is associated to a Smart
Trigger, the application automatically triggers the components of the Smart Triggers (script or
Smart Flow) as per the definition of the associated Smart Trigger.
© 2018 Amadeus IT Group and its affiliates and subsidiaries

If several Command page instances are open, the Smart Trigger only affects the Command
page where the cryptic command that invoked the Smart Trigger was typed.

How to stop a Smart Triggers?


There is no way to stop a Smart Trigger at run time. If the Smart Trigger runs a Smart Flow,
the Smart Flow can be stopped if it has a prompt for user input. Please see Error! Reference
ource not found. If the Smart Trigger runs a script, then it depends on whether a script has a
functionality to stop itself.

Education Department
Last update: 07/03/2018
Page 37 of 37 benelux.amadeus.com

You might also like