I am a huge proponent of nohello in the workplace - I get way too many Slack messages and other interrupts to waste time on pleasantries. I keep my Slack status set to "nohello.com" as a way to remind my coworkers of this, and generally don't respond to Slack messages unless they contain something I can respond to. Most of my coworkers are fine with this, and many do the same.
However, I have one coworker who doesn't seem to notice or care. Her messages to me always look like this:
Her: Good morning!
Her: How are you?
Then silence until I answer her and engage in pleasantries, after which she'll finally get to the point. This can occupy several minutes or more as I answer her, go back to what I was doing while waiting for her to respond, then get interrupted again when she responds a few minutes later with another pleasantry, etc. I've tried ignoring her until she asks an actual question, but she'll just wait (possibly assuming I'm busy/afk?), meaning her question doesn't get answered.
How can I politely inform her that I need her to get to the point immediately and not waste my time on pleasantries? Ignoring her means her question doesn't get answered because she won't ask it until I respond to her pleasantries, and also means I am constantly low-level aware of her hanging ping, which makes it hard to concentrate on my work. But if I don't ignore her, I waste a bunch of time engaging in meaningless "hi, how are you, how was your weekend, what are you up to?" back-and-forth in Slack that constantly interrupts my flow. This also encourages her to continue opening with pleasantries, further interrupting my flow later.
To be clear, my issue is not with pleasantries qua pleasantries. I don't mind chatting with coworkers around the lunch room or in the halls, or in the general-chat Slack channels. The issue is that when a coworker sends only pleasantries instead of asking their question in their first message, it repeatedly breaks my focus (one interruption per pleasantry exchange, often spaced out over several minutes to hours depending on when we're each next able to respond on Slack) and delays me from answering the question.
Just saying "hey stop with the pleasantries and get to the point" is likely to come across as rude to her. Her job is focused around people management and contractor interfacing, and I suspect some of the disconnect comes from the fact that her job normally requires her to be extra-pleasant and friendly, while mine is all about speed and getting to the point.
What is a polite way to make clear to a coworker that I will not respond to empty pleasantries in Slack, and she needs to ask her question up front before I will respond?