How to archive LinkedIn messages according to rule

GOAL: based on a simple rule (if LinkedIn message is “X”, archive)

I would like to automate LinkedIn message processing to deal with the multiple messages received daily that meet this criteria and then only manually address what remains.

#LIMessageUXsucks
linkedin