Zapier Affiliate App

Leads 2 Trade can now offer affiliates an easy use Zapier app to link your forms to our API.

Zapier makes you happier 🙂

Find out more about Zapier here https://zapier.com if you think the service is for you, we certainly do, then sign up for free and head back here where we will help you create a connection to our Affiliate API.

How to set up and use the Leads2Trade Affiliate App


To set up the ZAP you need to set up a form to post the data to us. 

From the Zap’s tab click ‘Create Zap’. You will now see Step 1. Trigger, you will need to search for the form action you wish to use, as an example we use Gravity forms. Once you have selected your form action change the trigger event drop down to ‘Form Submission’ and continue. 

Now set up the form and gather a test submission, if set up correctly you will receive a message stating ‘We found a form submission’. 

Click continue and it will take you straight to step 2, which is the Action. In the search tab you need to search ‘Leads 2 Trade Affiliates’, once selected change the action event drop down to ‘Create a API Connection’ and click continue. 

You will be prompted to sign in where it will ask you for a username, password, and origin. These will be provided to you by your affiliate manager when joining the leads2trade affiliate program. Enter the details and click continue. 

You will now need to set up the action, enter the origin that was provided to you by your affiliate manager, select from the drop downs the products and the material types you will be sending us and connect each data field to your form submission. 

To do that click in the text field and you will see a drop-down menu with each field from your form submission, match up the relevant fields i.e. Postcode to Postcode. Only certainly fields are required and will be highlighted to you, the ‘Street Address’ field is not a mandatory field however it cannot be left blank, if you do not collect this data in your form please put in text ‘not given’. 

Once you have set up the action click continue followed by ‘Test and Review’. If it has been successful, you will get the following response: IsSuccess is true and newID will have a 7 digit number. If it has failed the IsSuccess will show as false and the newID will be 0. 

If successful you are now ready to turn on your ZAP. 

If it fails it will provide the failing fields, simply correct the errors and retest.  


Definitions of the data are as follows

Logging into our Affiliate App

ParameterDescriptionRequired
UsernameYour username supplied by Leads2tradeY
PasswordYour password supplied by Leads2tradeY
OriginYour origin supplied by Leads2tradeY

Remember the Origin you logged in with for the lead details

Map your lead details to our API

ParameterDescriptionLength*Required
OriginThe origin you logged in withY
Error EmailThe email you word like errors sent to**N
Product NameThe Product the lead if for120Y
Product MaterialThe Material to match with the product above50Y
QuantityUsed only for some ProductsN
NameYour customer’s name – please combine any/all salutation, first name, last name120Y
Email AddressYour customer’s email if no email collected add:- noemail@noemail.com250Y
Full UK PostcodePostcode – must confirm to UK postcode rules with no spaces at the beginning or end 10Y
House Name and/or House NumberThe name of your customer’s house and/or its number150N
Street AddressThe address of your customer with no commas if no address collected add:- not given50Y
Town/CityYour customer’s town/city50N
TelephoneThe landline or mobile number of your customer50Y
MobileYour customer’s mobile number if both numbers are collected50N
Additional InformationAny information you wish the add as a note4000N
KeywordAny keyword you would like to add150N
Affiliate ReferenceAny reference you would like to add to the lead200N
Tracking Keyword 1Any keyword you would like to track300N
Tracking Keyword 2Any keyword you would like to track300N
Tracking Keyword 3Any keyword you would like to track300N
Tracking Keyword 4Any keyword you would like to track300N
Tracking Keyword 5Any keyword you would like to track300N
Tracking Keyword 6Any keyword you would like to track300N
Tracking Data 01Any data you would like to track300N
Tracking Data 02Any data you would like to track300N
Tracking Data 03Any data you would like to track300N
Tracking Data 04Any data you would like to track300N
Tracking Data 05Any data you would like to track300N
Tracking Data 06Any data you would like to track300N
Tracking Data 07Any data you would like to track300N
Tracking Data 08Any data you would like to track300N
Tracking Data 09Any data you would like to track300N
Tracking Data 10Any data you would like to track300N
Tracking Data 11Any data you would like to track300N
Tracking Data 12Any data you would like to track300N
Tracking Data 13Any data you would like to track300N
Tracking Data 14Any data you would like to track300N
Tracking Data 15Any data you would like to track300N
Tracking Data 16Any data you would like to track300N
Tracking Data 17Any data you would like to track300N
Tracking Data 18Any data you would like to track300N
Tracking Data 19Any data you would like to track300N
Tracking Data 20Any data you would like to track300N

* the maximum number of characters allowed in the field.
** the system will attempt to send an email to the address in the erroremail attribute if the import fails. We do not check the validity of the email address and cannot guarantee you will receive the email.
NB You should always monitor the response from the import function, do not rely on the error email.