Salesforce Marketing Cloud Automation

Marketing Cloud Automation That Runs Without Being Watched

Automation Studio is the machinery underneath the customer-facing journeys: the SQL that builds the audience, the import that brings yesterday's data in, the extract that sends it back out, the send that goes at 06:00. Twopir Consulting builds that layer with a dependency map, explicit error handling and alerting — so a failure is found by a monitor rather than by a customer.

  • 12+ Years of CRM and marketing platform delivery
  • 250+ Platform deployments delivered
  • 98% Client retention rate
Automation Layer
WHAT AUTOMATION STUDIO RUNS SQL query activities Audience building, data shaping, hygiene Scheduled Imports Files landing from CRM, ERP, warehouse File drop Extracts and transfers Engagement data going back out Scheduled Sends The 06:00 batch, the daily digest Scheduled Script activities Work configuration cannot express Either TWOPIR AUTOMATION PRACTICE Dependency Map What must finish before what starts Error Handling Explicit, per step, with alerting Naming and Ownership A person, not a shared mailbox 2πr WHAT YOU GET Data ready before the send that needs it Rather than a send going out against yesterday Failures you hear about from a monitor Not from the campaign owner, and not from a customer
Which Tool

Automation Studio or Journey Builder? They Are Not Alternatives

The two are constantly confused, and the confusion is expensive: work done in the wrong one is harder to change, harder to monitor and frequently duplicated in both. The distinction is simple once stated — Journey Builder is about a customer's path, Automation Studio is about a schedule.

Choosing between Automation Studio and Journey Builder
The workBelongs inBecause
Building an audience with SQLAutomation StudioQuery activities are the only place SQL runs. A journey consumes the result; it cannot produce it.
Sending a welcome email when someone subscribesJourney BuilderIt is triggered by a customer event and the customer has a path through it — the definition of a journey.
Importing a nightly file from the warehouseAutomation StudioA file-drop or scheduled import. No customer is doing anything; a system is.
Waiting three days, then branching on whether they clickedJourney BuilderWait activities and decision splits are journey constructs and depend on per-contact state.
The 06:00 batch newsletter to a fixed segmentAutomation StudioA scheduled send to an audience. A journey adds overhead and per-contact state that nothing here needs.
Extracting engagement data to SFTP for the warehouseAutomation StudioExtract and file transfer activities. This is the standard route for getting data back out of the platform.
Suppressing anyone with an open support caseBoth — and this is where they meetAutomation Studio maintains the suppression data on a schedule; the journey reads it at send time. Getting this split wrong is how contradictory messages happen.

Capabilities verified against Salesforce documentation Last reviewed 23 September 2026

What We Build

Four Kinds of Automation, Four Ways to Get Them Wrong

Automation Studio has a small number of activity types and a large number of ways to combine them badly. Each family below is listed with the discipline that keeps it reliable at volume.

Family 01

SQL query activities

The workhorse. Audience construction, data shaping, deduplication, hygiene sweeps and anything segmentation cannot express through the interface. Also the single most common cause of an automation that runs for hours and then times out.

  • Audience and segment construction beyond filter capability
  • Deduplication and identity resolution within the platform
  • Query tuning: what actually makes a Marketing Cloud query slow
  • Splitting monolithic queries into inspectable steps
  • Hygiene sweeps: dormant contacts, malformed values, orphaned rows
  • Results written to purpose-built extensions rather than reused tables
Family 02

Imports and file drops

Data arriving from CRM, ERP, the warehouse or a partner. The failure mode is rarely the import itself — it is what happens when the file is late, malformed, or arrives twice.

  • File-drop automations triggered by arrival rather than by a guess at timing
  • Import definitions with explicit handling for bad rows
  • Duplicate-file detection, so a re-sent file does not double-process
  • Late-file behavior: wait, alert, or proceed on yesterday — decided deliberately
  • Alignment with the wider integration design
  • Archive of what arrived, for when a number is disputed
Family 03

Extracts, transfers and reporting feeds

Getting data back out. Tracking extracts and file transfers are the standard route to a warehouse, and they are how engagement data stops being trapped in the platform.

  • Tracking extracts scheduled to match the reporting cadence
  • File transfer to SFTP or a downstream destination
  • Incremental rather than full extracts where volume justifies it
  • Feeding the reporting and analytics layer
  • Retention: what is kept in platform and what is archived outside it
  • Verification that the file that left matches the data that produced it
Family 04

Scheduled and triggered sends

The batch newsletter, the daily digest, the operational send that has to go at a fixed time. Straightforward to build and easy to leave fragile — most have no check that the audience they are about to send to is the audience anyone intended.

  • Scheduled sends with a dependency on the data step that feeds them
  • Audience sanity checks: volume thresholds that halt an anomalous send
  • Suppression applied at the automation rather than per-send
  • Send classification and delivery profile set correctly per send
  • Triggered sends where an external system initiates the message
  • A documented stop procedure — who halts it, and how
Operational Standards

Four Things That Separate an Automation From a Scheduled Accident

An automation is a production system. It runs unattended, other things depend on it, and when it fails the consequence reaches a customer. Nobody would run a nightly job in any other part of the business without these four properties, and yet in Marketing Cloud they are the exception.

None of this is exotic engineering. It is the difference between something that works and something that has worked so far.

Where this discipline is needed continuously rather than at build time, it is what managed services exists to provide. Where the automation layer needs designing rather than hardening, it is part of the wider Marketing Cloud practice.

A dependency map, not a set of guessed times

Most estates schedule the import at 02:00 and the query at 03:00 because an hour "should be enough". When the file is late or the volume doubles, the query runs against yesterday's data and the send goes out wrong — silently, because each step succeeded. We map what must complete before what may start, and build the sequencing to enforce it rather than to hope for it.

Explicit error handling on every step

What happens when the file is malformed, the query times out, the extract finds nothing, or the destination is unreachable? Each of those needs a decided answer: halt, skip, retry, or proceed with an alert. An automation with no answer defaults to the worst one, which is usually to continue as though nothing happened.

Restartable, and safe to run twice

Failures happen mid-sequence, and the recovery is always to re-run something. An automation that double-counts, double-sends or double-imports when re-run turns a small failure into an incident. Designing for a safe re-run costs very little at build time and is close to impossible to retrofit under pressure.

A name that says what it does, and an owner who exists

Automations named after the campaign they were built for, by a person who has since left, are the reason nobody dares switch anything off. A convention that encodes purpose, frequency and owner — and an owner who is a role rather than an individual — is what makes an estate reviewable at all.

12+
Years delivering CRM and marketing platform transformation
250+
Platform deployments delivered
500+
Clients served across global markets
98%
Client retention rate
Failure Modes

Four Failures That Do Not Announce Themselves

Automation Studio will tell you when an activity errors. It will not tell you when an activity succeeds at doing the wrong thing, and that is the category that reaches customers.

All four are detectable with checks that take an afternoon to build. None are detectable by looking at the run history, which is where most teams look. An audit inventories them.

The query that succeeds and returns nothing — A source table is empty because an upstream import failed. The query runs, completes green, and writes zero rows. The send that follows goes to nobody — or worse, to a default audience — and every status indicator says the automation worked.

The step that runs before its input is ready — Timing-based sequencing that held until the day the file arrived twenty minutes late. Each step succeeds; the output is yesterday's. This is the most common cause of a send going to a stale audience, and the hardest to spot after the fact.

The automation nobody has looked at in a year — Still running, still consuming, feeding a report nobody reads or a data extension nothing references. Harmless until it is the reason a storage limit is hit, or until it turns out to still be sending.

The alert that goes to one person — Configured to notify the person who built it. They changed role, the address still resolves, and the mail goes into a folder nobody opens. Functionally identical to having no alerting at all, but it appears on the configuration checklist as done.

When to Look

Signs Your Automation Layer Needs Attention

Automations tend to be built once and never revisited, which means the estate quietly accumulates fragility while every individual run reports success. These five signals are what that looks like from the outside.

Somebody checks the automation run history manually each morning, because that is the only way anyone finds out whether last night worked.
Automations are sequenced by clock time rather than by dependency, so a late file silently produces a send against stale data.
Nobody can say which automations are still needed, so none are ever switched off and the estate only grows.
A query has been running longer every month and is now close to the point where it will not finish inside its window.
An automation's failure alert goes to one person, and that person has changed role since it was configured.
Common Questions

Questions About Automation Studio

Automation Studio runs work on a schedule or a file drop: SQL queries, imports, extracts, file transfers and scheduled sends. Journey Builder moves an individual customer along a path, with waits, decision splits and goals, based on what that customer does.

The practical test is whether a customer is doing anything. If a system is producing or moving data, it is Automation Studio. If a person is progressing through an experience, it is Journey Builder. Most real programs use both, with Automation Studio maintaining the data that the journeys read.

Almost always a query. Marketing Cloud SQL performs very differently from the databases most people learned on — the usual culprits are joining large data extensions without usable keys, doing work row by row that could be done in a set, and monolithic queries that do five jobs in one statement.

The fix is usually structural rather than clever: split the work into inspectable steps, make sure the join keys are indexed as primary keys on the extensions, and stop re-computing things that have not changed. It also makes failures far easier to diagnose, because you can see which step went wrong.

By configuring it so that you are told, which is not the default anyone ends up with. Alerting should go to a team destination rather than an individual, and the more useful checks are the ones that catch success-at-the-wrong-thing: a query that returned zero rows, an audience that is ten times yesterday's size, a file that never arrived.

Continuous monitoring is a standing job rather than a build task, which is why it sits inside managed services rather than being handed over as a document.

Yes, in two ways. A file-drop automation starts when a file lands in the right location, which is the usual pattern for warehouse and ERP feeds. Alternatively an external system can start an automation or fire a triggered send through the API.

Which is appropriate depends on latency: file drops are right for scheduled bulk work, API triggers for events that cannot wait. That choice is part of the wider integration design.

Broadly: anything that is true of a group belongs in a query, and anything that depends on what an individual has done belongs in the journey. Building the audience in Automation Studio and letting the journey handle per-contact behavior keeps each piece of logic in one place.

The pattern to avoid is the same rule implemented in both, which is how a customer ends up entering a journey they should have been excluded from. Where a rule must exist in both, one should be authoritative and the other should reference it.

With an inventory. An audit establishes what exists, what has run recently, what it feeds and what references its output. In most large estates a substantial share turns out to be dormant, duplicated, or feeding something nobody uses.

Then the order is: switch off what is genuinely dead, add dependency sequencing and alerting to what is business-critical, and tune what is slow. Rewriting everything is neither necessary nor affordable, and it is not where the risk is concentrated.

Next Step

Find Out What Runs Overnight, and What Happens When It Does Not

Tell us roughly how many automations are in flight, what feeds them, and how you currently find out about a failure. That is usually enough to say where the fragility is.

Serving: US | Canada | UK | UAE | Australia | New Zealand

Relatable? We should definitely talk.

What we'll cover:

From CRM and integrations to custom apps and complex system architecture — we help you scale without chaos.
  • Identify revenue leaks across CRM, integrations, and GTM
  • Design and optimize complex systems (CRM to Custom Apps)
  • Apply practical AI to improve operations and pipeline conversion
  • Eliminate silos and build a unified revenue system
  • Assess GTM performance and key bottlenecks
  • Align teams with clear processes and ownership
  • Define a scalable RevOps model
  • Improve forecasting and reporting
  • Review your HubSpot/Salesforce setup for scale
Salesforce Marketing Cloud Automation

Marketing Cloud Automation That Runs Without Being Watched

Automation Studio is the machinery underneath the customer-facing journeys: the SQL that builds the audience, the import that brings yesterday's data in, the extract that sends it back out, the send that goes at 06:00. Twopir Consulting builds that layer with a dependency map, explicit error handling and alerting — so a failure is found by a monitor rather than by a customer.

  • 12+ Years of CRM and marketing platform delivery
  • 250+ Platform deployments delivered
  • 98% Client retention rate
Automation Layer
WHAT AUTOMATION STUDIO RUNS SQL query activities Audience building, data shaping, hygiene Scheduled Imports Files landing from CRM, ERP, warehouse File drop Extracts and transfers Engagement data going back out Scheduled Sends The 06:00 batch, the daily digest Scheduled Script activities Work configuration cannot express Either TWOPIR AUTOMATION PRACTICE Dependency Map What must finish before what starts Error Handling Explicit, per step, with alerting Naming and Ownership A person, not a shared mailbox 2πr WHAT YOU GET Data ready before the send that needs it Rather than a send going out against yesterday Failures you hear about from a monitor Not from the campaign owner, and not from a customer
Which Tool

Automation Studio or Journey Builder? They Are Not Alternatives

The two are constantly confused, and the confusion is expensive: work done in the wrong one is harder to change, harder to monitor and frequently duplicated in both. The distinction is simple once stated — Journey Builder is about a customer's path, Automation Studio is about a schedule.

Choosing between Automation Studio and Journey Builder
The workBelongs inBecause
Building an audience with SQLAutomation StudioQuery activities are the only place SQL runs. A journey consumes the result; it cannot produce it.
Sending a welcome email when someone subscribesJourney BuilderIt is triggered by a customer event and the customer has a path through it — the definition of a journey.
Importing a nightly file from the warehouseAutomation StudioA file-drop or scheduled import. No customer is doing anything; a system is.
Waiting three days, then branching on whether they clickedJourney BuilderWait activities and decision splits are journey constructs and depend on per-contact state.
The 06:00 batch newsletter to a fixed segmentAutomation StudioA scheduled send to an audience. A journey adds overhead and per-contact state that nothing here needs.
Extracting engagement data to SFTP for the warehouseAutomation StudioExtract and file transfer activities. This is the standard route for getting data back out of the platform.
Suppressing anyone with an open support caseBoth — and this is where they meetAutomation Studio maintains the suppression data on a schedule; the journey reads it at send time. Getting this split wrong is how contradictory messages happen.

Capabilities verified against Salesforce documentation Last reviewed 23 September 2026

What We Build

Four Kinds of Automation, Four Ways to Get Them Wrong

Automation Studio has a small number of activity types and a large number of ways to combine them badly. Each family below is listed with the discipline that keeps it reliable at volume.

Family 01

SQL query activities

The workhorse. Audience construction, data shaping, deduplication, hygiene sweeps and anything segmentation cannot express through the interface. Also the single most common cause of an automation that runs for hours and then times out.

  • Audience and segment construction beyond filter capability
  • Deduplication and identity resolution within the platform
  • Query tuning: what actually makes a Marketing Cloud query slow
  • Splitting monolithic queries into inspectable steps
  • Hygiene sweeps: dormant contacts, malformed values, orphaned rows
  • Results written to purpose-built extensions rather than reused tables
Family 02

Imports and file drops

Data arriving from CRM, ERP, the warehouse or a partner. The failure mode is rarely the import itself — it is what happens when the file is late, malformed, or arrives twice.

  • File-drop automations triggered by arrival rather than by a guess at timing
  • Import definitions with explicit handling for bad rows
  • Duplicate-file detection, so a re-sent file does not double-process
  • Late-file behavior: wait, alert, or proceed on yesterday — decided deliberately
  • Alignment with the wider integration design
  • Archive of what arrived, for when a number is disputed
Family 03

Extracts, transfers and reporting feeds

Getting data back out. Tracking extracts and file transfers are the standard route to a warehouse, and they are how engagement data stops being trapped in the platform.

  • Tracking extracts scheduled to match the reporting cadence
  • File transfer to SFTP or a downstream destination
  • Incremental rather than full extracts where volume justifies it
  • Feeding the reporting and analytics layer
  • Retention: what is kept in platform and what is archived outside it
  • Verification that the file that left matches the data that produced it
Family 04

Scheduled and triggered sends

The batch newsletter, the daily digest, the operational send that has to go at a fixed time. Straightforward to build and easy to leave fragile — most have no check that the audience they are about to send to is the audience anyone intended.

  • Scheduled sends with a dependency on the data step that feeds them
  • Audience sanity checks: volume thresholds that halt an anomalous send
  • Suppression applied at the automation rather than per-send
  • Send classification and delivery profile set correctly per send
  • Triggered sends where an external system initiates the message
  • A documented stop procedure — who halts it, and how
Operational Standards

Four Things That Separate an Automation From a Scheduled Accident

An automation is a production system. It runs unattended, other things depend on it, and when it fails the consequence reaches a customer. Nobody would run a nightly job in any other part of the business without these four properties, and yet in Marketing Cloud they are the exception.

None of this is exotic engineering. It is the difference between something that works and something that has worked so far.

Where this discipline is needed continuously rather than at build time, it is what managed services exists to provide. Where the automation layer needs designing rather than hardening, it is part of the wider Marketing Cloud practice.

A dependency map, not a set of guessed times

Most estates schedule the import at 02:00 and the query at 03:00 because an hour "should be enough". When the file is late or the volume doubles, the query runs against yesterday's data and the send goes out wrong — silently, because each step succeeded. We map what must complete before what may start, and build the sequencing to enforce it rather than to hope for it.

Explicit error handling on every step

What happens when the file is malformed, the query times out, the extract finds nothing, or the destination is unreachable? Each of those needs a decided answer: halt, skip, retry, or proceed with an alert. An automation with no answer defaults to the worst one, which is usually to continue as though nothing happened.

Restartable, and safe to run twice

Failures happen mid-sequence, and the recovery is always to re-run something. An automation that double-counts, double-sends or double-imports when re-run turns a small failure into an incident. Designing for a safe re-run costs very little at build time and is close to impossible to retrofit under pressure.

A name that says what it does, and an owner who exists

Automations named after the campaign they were built for, by a person who has since left, are the reason nobody dares switch anything off. A convention that encodes purpose, frequency and owner — and an owner who is a role rather than an individual — is what makes an estate reviewable at all.

12+
Years delivering CRM and marketing platform transformation
250+
Platform deployments delivered
500+
Clients served across global markets
98%
Client retention rate
Failure Modes

Four Failures That Do Not Announce Themselves

Automation Studio will tell you when an activity errors. It will not tell you when an activity succeeds at doing the wrong thing, and that is the category that reaches customers.

All four are detectable with checks that take an afternoon to build. None are detectable by looking at the run history, which is where most teams look. An audit inventories them.

The query that succeeds and returns nothing — A source table is empty because an upstream import failed. The query runs, completes green, and writes zero rows. The send that follows goes to nobody — or worse, to a default audience — and every status indicator says the automation worked.

The step that runs before its input is ready — Timing-based sequencing that held until the day the file arrived twenty minutes late. Each step succeeds; the output is yesterday's. This is the most common cause of a send going to a stale audience, and the hardest to spot after the fact.

The automation nobody has looked at in a year — Still running, still consuming, feeding a report nobody reads or a data extension nothing references. Harmless until it is the reason a storage limit is hit, or until it turns out to still be sending.

The alert that goes to one person — Configured to notify the person who built it. They changed role, the address still resolves, and the mail goes into a folder nobody opens. Functionally identical to having no alerting at all, but it appears on the configuration checklist as done.

When to Look

Signs Your Automation Layer Needs Attention

Automations tend to be built once and never revisited, which means the estate quietly accumulates fragility while every individual run reports success. These five signals are what that looks like from the outside.

Somebody checks the automation run history manually each morning, because that is the only way anyone finds out whether last night worked.
Automations are sequenced by clock time rather than by dependency, so a late file silently produces a send against stale data.
Nobody can say which automations are still needed, so none are ever switched off and the estate only grows.
A query has been running longer every month and is now close to the point where it will not finish inside its window.
An automation's failure alert goes to one person, and that person has changed role since it was configured.
Common Questions

Questions About Automation Studio

Automation Studio runs work on a schedule or a file drop: SQL queries, imports, extracts, file transfers and scheduled sends. Journey Builder moves an individual customer along a path, with waits, decision splits and goals, based on what that customer does.

The practical test is whether a customer is doing anything. If a system is producing or moving data, it is Automation Studio. If a person is progressing through an experience, it is Journey Builder. Most real programs use both, with Automation Studio maintaining the data that the journeys read.

Almost always a query. Marketing Cloud SQL performs very differently from the databases most people learned on — the usual culprits are joining large data extensions without usable keys, doing work row by row that could be done in a set, and monolithic queries that do five jobs in one statement.

The fix is usually structural rather than clever: split the work into inspectable steps, make sure the join keys are indexed as primary keys on the extensions, and stop re-computing things that have not changed. It also makes failures far easier to diagnose, because you can see which step went wrong.

By configuring it so that you are told, which is not the default anyone ends up with. Alerting should go to a team destination rather than an individual, and the more useful checks are the ones that catch success-at-the-wrong-thing: a query that returned zero rows, an audience that is ten times yesterday's size, a file that never arrived.

Continuous monitoring is a standing job rather than a build task, which is why it sits inside managed services rather than being handed over as a document.

Yes, in two ways. A file-drop automation starts when a file lands in the right location, which is the usual pattern for warehouse and ERP feeds. Alternatively an external system can start an automation or fire a triggered send through the API.

Which is appropriate depends on latency: file drops are right for scheduled bulk work, API triggers for events that cannot wait. That choice is part of the wider integration design.

Broadly: anything that is true of a group belongs in a query, and anything that depends on what an individual has done belongs in the journey. Building the audience in Automation Studio and letting the journey handle per-contact behavior keeps each piece of logic in one place.

The pattern to avoid is the same rule implemented in both, which is how a customer ends up entering a journey they should have been excluded from. Where a rule must exist in both, one should be authoritative and the other should reference it.

With an inventory. An audit establishes what exists, what has run recently, what it feeds and what references its output. In most large estates a substantial share turns out to be dormant, duplicated, or feeding something nobody uses.

Then the order is: switch off what is genuinely dead, add dependency sequencing and alerting to what is business-critical, and tune what is slow. Rewriting everything is neither necessary nor affordable, and it is not where the risk is concentrated.

Next Step

Find Out What Runs Overnight, and What Happens When It Does Not

Tell us roughly how many automations are in flight, what feeds them, and how you currently find out about a failure. That is usually enough to say where the fragility is.

Serving: US | Canada | UK | UAE | Australia | New Zealand

Relatable? We should definitely talk.

What we'll cover:

From CRM and integrations to custom apps and complex system architecture — we help you scale without chaos.
  • Identify revenue leaks across CRM, integrations, and GTM
  • Design and optimize complex systems (CRM to Custom Apps)
  • Apply practical AI to improve operations and pipeline conversion
  • Eliminate silos and build a unified revenue system
  • Assess GTM performance and key bottlenecks
  • Align teams with clear processes and ownership
  • Define a scalable RevOps model
  • Improve forecasting and reporting
  • Review your HubSpot/Salesforce setup for scale