Capturing Leads with API | Community
Skip to main content
February 24, 2015
Solved

Capturing Leads with API

  • February 24, 2015
  • 2 replies
  • 1572 views
We are currently capturing leads via an external form and are using Marketo's API to send that information to Marketo. What is the best way to go about adding that lead to a program? The leads coming through will have a unique lead source. 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
Once the lead has been created in Marketo, you can use Request Campaign

REST: http://developers.marketo.com/documentation/rest/request-campaign/
SOAP: http://developers.marketo.com/documentation/soap/requestcampaign/

The Smart Campaign must have a “Campaign is Requested” trigger with a Web Service API source. 

Then the flow steps of the Smart Campaign can add the lead to the program and do whatever else you want (send emails, request additional campaigns, etc.).

This method is quite flexibile as no programming is required if you change your mind about what actions you want to happen. Just change the flow steps. 

2 replies

February 27, 2015
How would we go about designating a lead source if we use this method in two seperate places?
patrickmurray
New Participant
October 25, 2023

Assign the Google Ads Lead Form value to a lead

Create lookup tables in Zaps – Zapier

 

In the Lookup Table fields, enter the original values (Form Name/Value Name) in the left column (the keys), and the matching values in the right column (the value IDs or the numbers).

Also, set the Lookup Key to "Form ID".

  1. Click + before the marketo step
  2. Select Formatter by Zapier

Event: Utilities

Transform: Lookup Table

  1. create a copy of the Form name with its corresponding value ID to a notepad or something.

 

 

 

 

  1. Once a potential customer fills out a form, the Zap will be triggered. The Form ID will be retrieved and the Lookup table will be activated.

 

For instance, if the new lead completed the Biamp VCS Solutions form, the Form ID will be pulled by the trigger. The lookup table will then match the Form ID with its corresponding Form name you set up inside the lookup table.

  1. Search for Google Ads Lead Form field and select "Output" from the dropdown menu

 

 

 

Accepted solution
February 24, 2015
Once the lead has been created in Marketo, you can use Request Campaign

REST: http://developers.marketo.com/documentation/rest/request-campaign/
SOAP: http://developers.marketo.com/documentation/soap/requestcampaign/

The Smart Campaign must have a “Campaign is Requested” trigger with a Web Service API source. 

Then the flow steps of the Smart Campaign can add the lead to the program and do whatever else you want (send emails, request additional campaigns, etc.).

This method is quite flexibile as no programming is required if you change your mind about what actions you want to happen. Just change the flow steps.