Triggers allow you to set up automated actions when certain conditions are met.
Chat triggers will not fire if:
- No agents are online.
- All agents' availability status is set to Invisible (see Setting your availability status).
This article contains the following sections:
Creating Chat triggers
Chat triggers are created on the Chat dashboard.
In the example below, we're creating a trigger that sends a message to users visiting your product's pricing page:
To create a trigger
- From the dashboard, select Settings > Triggers.
- Click Add trigger.
- Enter a name and brief description for your trigger.
- Click Enabled at the top to enable your trigger.
- If the trigger should fire only once per individual, select the Each visitor will receive this message only once check box. Deselect this box if you want the trigger to fire every time an individual meets the trigger conditions.
- In the Customize Trigger section, use the Run trigger drop-down to select one of the following events that should fire the trigger:
- Select When a visitor has loaded the chat widget if you want the trigger to run when the visitor has opened the chat widget, but has not interacted with it.
- Select When a visitor requests a chat if you want the trigger to run when the visitor has requested a chat.
- Select When a chat message is sent if you want the trigger to run when the visitor has entered and sent text in the chat widget.
- Under Check conditions:
- Select Check all of the following conditions if you want every condition you create to be met before the trigger is fired.
- Select Check any of the following conditions if you want one or more of the conditions you create to be met before the trigger is fired.
- Select actions under Perform the following actions. To add placeholders, type @.
- Click Create triggers.
When the trigger is created and enabled, a check mark appears in the Enabled column on the Triggers settings page.
Disabling Chat triggers
If you want a trigger to stop running, but do not want to delete it, you can simply disable it. Disabled triggers can be re-enabled at any time.
To disable a trigger
- From the Chat dashboard, click Settings > Triggers, then click the trigger you want to disable.
- In the Trigger status section, click Disabled.
- At the bottom of the page, click Save changes. On the Triggers settings page, the check mark is removed from the Enabled column.
- To re-enable a disabled trigger, click the trigger you want to enable, then click Enabled.
Deleting Chat triggers
If needed, you can also delete triggers from the Triggers settings page. Deleted triggers cannot be recovered.
To delete a trigger
- From the Chat dashboard, click Settings > Triggers.
- Click the checkbox to the left of the trigger you want to delete. To select all triggers, click the checkbox to the left of the Name heading.
- Click Delete selected at the top of the page.
- Confirm that you want to delete the trigger. The trigger is removed fromm the Triggers list.