About the Chat trigger:
Use this recipe to create a Chat trigger that fires based on which page the visitor is on when they request a Chat. For example, route customers who request a chat from your pricing page to your sales team.
How to create the trigger in Chat:
- Run trigger: When a visitor has loaded the chat widget
Check conditions: Check all of the following conditions
- Visitor page URL | Equals | www.sampleurl.com/pricing
Perform the following actions
- Set visitor department | Sales
Note: the Set visitor department condition only works when you have the Run trigger condition set to When a visitor has loaded the chat widget. See more in this article: Department routing is not working correctly in chat.
In product example:
For more on routing chats with triggers see the article: Automatically route chats to departments.