Triggered by API
Origin: This rule event requires the use of proactive chat with the CXone Mobile SDK. Contact your CXone Account Representative for more information.
This rule fires when an API call is made.
This rule is not used with Guide. It is provided for existing digital chat customers who may have implemented this ruloe. It is unavailable for new customers.
Create This Rule
- Click the app selector and select ACD.
-
Go to GUIDE > Engagement Rules.
-
Click Add engagement rules.
- Enter a Name for the rule. Since you can assign multiple actions to the same rule, use a name based on the event or conditions rather than an associated action.
-
From the Event drop-down, select Triggered by API.
-
From the Data Type drop-down, select if the rule will apply to Chat Window or Visitor Destination. This changes the conditions that are available for this rule. See the sections below for details.
- In the Delayed execution field, enter the number of seconds to wait after the selected event occurs before firing the rule. If you want it to happen immediately, enter 0.
- Click Save.
- From the detail page, click Activate when your rule is completely configured.
Add a Condition
If you entered a value in the Delayed execution field when you created a trigger, make sure your condition configurations do not exceed that time. For example, if you set the Delayed execution time to 86400 seconds, or 24 hours, you cannot add a Contact status update time condition with a time period greater than 1 day.
- From the detail page, click Add Condition.
- Use the drop-down to select the condition you want. Refer to the table below for a list of conditions available for what you just created.
- Click Select.
- Some conditions require additional configuration. Refer to the table below for instructions.
Available Conditions: Chat Window
If the Data Type drop-down is set to Chat Window, the following triggers are available.
Condition Type | Details and Instructions |
---|---|
Date and time |
Executes actions during or outside of specified time frames.
|
Excluded visitor tags |
Executes actions based on the tags that a visitor does not have. Any visitor that does not have the tags you specify fires the action.
Tags are assigned to visitors through an engagement rule that uses the Add tag to visitor action. |
Included visitor tags |
Executes actions based on the tags that are assigned to visitors. Any visitor that has the tags you specify fires the action.
Tags are assigned to visitors through an engagement rule that uses the Add tag to visitor action. |
Proactive action grace period |
Executes actions based on the last time a proactive action was used. Any actions in this workflow that would be run during this time frame are skipped. The maximum grace period for proactive actions is 30 days.
|
Probability of execution |
Executes actions based on a probability percentage.
|
Available Conditions: Visitor Destination
If the Data Type drop-down is set to Visitor Destination, the following triggers are available.
Condition Type | Details and Instructions |
---|---|
Custom condition |
Execute actions based on the response from the specified URL endpoint. The response from the endpoint should return boolean (true or false).
|
Date and time |
Executes actions during or outside of specified time frames.
|
Excluded visitor tags |
Executes actions based on the tags that a visitor does not have. Any visitor that does not have the tags you specify fires the action.
Tags are assigned to visitors through an engagement rule that uses the Add tag to visitor action. |
Included visitor tags |
Executes actions based on the tags that are assigned to visitors. Any visitor that has the tags you specify fires the action.
Tags are assigned to visitors through an engagement rule that uses the Add tag to visitor action. |
Proactive action grace period |
Executes actions based on the last time a proactive action was used. Any actions in this workflow that would be run during this time frame are skipped. The maximum grace period for proactive actions is 30 days.
|
Probability of execution |
Executes actions based on a probability percentage.
|
Add an Action
-
From the detail page, click either Add new action or Add existing action, depending on if the action you want already exists.
- If you clicked Add new action, follow the steps to create the action you want.
- If you clicked Add existing action:
- Use the drop-down to select the action you want.
- Click Add.