How to Import Data to Salesforce Marketing Cloud (ExactTarget) Using Python REST API

Supercharge your sales and marketing teams by leveraging your data!

Morten Hegewald
The Startup

--

Markus Spiske @ unsplash.com

Salesforce Marketing Cloud is one of one of the most commonly used Customer Relationship Management (CRM) solutions. The right CRM tool will allow your sales and marketing teams to optimize their workflows and better equip them to maximize your company’s customer- acquisition and engagement strategies.

However, to fully utilize the resource that is your CRM tool you’ll want to allow your teams to leverage your internal data.

In this article we’ll go through how you could set up the Python framework for importing your data to your Salesforce Marketing Cloud platform using their REST API endpoints. We’ll assume you already have an account and have access to the Email Studio section of the platform.

Getting set up

Creating the credentials

First thing we’ll need to do is to acquire credentials for our API calls. For this we’ll follow these steps:

  1. Go to setup (under your account in top right corner of the home screen)
  2. Apps (will be in the left panel in the Platform Tools section)

--

--

Morten Hegewald
The Startup

I work as a Data Scientist at Wealthsimple where I use data science to help people achieve financial freedom.