Place a path in a trigger

There are different ways to place a path in your triggers. The placed path can be used to control which story is shown on which (sub)page of your website. The "path" is the part of the URL/domain that follows the slash. It is important that the domain has been configured in the chatbot settings and the correct integration has been made.

If the same story has to be published on all subpages of your website, you can easily select the option "Show on all pages" in the trigger.

 

An example for application

Our goal is to post a story on the https://www.aiaibot.com/en/solutions/enterprise sub-page. This story is to appear exclusively on this page and on no other. The path here corresponds to the domain section /en/solutions/enterprise. The procedure is as follows:

1️⃣ Configure the domain in the settings

First of all, we make sure that we have configured the domain https://www.aiaibot.com  in the chatbot settings.

Bildschirmfoto_2020-11-05_um_16.47.48.png

2️⃣ Add trigger and select type

In a next step we go to the story that should be published on https://www.aiaibot.com/en/solutions/enterprise publiziert werden sollte. There we open the trigger settings under Bildschirmfoto_2020-11-05_um_16.56.12.png and decide on a trigger type. What exactly the different types contain can be read in this article. How a path is placed in the trigger is not dependent on the trigger type.

3️⃣ Add path

Now title and path can be placed and saved in the trigger. After the trigger has been saved and the story has been published and switched to active, the story will now explicitly appear at https://www.aiaibot.com/en/solutions/enterprise.

Bildschirmfoto_2020-11-05_um_16.57.17.png

For advanced users: In this table you will find an overview of the pattern matching you can do for URLs. Among other things, it shows on which example websites ("Matching URLs") a story would be published if slashes or stars ("Patterns") were placed in specific locations in the path.

Was this article helpful?
0 out of 3 found this helpful