Skip to main content
Acepeak

Home / SMS Firewall / Content & template rules

Feature · Content & template rules

Read every message. Apply your rules.

Filter SMS by keywords, patterns and registered templates, then let AI confirm the verdict. Spam and scams are stopped before delivery, in under 50 ms.

KeywordsPatternsTemplatesAI verdict
Message under inspectionSender ID “BANK-SEC”
From BANK-SEC

Your account is locked. Verify to avoid closure.

Keywords“locked”, “verify”Match
PatternsNo link foundClear
TemplateNo registered matchMatch
AI classSuspicious 0.64Maybe
Policy v12 applied · 27 msFlagged for review

Every verdict logged and reversible

Illustrative messages

Most SMS fraud follows a pattern someone can already describe.

Content and template rules turn what you already know about spam and scams into policy that runs on every message, with AI covering what the rules can’t yet describe.

Rules you write and controlApplied to every messageAI backs them up
Keywords and patterns

Say what to look for, once.

Match words and phrases, link patterns and disguised text. Shortened URLs are expanded, and character swaps like “h0ld” no longer slip past a filter.

Keywords
keyword: “claim now”

Congratulations! You have been selected. Claim now to receive your reward.

Rule matched
Patterns
url: shortener + currency

Parcel held. Pay £1.99 at bit.ly/p4rcel to release it.

Waiting for a match
Obfuscation
normalise: character swaps

Ur p@ckage is on h0ld, settle the fee today.

Waiting for a match

Illustrative rules and messages

Template rules

A message either fits the template, or it doesn’t.

Registered templates describe what a legitimate message looks like, with slots for the parts that change. A message that fits passes cleanly. One that adds something extra stands out at once.

  • Fixed text, variable slots
  • Anything extra is flagged
  • Pairs with your DLT registration
Registered template · OTP-12
Your code is {var}. It expires in {var} minutes.
Incoming message
Your code is 482913. It expires in 5 minutes.
Matches template OTP-12

Illustrative template

Rules plus AI

Rules catch the known. AI reads the rest.

AI reads every message body and classifies it as transactional, promotional, conversational or fraudulent before delivery. It works alongside your rules, and language models recognise scam copy even when the wording changes.

Message

Claim your prize now: bit.ly/3xK9a

Transactional
Promotional
Conversational
Fraudulent
0.98

Illustrative classifications

Fast enough to be invisible

A verdict in under 50 ms.

Rules run on passive taps that mirror SMPP and SS7 traffic, so nothing in your routing changes. Legitimate traffic is untouched, and each decision completes in under 50 ms end to end.

  • Passive taps, no routing change
  • Zero impact on legitimate traffic
  • Allow, block or flag every message
  1. 1Tapsubmit_sm captured on a passive tap0 ms
  2. 2ValidateSender, origin network and reputation4 ms
  3. 3AnalyseRules and AI score the text and links18 ms
  4. 4ActAllow, block or flag. Logged, reversible31 ms
Blocked · 31 ms

Illustrative trace

Trusted and unknown

Let the good through. Slow the rest.

Allow-lists let trusted senders pass cleanly, while bursts from unknown sources get throttled. Your own rules decide who is which.

BANK-ALERTAllow-listedPasses
COURIER-UKAllow-listedPasses
UNKNOWN-7731Unknown senderThrottled
Messages per minute1980
Limit

Illustrative senders

Policy versions
  • v11Added keyword group “parcel fee”Roll back
  • v12New pattern: shortened URLsLive
  • v13Template OTP-12 tightenedRoll back
Held for review
BANK-SEC · “Your account is locked…”Flagged by policy v12ReleaseBlock

Illustrative policy

Safe to change

Edit the policy without the fear.

Rules live in versioned policy, so you always know which version made a decision. Every verdict is logged and reversible, and a flagged message is held for review, so a mistake can be undone instead of lost.

  • Versioned policy, rolled back in a click
  • Every verdict logged and reversible
  • Flagged messages held for review
FAQ

Content & template rules, answered.

Write the rule once. Stop it everywhere.

Talk to us about content and template rules for your SMS traffic.

Contact Us