Interact with Automation Studio

This page contains information about using the SOAP API to interact with Automation Studio within Marketing Cloud.

Prerequisites

You must use an active API user on a Marketing Cloud account enabled with Automation Studio for the code samples in this document.

You can view more information on Automation Studio by logging into your Marketing Cloud account, clicking Welcome, and selecting Help.

The code samples in this document refer only to automations created via the SOAP API. To interact with these automations, you must use the NewObjectID value returned during the SOAP API creation process. If you don't record this value or wish to interact with automation created within Marketing Cloud, you must contact Global Support to retrieve the applicable value. Marketing Cloud recommends creating the automations using the SOAP API if you wish to interact with those automations with more API calls.

Why Interact with Automation Studio

You can use the SOAP API to perform the following actions within the Automation Studio via your own application or development environment:

Create an Automation

Sample .NET Code

Sample SOAP Request

Sample SOAP Response

Perform an Automation Immediately

Sample .NET Code

The sample code below starts the specified automation. To perform a stop for the specified option, change the string action in the code to stop.

Sample SOAP Request

Retrieve an Existing Automation

Sample .NET Code

Sample SOAP Request

Sample SOAP Response

Retrieve a Single Instance of an Existing Automation

Use Automation ID and AutomationInstanceID to retrieve existing automations. If your account has been migrated, ProgramID is still supported.

Sample .NET Code

Sample SOAP Envelope

Schedule an Existing Automation

Sample .NET Code

Update an Automation

Sample .NET Code

Sample .NET Code

Sample SOAP Envelope

Pause an Automation

Sample SOAP Envelope