A place to ask questions, connect with others, and stay in the know
Another approach you could try is to use the PARSE STRING tool to split the string up into a list of words using spaces as delimiters. You can then use the FIND List tool to search the list of words. You would also need to account for removing punctuation from the sub-strings. Depending on the length of the resulting list, as well as the number of words you are looking for, it may also be worth removing duplicates..This is where at all starts to get complicated. What are you going to do if someone replaces odd characters with special characters, or simply mis-spells the word(s) in question?A third (possible) solution is if you can find any form of online "text sanitation" service with a REST API. I don't know if such services exist (I'd be surprised if they didn't) you could perhaps run the text of each message through this? Depending on volume, it may cause performance issues, but might be worth investigating.FWIW, I think you are going to find yourself going down a rather deep rabbit hole trying to make this effective without compromising desired functionality (The Scunthorpe Problem, mentioned by Aaron, is the tip of a rather large iceberg here!) You are also setting yourself up for criticism if your solution gets it wrong - which is why I repeat my advice to record and act upon undesirable language accordingly.
If you do decide to go down this route, however, as Ryan says, it's going to involve Handlers.
Every year, Genesys® orchestrates more than 70 billion remarkable customer experiences for organizations in more than 100 countries. Through the power of our cloud, digital and AI technologies, organizations can realize Experience as a Service℠, our vision for empathetic customer experiences at scale. With Genesys, organizations have the power to deliver proactive, predictive, and hyper personalized experiences to deepen their customer connection across every marketing, sales, and service moment on any channel, while also improving employee productivity and engagement. By transforming back-office technology to a modern revenue velocity engine Genesys enables true intimacy at scale to foster customer trust and loyalty.