Plugin Flow Settings examples for WebChat Dialogue Provider
Note
An Enterprise license or higher is required to access these features.
Introduction
The WebChat Dialogue Provider can make use of the Plugin Flow Setting. This can be used to route the conversation to a skill based on attributes.
Attributes
The following attributes can be used
Attribute | Description |
---|---|
Channel |
Channel of the dialogue. For example: WebChat |
SenderUri |
URI of the send. For example: user@domain.com |
ReceiverUri |
URI of the receiver. For example: user@domain.com |
Content |
Body of the message. For example: My car won’t start. |
Subject |
Subject of the webchat. Tip This can be set via an WebChat Adaptive Cards |
Statements
AND Statement
The AND statement can be used if the item needs to match on two or more values:
Attribute | Operator | Value | Order | Condition | Action | Skill |
---|---|---|---|---|---|---|
Content |
Contains |
Core |
1.00 |
AND | ||
Channel |
Equals |
WebChat |
1.10 |
Skill |
Skill 1 |
|
None of the above |
Matches regular expression |
.* |
2,147,483,647.00 |
Skill |
Skill 2 |
Examples:
-
Content "I want to know my Core version" and Channel is WebChat = Goes to Skill 1
-
Else = Goes to Skill 2
OR Statement
The OR statement can be used if the item needs to match on one of more values:
Attribute | Operator | Value | Order | Condition | Action | Skill |
---|---|---|---|---|---|---|
Content |
Contains |
Core |
1.00 |
OR | ||
Content |
Contains |
1.10 |
Skill |
Skill 1 |
||
None of the above |
Matches regular expression |
.* |
2,147,483,647.00 |
Skill |
Skill 2 |
Examples:
-
Content "I want to know my Core version" = Goes to Skill 1
-
Content "I want to know my Attendant version" = Goes to Skill 1
-
Else = Goes to Skill 2
ELSE Statement
The else statement can be used if all else doesn't match. For example:
Attribute | Operator | Value | Order | Action | Skill |
---|---|---|---|---|---|
Subject |
Contains |
Core |
1.00 |
Skill |
Skill 1 |
Subject |
Contains |
Attendant |
2.00 |
Skill |
Skill 2 |
None of the above |
Matches regular expression |
.* |
2,147,483,647.00 |
Skill |
Skill 3 |
Examples:
-
Content "I want to know my Core version" = Goes to Skill 1
-
Content "I want to know my Attendant version" = Goes to Skill 2
-
Else = Goes to Skill 3