Mautic Community Forums

Integration via LeadConduit

I’m currently trying to figure out how I can provide 3rd party lead sellers the ability to post leads using an HTTP Post method through LeadConduit. I’ve successfully posted leads from a test site to another site where I’ve setup Mautic with:

Code:

I've tried to setup the same posting link in LeadConduit (
Code:
http://www.example.com/form/submit?formId=1
) with these parameters:
firstname=#{first_name}&lastname=#{last_name}&email=#{email}&phone=#{phone_home}&zipcode=#{postal_code}&xxLeadId=#{xxLeadId}

So far nothing I've done in LeadConduit has made a difference in adding the lead to my Mautic build, but if use a Mautic form on a remote site it adds perfectly. Does Mautic accept querystring HTTP posting, or is there something I need to do differently to make this possible in LeadConduit? They do offer the ability for custom HTTP POST delivery using Request Headers, but I have no idea if that would make it work or even what Headers and values I would add. Any suggestions?

I’m currently trying to figure out how I can provide 3rd party lead sellers the ability to post leads using an HTTP Post method through LeadConduit. I’ve successfully posted leads from a test site to another site where I’ve setup Mautic with:

<form autocomplete="false" role="form" method="post" action="http://www.example.com/form/submit?formId=1" id="mauticform_abc" data-mautic-form="abc">

I’ve tried to setup the same posting link in LeadConduit (http://www.example.com/form/submit?formId=1) with these parameters:
firstname=#{first_name}&lastname=#{last_name}&email=#{email}&phone=#{phone_home}&zipcode=#{postal_code}&xxLeadId=#{xxLeadId}

So far nothing I’ve done in LeadConduit has made a difference in adding the lead to my Mautic build, but if use a Mautic form on a remote site it adds perfectly. Does Mautic accept querystring HTTP posting, or is there something I need to do differently to make this possible in LeadConduit? They do offer the ability for custom HTTP POST delivery using Request Headers, but I have no idea if that would make it work or even what Headers and values I would add. Any suggestions?

I went through a lot of trial and error to get Mautic to accept post data via a legacy app. One thing you will definitely need to adjust is that the element names are mauticform[firstname], mauticform[email] etc. Also you will need a mauticform[return] added into the list (doesn’t matter the value, it doesn’t do anything with it, it just needs some URL string to make it happy). I am not familiar with the LeadConduit product so I really can’t help with any of those details.