SapotaCorp

Six Automation Studio Patterns We Use on Every SFMC Engagement

Starting Sources, Activity types, and six composable patterns that show up on almost every Marketing Cloud build. A reference sheet for SFMC teams.

Six Automation Studio Patterns We Use on Every SFMC Engagement

Key takeaways

  • Automation Studio has 3 Starting Sources (Schedule, File Drop, API Event) and 6 composable patterns that cover nearly every production SFMC build: nightly data refresh, file-driven import-and-send, segmentation refresh, send- log archive, opt-out sync, and triggered campaign.
  • Schedule fits predictable cadences (nightly, weekly). File Drop fits unpredictable file arrivals. API Event fits real-time triggers from external systems. Mixing them on one automation (Schedule with file-existence check) is harder to maintain than 2 separate automations.
  • Activity ordering matters. SQL Query before Filter Activity (because SQL Query can do what Filter cannot); File Transfer before Import File; Verification Activity before Send. The right ordering is the difference between automations that run cleanly and automations that intermittently fail with no clear cause.
  • Document each automation at creation. The custom description field is the only place to capture "what does this do, who owns it, when does it run". Production SFMC orgs with 200+ automations and no descriptions become unmaintainable; the 30-second discipline at creation saves hours later.

After enough SFMC engagements, you start to recognize that Automation Studio builds are mostly combinations of six patterns. Knowing them - plus the trigger and Activity options underneath - lets you scope a new build in 30 minutes.

Here's the reference we hand to every new engineer.

Pick the Starting Source first

Starting Source Trigger Use when
Schedule Fixed clock You know the run time exactly (daily 8am, Mondays, 1st of month)
File Drop New file lands in SFTP folder Upload timing isn't fixed
API External system calls SFMC REST API Real-time triggered by another system (website checkout, CRM event)

Getting the Starting Source right prevents 80% of reliability issues. Schedule with a file dependency is the #1 source of "ran with yesterday's data" bugs.

Then pick the Activities

Activity Purpose
Import File Read a CSV from SFTP, write rows into a DE
SQL Query Join, filter, transform, aggregate data across DEs; write result to a DE
Filter Refresh a Filtered Group or Filtered DE from a predefined Data Filter
Data Extract Turn a DE into a CSV on SFMC SFTP
File Transfer Move, encrypt, decrypt, or push files between SFTP locations
Send Email Send from a DE to an email asset
Verification Check record count in a DE; halt automation if out of range
Wait Pause before the next step

Most production automations chain 2-5 of these. Keep each automation focused; complex flows become three simpler automations chained via a Parent/Child pattern.

The six patterns you'll use every month

Pattern 1: Daily import + send

Schedule -> Import File -> Send Email

The simplest automation. Client uploads file on a dependable schedule, you import and send from it. Use Schedule if the upload time is fixed; otherwise switch to File Drop.

Pattern 2: File drop with encryption

File Drop -> File Transfer (decrypt PGP) -> Import File -> Send Email

Client delivers encrypted files. File Transfer decrypts into the Safehouse, Import File reads from there, Send Email runs.

Pattern 3: Nightly export to external SFTP

Schedule -> SQL Query -> Data Extract -> File Transfer

The one we covered in the export post. SQL Query filters the data, Data Extract writes it to SFMC SFTP, File Transfer pushes it to the client's SFTP.

Pattern 4: Production-safe import (with Verification)

File Drop -> Import File -> Verification -> Send Email

Adds a Verification Activity between Import and Send. If the imported row count is out of the expected range, the automation halts and sends an alert instead of emailing bad data.

Pattern 5: Send Log archive

Schedule (daily at 1am) -> SQL Query (copy yesterday's _SendLog rows into archive DE)

Used anywhere the client needs send history beyond the default 10-day retention. Same pattern works for _Open, _Click, _Bounce.

Pattern 6: Encrypted export

Schedule -> SQL Query -> Data Extract -> File Transfer (encrypt) -> File Transfer (push to external SFTP)

When the client requires PGP-encrypted output. Two File Transfer Activities: one to encrypt the file, one to push it.

Wiring patterns together

Individual automations are composable. A common chained setup on enterprise engagements:

Automation A (nightly ingestion):  File Drop -> Verification -> Import File -> SQL Query (populate Audience_DE)
Automation B (morning send):       Schedule -> SQL Query (final segmentation) -> Send Email
Automation C (evening export):     Schedule -> SQL Query -> Data Extract -> File Transfer

Three automations, separate concerns, each one small and debuggable. Alternative: one monster automation with 15 steps that nobody wants to read. Separate concerns.

Where to put the Verification

Rule of thumb: any automation that ends in a Send Email Activity AND imports from a file should have Verification between them. Files fail in too many ways for the Send to be unprotected.

Takeaway

Every SFMC Automation Studio build you'll ever do is a remix of these six patterns. The Activity list is short, the Starting Sources are three, and most production mistakes come from picking the wrong Starting Source or missing a Verification step. Pin this reference somewhere visible and you'll scope new builds faster than the client can finish describing them.


Architecting an SFMC automation suite? Our Salesforce team ships production-grade Automation Studio pipelines with proper monitoring and error handling. Get in touch ->

See our full platform services for the stack we cover.

Contact Us Now

Share Your Story

We build trust by delivering what we promise – the first time and every time!

We'd love to hear your vision. Our IT experts will reach out to you during business hours to discuss making it happen.

WHY CHOOSE US

"Collaborate, Elevate, Celebrate where Associates - Create Project Excellence"

SapotaCorp beyond the IT industry standard, we are

  • Certificated
  • Assured quality
  • Extra maintenance

Tell us about your project