Creating and Managing Triggers

Trigger Management allows administrators to find, create, configure and manage website triggers directly within Synthetix Cloud.

A trigger controls when and where a Synthetix service is promoted on a website. It can appear as a popup or be connected to an existing button or link on the page.

Opening Trigger Management

To open Trigger Management:

  1. Sign in to your organisation's Synthetix Cloud.
  2. Select Admin.
  3. Under Configuration, select Triggers.

Each organisation has its own Synthetix Cloud subdomain. For this reason, a fixed direct link cannot be used for every customer.

If you need to construct the address, replace {your-subdomain} with the subdomain used by your organisation:

https://{your-subdomain}.synthetix.cloud/#/Common/Admin/Triggers

If Triggers is not visible, ask an administrator to check your permissions.

Finding and reviewing triggers

The Trigger Management page displays summary totals followed by the trigger list. By default, it shows active triggers sorted by name.

You can use the controls at the top of the page to:

  • Search for a trigger by name.
  • Filter by channel, style or status.
  • Show Active, Disabled or all triggers.
  • Choose the number of rows displayed on each page.
  • Refresh the list to load the latest configuration.

Select a column heading to sort by name, channel, style, position or status. Use the controls below the table to move through the result pages.

Select a trigger name to view and edit its configuration.

Trigger Management showing search and filter controls, summary totals and the trigger list
Trigger Management showing the available search, filter and sorting controls.

Creating a trigger

Select Create trigger at the top of the Trigger Management page.

The progress indicator shows whether the required setup is complete. The Create trigger button remains unavailable until all required information has been provided.

Configuring the core settings

Complete the following fields:

  • Name: Enter a unique name. Spaces are not allowed. Use letters, numbers, hyphens, underscores, periods or tildes.
  • Channel: Choose the service that the trigger will open. The channels available to your organisation are displayed in the list.
  • Style: Choose Popup or In page.
  • Effect: For a popup, choose no effect or a bounce, fade or zoom animation.
  • Position: For a popup, select an edge position or the centre of the screen. Position is not applicable to an in-page trigger.
Create Trigger page showing the name, channel, style, effect and position fields
Enter a name and choose the trigger's channel and presentation.
Expanded channel list on the Create Trigger page
The channel list reflects the services configured for your organisation.
Expanded popup position list on the Create Trigger page
Popup positions are grouped by screen edge, with Screen Centre also available.

Adding a schedule

Select Add schedule, choose the days and enter the start and finish times.

A trigger without a schedule will not display.

You can add another time period to the same schedule or add separate schedules for days that use different hours. Remove a schedule or time period when it is no longer required.

Trigger schedule with weekdays selected and a time period from 09:00 to 17:00
A schedule can cover selected days and one or more time periods.

Selecting skills

Select the skills that can receive conversations from the trigger. Only choose skills that are appropriate for the selected channel and the visitors who will use the trigger.

Configuring timing and URL targeting

The timing and targeting settings control when the trigger appears and the pages on which it can run.

  • Show delay: The number of seconds to wait before displaying the trigger.
  • Hide delay: The number of seconds before hiding the trigger.
  • URL whitelist: Display the trigger only when the visitor's URL matches one of the added URLs or patterns.
  • URL blacklist: Prevent the trigger from displaying when the visitor's URL matches one of the added URLs or patterns.

Select Add URL for each rule you need. Use the remove control beside a rule to delete it from the form.

Timing and targeting settings showing delay fields and URL whitelist and blacklist controls
URL whitelist and blacklist rules control where a popup trigger can appear.

Setting the online and offline content

Enter the text and optional icon URL shown while the service is online.

You can also provide different text and an icon for the offline state.

Choosing the behaviour

The behaviour options depend on the selected channel and style. They can include:

  • Queueing: Allow visitors to join the chat queue regardless of agent availability.
  • Maximise: Open the service in its maximised state.
  • Disable live chat: Prevent a Knowledge trigger from promoting chat.
  • Knowledge targeting: Optionally target a particular article or category.

The sections shown in the form can change when you select a different channel or switch between Popup and In page. Review the whole form after changing either setting.

Creating the trigger

Review the configuration and select Create trigger. The new trigger is added to the Trigger Management list.

Editing a trigger

To update an existing trigger:

  1. Find the trigger in the list.
  2. Select its name.
  3. Update the required settings.
  4. Select Save changes.

The section navigation at the top of the form can be used to move between Basics, Schedule, Skills, Targeting, Content and Behaviour where those sections apply.

Select Cancel to leave the form without saving your changes.

Edit Trigger page for a Knowledge in-page trigger
An existing trigger can be reviewed and updated from the same form.

Disabling a trigger

Trigger Management uses a reversible disable action in place of permanent deletion.

A disabled trigger is no longer available to visitors, but its configuration is retained and it can be restored later.

To disable a trigger:

  1. Open the trigger from the list.
  2. Select Disable trigger.
  3. Review the confirmation message.
  4. Select Disable.
Confirmation asking whether to disable a trigger
Disabling takes the trigger out of use without permanently deleting its configuration.

Important: Before disabling a live trigger, check where it is used and whether another trigger should replace it.

Finding disabled triggers

On the Trigger Management page, set the status filter to Disabled.

Disabled triggers remain available for review and restoration. Select Clear filters to return to the default list.

Trigger list filtered to show disabled triggers
The status filter can be used to display disabled triggers.

Restoring a trigger

To restore a disabled trigger:

  1. Filter the list to show Disabled triggers.
  2. Select the trigger name.
  3. Review its configuration and schedule.
  4. Select Restore trigger.

The trigger becomes active and is available to visitors again.

A disabled trigger showing its disabled notice and Restore trigger button
A notice identifies a disabled trigger and the Restore trigger button makes it active again.

Setting up an in-page trigger

An in-page trigger is connected to an existing button or link by an HTML data attribute.

The SynthetixJS embed code must already be included on the page.

To set up an in-page trigger:

  1. In Trigger Management, select In-page setup.
  2. Enter the exact trigger name. Trigger names are case-sensitive.
  3. Copy the button or link example, or add data-synthetix-trigger to an existing element.
  4. Publish the HTML change.
  5. Open the page and select the element to confirm that the trigger opens.

For example:

<button type='button' data-synthetix-trigger='your-trigger-name'></button>

<a href='#' data-synthetix-trigger='your-trigger-name'></a>

No page URL needs to be added to the trigger for this style. The page element identifies the trigger by name.

In-page Trigger Setup showing the trigger name, HTML attribute examples and test checklist
The in-page setup screen provides ready-to-copy button and link examples.

In-page trigger status values

While checking a trigger, the client adds data-synthetix-trigger-status to the element. This can be used for styling or diagnosis.

StatusMeaning
fetchingThe client is checking availability.
onlineThe trigger is available.
offlineThe configured offline state is active.
errorThe trigger could not be resolved.

Troubleshooting

The trigger does not appear

  • Check that the trigger status is Active.
  • Confirm that at least one schedule exists and that the current day and time fall within it.
  • Check the show delay and hide delay.
  • Confirm that the current page matches a whitelist rule, if one is configured.
  • Confirm that the current page is not excluded by a blacklist rule.
  • Check that the relevant skills and channel are configured correctly.
  • For an in-page trigger, confirm that SynthetixJS is loaded and that the HTML attribute exactly matches the case-sensitive trigger name.

The wrong content or service opens

  • Review the selected channel.
  • Check any targeted Knowledge article or category.
  • Review the online and offline text and icon URLs.
  • For an in-page trigger, check the value of data-synthetix-trigger on the selected element.

An in-page element shows an error state

Check that the trigger exists, is active and is currently scheduled.

Confirm that its exact name is used in the HTML attribute and that the SynthetixJS embed code has loaded on the page.

Summary

ActionWhere to start
Find or review a triggerUse search, filters and sorting on the Trigger Management page.
Create a triggerSelect Create trigger and complete the required setup.
Edit a triggerSelect its name, update the settings and select Save changes.
Remove a trigger from useOpen it and select Disable trigger.
Restore a triggerFilter by Disabled, open the trigger and select Restore trigger.
Embed an in-page triggerSelect In-page setup and add the supplied data attribute to the page element.
Powered by Synthetix