How to Automatically Delete Spam on LinkedIn in 2025

How to Automatically Delete Spam on LinkedIn in 2025

LinkedIn spam bothering you? I get it. Also, there are some ways to automatically deal with it, so that you or your content moderators don’t have to waste time doing it manually.

Here’s how to block spam on LinkedIn in the comments section and a few ways to limit it in your LinkedIn DMs.

Protect your LinkedIn from spam 

Protect your LinkedIn from spam 

Automatically delete spam comments on LinkedIn, for all your Company Pages at once – with an all-in-one social media tool.

Try NapoleonCat for free

14-day trial period. No credit card required.

Why is LinkedIn spam such a big deal?

Well, there are several reasons, and I’m sure you get most, if not all of them. But for the record, let’s go through just a few.

It’s annoying

Anyone getting tons of spam comments and DMs on LinkedIn knows this. And LinkedIn is notorious for unsolicited sales pitches in the DMs and AI slop in the comments (or even sloppy AI-generated sales pitches, too.) Content moderators, social media managers, and content creators all deal with it to some extent. And it takes up time and attention that could be spent otherwise – and definitely more productively.

It takes up time 

I know I’ve said it before, but I’ll say it again. Your moderator teams have more important things to do than recognizing and removing spam – like actual customer service and relationship building, which tend to happen in the comments and messages.

It interferes with your brand image 

And not just by taking the moderator’s attention away from other important conversations with the customers. 

Social media is an important customer service channel – or so says the latest report by NapoleonCat and Norstat conducted in the UK. You might have seen the below diagram, but I’m going to show it to you anyway.

A table displaying statistics on the number of individuals' preferred channels of contact with brands
How UK consumers contact brands. Source: NapoleonCat and Norstat

And while LinkedIn might not be the top social media platform for people to contact brands, it’s still an important channel. Especially when you’re a B2B brand.

But there’s more. 

Bar chart showing British consumers' perceptions of customer service on social media, with 54% reporting a positive impact on brand opinion.
How customer service on social media impacts brand image. 

More than half of UK consumers in the study said that a positive experience with a brand on social media positively impacts their overall perception of the brand. Now, that’s hardly news, but these are just some of the hard numbers that prove it.

Throughout the report, LinkedIn appears as one of the major social media channels for customer service. For example:

  • Youngest consumers (18-24 y.o.) use it the most during the purchase stage of their buying journey, next to TikTok (which is a really interesting combination.)
  • It tends to be used more frequently by men than women to contact brands.
  • And before purchasing, 13% of consumers go to LinkedIn to reach out to brands and watch their content.
Bar chart showing social media platform usage during pre-purchase stages, segmented by gender, age, and social grade.
How UK consumers use LinkedIn and other social media platforms before purchasing. Source: NapoleonCat & Norstat 

You’ll find more interesting stats like this when you download the report, which I highly recommend.)

But why do I even mention it when we’re talking about spam on LinkedIn (other than trying to encourage you to download the report?)

Well, spam is actually part of the entire brand experience on social media. Because comments are.

So, it’s definitely in your brand’s best interest to have an efficient way to deal with it, so it doesn’t build a negative image of your brand’s content.

Which is why having a LinkedIn automated spam block is a really good idea. So, let’s get down to business.

How do I stop spam comments on my LinkedIn Company Page?

You can create your own LinkedIn automated spam block by using NapoleonCat’s Auto-moderation

Technically, it doesn’t block spam comments from appearing under your content, but it instantly removes them the moment they’re posted, so you don’t have to worry about anyone seeing them.

It’s based on automated rules, and it’s super easy to launch on your LinkedIn Company Page. 

Let me show you how it works.

You can try it completely for free for 2 weeks. When you connect your LinkedIn Company Page to NapoleonCat (this only works for Company Pages, not personal accounts), you can manage the comments using the Social Inbox, along with comments from other social media profiles like TikTok or Instagram. This is super convenient, but you’ll still have to remove spam manually.

And that’s what Auto-moderation is for. 

You can set up a rule that will automatically delete all comments containing certain words or phrases you specify. To do that, create an Auto-moderation rule. There’s even a ready-made Auto-moderation template that will help you, so let’s start with that.

When you go to the Auto-moderation tab, you’ll see a list of ready-made templates. Scroll down to find the one designed to get rid of offensive comments on LinkedIn. It’ll serve as a great base for dealing with spam comments, too.

NapoleonCat'a main panel displaying templates for automating content moderation on various platforms. LinkedIn template is highlighted
Auto-moderation templates in NapoleonCat

Then open it and follow the steps. In the template, the platform will already be selected for you, so continue straight to selecting your Company Page (or pages).

Auto-moderation editing panel. Choosing LinkedIn as a platform for moderation social media interactions.
Setting up an Auto-moderation rule

When you click next, you’ll be able to select the type of comment:

  • All organic comments
  • Only top-level comments or subcomments
  • Conversations for specific posts (handy if there are particular posts that attract spam or offensive content in the comments).
Choosing message type for Auto-moderation on LinkedIn.
Selecting the type of comments the rule will work for

Then, as an additional condition, choose from the following:

  • Text comments
  • Comments with links
  • Comments with images or videos
Selecting condition for an Auto-moderation rule: all messages, messages with text only, messages containing link, messages containing images or videos.
Selecting a condition for your Auto-moderation rule

Then, select the trigger. If you want to automatically delete comments with certain words and expressions, add them in the keyword box. The template already includes a bunch of the most popular offensive comments, so add the ones that you see most commonly in spam comments on your profile.

Trigger section inside NapoleonCat's  Auto-moderation.
Defining triggers for your Auto-moderation rule

Additionally, you can add tags (if you have any in NapoleonCat) and sentiment, but these are optional.

Also, if you want to delete any comments with links, it’s enough to just select them earlier on as a condition and leave the trigger section empty. The rules are highly customizable, so you can adjust them to your needs.

After the trigger comes the action, and on LinkedIn, it’s only possible to delete comments (Facebook, on the other hand, also allows you to hide comments, so only the author sees them.)

Social media actions tab. "Delete" option is chosen.
Social media actions for the Auto-moderation rule

If you’re starting a new rule, you’ll have to turn the toggle on. Otherwise, that’s already been done for you in the template.

You can then set up email notifications that will notify you whenever a rule is triggered if you want to keep an eye on Auto-moderation doing its job right.

And the last step is setting up a schedule for the rule. My advice is to just keep the rule running 24/7 in the case of removing spam and offensive comments so your team doesn’t have to waste any of their time deleting them manually. In this case, simply skip this step.

A tab showcasing a schedule for the Auto-moderation rule.
Setting up a schedule for your Auto-moderation rule

And that’s it – your LinkedIn automated spam block is ready to run and delete the spam for you. Use it for as many LinkedIn Company Pages as you want.

Protect your LinkedIn from spam 

Protect your LinkedIn from spam 

Automatically delete spam comments on LinkedIn, for all your Company Pages at once – with an all-in-one social media tool.

Try NapoleonCat for free

14-day trial period. No credit card required.

How to block spam messages on LinkedIn 

So we have comments sorted, but how do you stop spam on LinkedIn when it comes to your DMs? Unfortunately, LinkedIn doesn’t allow the use of the same Auto-moderation rules as above in the LinkedIn inbox. But, in return, it offers its native spam tools.

LinkedIn has a built-in spam filter that automatically detects and filters out spam messages (though it’s not perfect and probably won’t eliminate everything you could consider spam, especially if that spam a.k.a. unsolicited sales pitch comes through InMail). 

To turn on the spam filter, go to Settings & Privacy > Data Privacy > Messaging Experience

Turning on spam filter on LinkedIn.
You’ll find your Account settings when you click on “Me” in LinkedIn’s top bar

There, you’ll see Automated detection of harmful content, which you can turn on to automate detecting messages that violate LinkedIn guidelines.

A LinkedIn menu titled "Messaging experience," listing options like Focused Inbox, read receipts, suggestions, and harmful content detection.
Adjusting the messaging settings on LinkedIn

For purely promotional content that you don’t want to receive, your options are mostly limited to carefully selecting the invitations you accept for your personal profile (some invites already scream spam when you look closer) and adjusting visibility, including Who can reach you (you’ll find this section just above Messaging Experience). In Messages you receive, you can specify the kind of message you want to get on LinkedIn:

Screenshot of LinkedIn settings for message preferences including InMail, Open Profile messages, and job invitation notifications.
Adjusting what types of messages you want to receive on LinkedIn

The above settings work for personal LinkedIn profiles. If you want to configure the Inbox for your Company Page, go to Settings when viewing your LinkedIn Page as an admin. You can manage your Inbox settings from there.

You can also turn off the message button entirely for your LinkedIn Company Page. Also, the Inbox on your Company Page will have an automated spam filter applied.

Don’t waste time managing spam on LinkedIn (and other social media platforms)

Social media moderators, marketers, and business owners have more important tasks at hand than continuously deleting spam comments and messages. On the other hand, it’s not a great idea to ignore them, either. 

So make use of automation tools available to delegate that task to automated algorithms that can do it for you. While you can focus on building relationships on LinkedIn and other social media platforms.

PS. You can try NapoleonCat for free for 14 days to see how that works out for your brand. 

Protect your LinkedIn from spam 

Protect your LinkedIn from spam 

Automatically delete spam comments on LinkedIn, for all your Company Pages at once – with an all-in-one social media tool.

Try NapoleonCat for free

14-day trial period. No credit card required.

You may also like:

Sign up for a
14-day free trial

Try NapoleonCat free for 14 days. No credit card required.

Try NapoleonCat free for 14 days. No credit card required.