The Marketo REST API may return an exception or error, which, for convenience, we will just call errors from here on out. Errors can occur at three different levels: HTTP level, these errors are indicated by a 4xx code Response level, these errors are included in the “errors” array of the JSON response Record level, these … Continue reading “Marketo REST API Exception and Error Handling: Part 1”
Author: Kenny Elkington
Make a Marketo Form Submission in the Background
When your organization has many different platforms for hosting web content and customer data it becomes fairly common to need parallel submissions from a form so that the resulting data can be gathered in separate platforms. There are several strategies to do this, but the best one is often the simplest: Using the Forms 2 … Continue reading “Make a Marketo Form Submission in the Background”
Comparing Score fields in Marketo Email Scripting
Note: This is a guest post by Cathal Moran. Cathal is a Solutions Consultant, working out of Marketo’s EMEA Office in Dublin, Ireland. Comparing Score fields Many Marketo customers, particularly those focused on cross-selling, have multiple score fields and this is often used to measure a lead’s interest in a particular product /area. Imagine I … Continue reading “Comparing Score fields in Marketo Email Scripting”
Best Practices for API Users and Custom Services
Marketo’s REST APIs use custom services for authentication and each of these services is owned by an API-only Marketo user. The capabilities of each custom service are determined by the permissions of each role assigned to that user. Marketo allows for an unlimited number of users and custom services per account, so there’s no reason … Continue reading “Best Practices for API Users and Custom Services”
Add SalesPerson Data to Marketo
With the new SalesPerson APIs, you can freely associate Marketo leads to SalesPerson records in instances without a native CRM integration. This allows usage of {{lead.Lead Owner Email Address}} and related fields and tokens within Marketo. Creating SalesPerson records In order to associate leads to SalesPerson records, we first need to input our SalesPerson records … Continue reading “Add SalesPerson Data to Marketo”
Create and Associate Leads, Companies, and Opportunities with the Marketo REST API
In order to take full advantage of Marketo analytics it is crucial to build out correct and robust associations between your lead, company and opportunity records. When you are not leveraging a native CRM-sync, building these relationships can pose some difficulties, so today we’ll walk through building them. Object Relationships In Marketo, there are a few … Continue reading “Create and Associate Leads, Companies, and Opportunities with the Marketo REST API”
Sending Transactional Emails with the Marketo REST API: Part 2, Custom Content
Last time, we took a look at triggering transactional emails from outside of Marketo. This week we’ll be looking at how to pass dynamic content to our emails via the Request Campaign API call. Request Campaign not only allows the triggering of emails externally, but you can also replace the content of My Tokens within … Continue reading “Sending Transactional Emails with the Marketo REST API: Part 2, Custom Content”
Sending Transactional Emails with the Marketo REST API: Part 1
A common use case for the Marketo API is to trigger the sending of transactional emails to specific records via the Request Campaign API call. You can find an example covering this use case with the SOAP API here. There are a few configuration requirements within Marketo in order to execute the required call with … Continue reading “Sending Transactional Emails with the Marketo REST API: Part 1”
Authenticating and Retrieving Lead Data from Marketo with the REST API
Note: In the Java examples below, we’ll be using the minimal-json package to handle JSON representations in our code. You can read more about this project here: https://github.com/ralfstx/minimal-json One of the most common requirements when integrating with Marketo is the retrieval of lead data. Most, if not all integrations will require either the retrieval or submission … Continue reading “Authenticating and Retrieving Lead Data from Marketo with the REST API”
External Page Prefill
Marketo forms do not provide native prefill functionality when loaded outside of a Marketo landing page. However, we can still implement this using the Marketo APIs and the Forms 2.0 JavaScript API. The first step is to retrieve the lead data from Marketo via a REST call from your server. Assuming that we do not … Continue reading “External Page Prefill”