Print Friendly and PDF
Follow

Marketo: Updating The Leadspace Webhook

This article will cover how to edit your Leadspace Marketo Webhook in order to add additional input data fields (Company Country, Company State, and Company City) to yield better geographic matching in your enrichment results.

To insert the fields to the Webhook, please follow the steps below:

1. Login to Marketo and enter the Admin section:

0.png

 

2. Choose "Webhooks" on the left bar under "Integration":

1.png

 

3. Search for the "Leadspace Enrichment" Webhook:

2.png

 

3. Press "Edit" next to "Details":

3.png

 

4. Mark All the template:

4.png

 

5. Delete the template:

5.png

 

6. Copy the following template and paste it instead of the old one and click "Save":

data={"type":"Spotlighting","name":"Spotlight Marketo","externalId":{{lead.id:default=}},"firstName":{{lead.First Name:default=}},"lastName":{{lead.Last Name:default=}},"email":{{lead.Email Address:default=}},"companyWebsite":{{company.Website:default=}},"api":"Marketo","enrichStatus":{{lead.LS Status:default=}},"sourceType":"Api","companyCountry":{{company.Billing Country:default=}},"companyState":{{company.Billing State:default=}},"companyCity":{{company.Billing City:default=}}}

6.png

 

7. Press the "Webhook Actions" tab:

7.png

 

8. Press "Set Custom Header":

8.png

 

9. Press "Add":

9.png

 

10. Double click under the "Header" topic and type X-LS-TICKET:

10.png

 

11. Double click under the "Value" topic and past in the token you have received from Leadspace Support:

11.png

 

12. Press Save:

12.png

 

13. Press "Edit" next to "Response Mappings":

13.png

 

14. Please ensure the values under "Response Attribute" match the API names of the "Marketo Fields" and press "Save":

14.png

 

Please, it would be much appreciated if you could test all these changes by sending a few leads to enrichment using the Webhook and let our Support know the results of the test.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.