Automatic topic assignment based on response length | XM Community
Skip to main content

Is it possible to automatically assign a topic to a response when the character/word count of a comment is below a certain threshold?

Background: we get lots of great feedback from our customers, but we also get a fair amount of short, unhelpful feedback (“it’s good” or “its ok” or “idk”) that I’d like to filter into a catch-all topic. My goal is to make sorting through untagged feedback more efficient - if I can clear out junk responses first, spotting real trends becomes much easier.

I know I can filter comments using “it’s good” as search criteria, but I don’t want to exclude a real response that uses “it’s good” as part of a longer sentence or phrase. 

 

Hey Adam! This is a fun use case. Here is one way you could accomplish this. First, you could set an Embedded Data Field in your survey flow (EX: “category”). Then, we could add branching logic to set up the parameters of the length of response using regex (if you need help with Regex, I’ve found ChatGPT to be very helpful). It could then look something like this:

Then, this would be added as an Embedded Data field in your Data & Analysis, and you can filter widgets in the Dashboard by “short” or “long” or whatever category/topic you’d like!

Just an additional suggestion, I would add the branch logic as close to the open ended question as possible. That way, you can still have the topic/category be captured even if the respondent abandons the survey mid-response. This would at least reduce the chance of unfinished respondents not having their topic captured.

I hope this is helpful and that it works for you! Please reach out if you have any other questions. Thanks and have a great day!


Thanks @tannerfaragher! This could definitely be helpful for reporting, but the challenge I have is within the dashboard’s topic editing/assignment screen. We currently have 150k+ comments in our historical data, and roughly 30-40% are the unhelpful responses I noted. 

What I need is the ability to assign any comment under (ex.) 10 characters to a topic like“Brief Comment.” This gets 30-40% of the noise comments out of the way, letting me focus my topic analysis/creation time on longer, more valuable responses.

Your suggestion would work perfectly if there was a way to filter within topic creation in text iQ - just filter by category = short and assign all selected comments to “Brief Comment.” 

Is there a way to filter like that within text iQ?


Leave a Reply