How to Eliminate Spam in Intercom: Automatic Filtering and Spam Handling
Intercom is one of the best services for customer support, combining powerful tools for chats, tickets, and onboarding. However, it has one critical drawback that can ruin your experience — the lack of a customizable spam filter or the ability to automatically exclude spam from the main message list and, oddly enough, mark it as spam.
As a result, Intercom operators face phishing, fraud, and intrusive spam, which:
- Disrupts support statistics, as all messages end up in a single pile.
- Requires manual filtering, which takes hours of valuable time.
Let’s solve this problem once and for all!
Although this solution was created for my own needs, I’m sure this issue is widespread, so I decided to share it with you.
How Does It Work?
I created a scenario that minimizes the presence of spam in your inbox using all available tools.
Here’s what the scenario looks like:
Scenario Details
1. Message Classification
The scenario starts with a trigger that fires when a new conversation begins. We extract the user’s name and message text and send them to a GPT assistant. Its task is to determine whether the message is spam (True or False).
The scenario then branches based on the classification result.
2. Spam Handling
A chain of JavaScript nodes performs the following actions:
- Adds a “spam” tag to the conversation.
- Marks the contact as spam.
- Adds a note indicating that the conversation was closed by the bot as spam.
- Closes the conversation.
Don’t worry about the code! I didn’t write a single line — the AI assistant did everything. I just described the task, for example: “Create a node for Intercom that adds a tag to the conversation,” and it handled it perfectly!
The AI also created all the necessary fields for the connection — all you need to do is fill them in.
Additional: Retrieving admin_id
and tag_id
Some actions require admin and tag IDs. You can easily retrieve them through separate nodes, which were also created by the AI assistant.
3. Notifications
If the message is not spam, set up a convenient notification channel to ensure you never miss important user requests.
The Result
You now have a powerful tool to combat spam in Intercom. No more manual filtering — you can focus on what truly matters.
Want More Cases Like This?
Leave a comment, and I’ll share more automation solutions!
Join Latenode, and you too will be able to create automations of any complexity without a hitch.