Creating and Running an Automation in SFMC Automation Studio

What is SFMC Automation Studio?

Automation Studio is a powerful tool within Salesforce Marketing Cloud that allows you to automate data management, email sends, file transfers, and integrations. It helps streamline workflows by executing tasks at scheduled intervals or based on triggered events.

Step 1: Access Automation Studio

  1. Log in to Salesforce Marketing Cloud.
  2. In the top navigation bar, click on Journey Builder.
  3. Select Automation Studio from the dropdown.
  4. Click on Automation Studio to open the workspace.
 

Step 2: Create a New Automation

  1. Click on New Automation in the top right.
  2. Choose a Starting Source (Trigger Type):
    • Scheduled: Runs at a specific time or on a recurring basis.
    • File Drop: Starts when a file is uploaded to a designated FTP location.
    • API Event: Initiates when triggered by an external API call.
 

Step 3: Define Activities in the Automation Workflow

Automation Studio Activities

You can now drag and drop activities into the workflow. Here are the key types:

  1. Data Activities (For Managing and Processing Data)

Activity

Purpose

Extract Data

Exports data from Data Extensions.

File Transfer

Moves files between FTP locations (e.g., import/export).

Import File

Loads data from FTP into a Data Extension.

SQL Query

Transforms data using SQL queries.

Data Filter

Filters data based on defined criteria.

Refresh Group

Updates Lists and Groups in SFMC.

  1. Messaging Activities (For Sending Communications)

Activity

Purpose

Send Email

Sends email messages using Email Studio.

Send SMS

Automates text message sends through MobileConnect.

Push Notification

Sends push notifications via MobilePush.

  1. Flow Control Activities (For Managing Automation Execution)

Activity

Purpose

Wait

Delays the next step for a defined period.

Verification

Checks for conditions before proceeding.

Refresh Group

Updates Lists and Groups.

Step 4: Configure Each Activity

  1. Click on an activity in the workflow to configure it.
  2. Provide necessary inputs (e.g., Data Extensions, FTP locations, email templates).
  3. Use SQL Query to filter and modify data before the next step.
  4. Save each activity before moving to the next step.
 

Step 5: Save and Run the Automation

  1. Click Save once all activities are set up.
  2. Click Run Once to test manually.
  3. If everything works as expected, click Activate to schedule or trigger the automation.
 

Step 6: Monitor and Manage Automations

  1. Navigate to Automation Studio > Automations.
  2. Click on the Activity Log to review automation runs.
  3. Check for errors or failures in the Error Log.
  4. If needed, edit the automation and re-run it.
 

Best Practices for Automation Studio

                     ✅ Test Before Activation – Always run a test automation to check for errors.
                     ✅ Use Error Handling – Add Verification steps to handle missing files or data.
                     ✅ Optimize SQL Queries – Use Indexing and Joins carefully to improve performance.
                     ✅ Monitor Automation Runs – Regularly check logs to ensure smooth execution.