SOLVED

Re: Capturing Leads with API

Go to solution
Anonymous
Not applicable

Capturing Leads with API

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. 
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Capturing Leads with API

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. 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Re: Capturing Leads with API

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. 
Anonymous
Not applicable

Re: Capturing Leads with API

How would we go about designating a lead source if we use this method in two seperate places?
patrickmurray
Level 2

Re: Capturing Leads with API

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.

patrickmurray_0-1698262339964.png

 

 

 

patrickmurray_1-1698262339966.png

 

  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

patrickmurray_2-1698262339967.png