FLG CRM integration

  • 6 September 2018
  • 4 replies
  • 10 views

My client uses FLG CRM. He’s sent me his API script and a .php link. What do I do now?

Do you have step by step instructions or a video on how to integrate his API with Unbounce?

Thanks. x


4 replies

Nice to meet you.
May I ask some question?
Where and how to write a PHP script that would receive the data from unbounce.
I am a wordpress newbie. So allow me to ask this question.
Thanks in advance.

Userlevel 7
Badge +3

Hi @tanyae,

What you’ve posted above is an XML feed.

I assume the FLG CRM expects the form’s data in that particular order.

What you need to do is write a PHP script that would receive the data from Unbounce, reformat it into an XML like the one you’ve posted and sent it to FLG.

Best,
Hristian

Hi @mccamon,

Thanks for the article. It doesn’t mention integration with a CRM though.

You mentioned to look at Script Manager. Whatever I need to do, do I not need to just do it on the page with the form, rather than at domain level?

This is the script they sent.

<?xml version=“1.0” encoding=“UTF-8”?>
<data>
<lead>
<key>psj0Jc8ERdD3n6RqyWeqKDq5hRuzbfhA</key>
<leadgroup>50711</leadgroup>
<site>0</site>
<introducer>0</introducer>
<type>[String]</type>
<user>[String]</user>
<status>[String]</status>
<reference>[String]</reference>
<source>LUMA</source>
<medium>[String]</medium>
<term>[String]</term>
<cost>[Decimal]</cost>
<value>[Decimal]</value>
<title>[String]</title>
<firstname>[String]</firstname>
<lastname>[String]</lastname>
<company>[String]</company>
<jobtitle>[String]</jobtitle>
<phone1>[Number]</phone1>
<phone2>[Number]</phone2>
<fax>[Number]</fax>
<email>[String]</email>
<address>[String]</address>
<address2>[String]</address2>
<address3>[String]</address3>
<towncity>[String]</towncity>
<postcode>[String]</postcode>
<dobday>[Number]</dobday>
<dobmonth>[Number]</dobmonth>
<dobyear>[Number]</dobyear>
<contactphone>Set</contactphone>
<contactsms>Set</contactsms>
<contactemail>Set</contactemail>
<contactmail>Set</contactmail>
<contactfax>Set</contactfax>
<contacttime>Set</contacttime>
<data1>[Date](appointment date)</data1>
<data2>[Set](Age Bracket: 50 - 60, 61 - 70, 70+)</data2>
<data3>[Time](appointmnet time)</data3>
<data4>Textlong</data4>
</lead>
</data>

Do I need to do something else?
Thanks,
Tanya

Hi Tanyae - the documentation for script manager is a great place to start. Let me know if you have any questions after reading this document!

Reply