Skip to main content

Activity Capture Config: Exclude Email Domains vs Custom Rules

Weflow's Activity Capture logs emails and meetings to Salesforce automatically, so your team does not have to. But not every email belongs in the CRM. Weflow gives you two ways to control what gets logged: Excluded email domains and Custom rules.

They look similar at first, and it is easy to assume one covers the other. They do not. They check different things, at different points in the process. This article explains what each one does, when to use it, and how to decide.


Why bother setting this up

If you skip this step, Weflow logs everything it can match to a Salesforce record. That leads to a few problems:

Noise in the CRM.
Internal threads, vendor invoices, newsletters and calendar spam all end up on account and contact timelines. Reps stop trusting the activity history because they have to scroll past clutter to find the real conversation.

Privacy and compliance.
Some conversations should never sit in Salesforce. HR emails, legal threads, personal addresses, anything covered by an internal policy. Filtering keeps them out from the start rather than cleaning up later.

Reporting accuracy.
If activity counts include automated notifications and internal chatter, your engagement metrics are inflated. Filtering makes activity data mean something.

API usage.
Every logged activity uses Salesforce API calls. Logging things nobody needs is a waste of your org's limits.

Set this up once during onboarding and it quietly works in the background from then on.


Excluded email domains

What it checks: the email address itself.

When it runs: first, before Weflow does anything else. If an address matches, the email or meeting never reaches Salesforce at all.

This is the blunt, fast filter. It does not care what account the email relates to or what stage the opportunity is at. It only looks at who is on the thread.

Examples

What you add

What it stops

yourcompany.com

Internal threads. Weflow will not log a conversation where everyone is internal. Add your own domains here first, always.

gmail.com, outlook.com, hotmail.com

Personal addresses that belong to nobody in particular in your pipeline.

noreply@, no-reply@

Automated notifications from tools, calendars and platforms.

billing@, invoices@, accounts@

Finance and admin mail that has nothing to do with the deal.

competitor.com

Competitor domains you never want captured.

recruiting-agency.com

Vendors and agencies who email your team constantly but are not customers.

A single specific address, if you only want to block one person rather than a whole domain.

Good to know

Domain exclusion costs nothing in performance, so you can be generous with it. There is no practical downside to a long list.

It matches on the address only. If a contact record in Salesforce carries an address you have not excluded, mail involving that address will still be logged.


Custom rules

What it checks: Salesforce field values.

When it runs: After Weflow has matched the activity to a record. Weflow finds the account, contact or opportunity first, then checks your rules to decide whether to log it.

This is the precise filter. Use it when the decision depends on what kind of record the activity belongs to, not who sent the email.

Examples

Rule

What it does

Account Type is Partner

Stops partner activity cluttering customer timelines.

Account Name contains "Company Name"

Blocks everything tied to one account, however the email arrived.

Contact field "Do Not Track" is True

Lets individual contacts be opted out without touching your domain list.

Opportunity Stage is Closed Lost

Stops activity piling onto deals that are finished.

Account Owner is not the connected user

Keeps a rep's inbox from writing to accounts they do not own.

Account Industry is Healthcare

Useful where a specific sector has stricter data handling requirements.

Good to know

You can use any field the connected Salesforce user can see. Picklists work best. Long text fields are not supported, because Salesforce cannot filter on them.

There is a limit of ten custom rules.

Each rule adds an API call per logged email or meeting. Ten rules on a high volume org adds up, so use them where you genuinely need the CRM context and leave the rest to domain exclusions.

Company name filter.

A shortcut inside Custom rules. Turn it on, add a value like google, and Weflow will skip any record whose company name, email domain or website field contains it. One entry covers every domain variation and spelling, across the objects you select, without spending one of your custom rules on each.


Side by side comparison

Excluded Email Domains

Custom Rules

Checks

The email address

Salesforce Field values

Runs

Before Matching

After Matching

Result

Never reaches Salesforce

Matched, then skipped

Limit

No practical limit

Ten Rules

API Cost

None

One call per logged activity, per rule

Best For

Who is on the email

What kind of record it is


How to decide

A simple test:

If you can describe what you want to block by who is on the email, use domain exclusion. "Don't log anything from gmail addresses." That is a domain exclusion.

If it depends on what the record looks like in Salesforce, use a custom rule. "Don't log anything on partner accounts." Weflow has to find the account and read its Type field first, so that is a custom rule.

When both would work, choose domain exclusion. It is faster, cheaper and simpler to maintain.


A common mix up

Teams sometimes add a domain to the exclusion list, then find related emails still appearing in Salesforce. Usually one of these is the cause:

  • The address that actually appeared on the thread was a variation you had not listed, for example a .co.in or .com.sg version of the same company.

  • A Salesforce contact record carries an address that is not on the exclusion list, so Weflow matched the activity through that record.

  • There is a typo in the entry gogle.com with one 'o' will never match google.com.

If you want to block a whole company across every domain variation it uses, a custom rule on Account Name is often the cleaner fix.


Where to find these settings

Both live in the Admin Console, under Activity Capture.

  • Excluded email domains: Step 3

  • Custom rules: Step 7

Changes apply to activity captured from that point onward. If you need already logged activity removed, or a re-sync after changing your settings, contact Weflow support and we can run that for you.

Did this answer your question?