慣性聚合 高效追讀感興趣之博客、新聞、科技資訊
閱原文 以慣性聚合開啟

推薦訂閱源

MyScale Blog
MyScale Blog
J
Java Code Geeks
Vercel News
Vercel News
A
About on SuperTechFans
G
Google Developers Blog
C
Check Point Blog
腾讯CDC
N
Netflix TechBlog - Medium
博客园 - 司徒正美
S
SegmentFault 最新的问题
D
DataBreaches.Net
博客园_首页
美团技术团队
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
量子位
雷峰网
雷峰网
IT之家
IT之家
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
博客园 - 三生石上(FineUI控件)
H
Help Net Security
宝玉的分享
宝玉的分享
博客园 - 叶小钗

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Verification Activity: SFMC Guard Against Empty Files
SapotaCorp · 2026-05-24 · via DEV Community

One of our banking engagements had a daily automation that imported a file of customers due for payment reminders and emailed each one. Production-quality pipeline, running clean for months.

One morning the upstream source system had a bug. The file it exported contained 50 records instead of the usual ~10,000. Automation ran on schedule, imported the 50 rows, and sent reminders to those 50 customers. The other 9,950 never got their reminder and the client's collections team discovered the gap two days later, after the due date had passed on several accounts.

The send itself wasn't wrong. The input was wrong, and nothing in the automation noticed.

Verification Activity, the fix

Automation Studio has an Activity called Verification whose only job is: check a Data Extension's row count, and stop the automation if the count is outside an expected range.

Inserted between Import and Send:

Schedule Starting Source
  -> Step 1: Import File Activity
  -> Step 2: Verification Activity   (fail if DE has fewer than 8,000 or more than 15,000 records)
  -> Step 3: Send Email Activity     (only runs if Verification passes)

Enter fullscreen mode Exit fullscreen mode

When Verification fails, the automation stops right there. Subsequent Activities don't run. A notification goes out to whichever email addresses you configured.

Configuring the thresholds

Verification Activity supports:

  • Minimum record count - automation fails if row count is below this
  • Maximum record count - automation fails if row count is above this
  • Both - the expected operating range

For the banking case, the fix was:

DE: Payment_Reminder_DE
Minimum: 8000
Maximum: 15000

Enter fullscreen mode Exit fullscreen mode

Any file outside that window is automatically suspect, and the Send Email step won't execute.

Picking the thresholds is a trade-off:

  • Too tight: the automation fails on normal fluctuations (end of month vs. middle of month), pages someone unnecessarily.
  • Too wide: real failures slip through because "anything between 0 and a million" isn't a meaningful range.

Our rule of thumb: look at the last 30 days of row counts, take the min and max observed, and pad by 25% on each side. That catches catastrophic failures (empty file, 10x bloat) without tripping on normal variance.

Where the alert goes

The Verification Activity has its own notification configuration, separate from the automation-level Run Completion notifications. Configure it to email:

  • The client's functional team (they need to know their upstream job failed).
  • The internal tech lead on the SFMC side.
  • A shared channel or distribution list, not a single person's inbox - individuals go on leave.

Why this matters for any automation touching a file

Files fail in predictable ways:

  • Upstream job errored, exported zero or partial results.
  • Timezone math went wrong, file contains yesterday's rows twice.
  • Schema changed, Import Activity loaded empty columns.
  • Source system had outages during file generation.

Without Verification, the automation will happily send to whatever data made it in. The problem only becomes visible when someone notices the downstream business effect - which is always too late.

For any production automation that sends email from an imported file, Verification Activity is effectively mandatory.

When to skip Verification

Transactional automations - order confirmations, password resets - don't use Verification. They send one email per trigger. The "row count" concept doesn't apply.

Development automations can skip it during early build. Add it before the first production deploy.

Takeaway

Verification Activity is the cheapest insurance you can add to an SFMC automation. It catches bad input before it becomes a customer-facing mistake, and it takes about five minutes to configure. Retrofit it on any existing production automation that imports files and sends mass email - the day you need it, you'll be glad it's there.


Production-hardening an SFMC automation? Our Salesforce team adds Verification, monitoring, and alerting on existing Marketing Cloud pipelines. Get in touch ->

See our full platform services for the stack we cover.