leadconduit-default

2.9.10 • Public • Published

LeadConduit Default Integration

This module is for use on the LeadConduit platform. Please see the license agreement

Build Status

Outbound

Responses to the "Generic POST" outbound must be XML or JSON, as in the examples below.

Data in the response will be automatically appended to the lead. Other than including data for the special keys outcome and reason, there is not currently a way to set those values.

XML

The response Content-Type must be either application/xml or text/xml.

<result>
  <outcome>success</outcome>
  <reason/>
  <lead>
    <id>1234</id>
    <last_name>Smith</last_name>
    <email>jsmith@test.com</email>
    <phone_1>5125551234</phone_1>
  </lead>
</result>

All data under the top level (<result>, in this example) will be appended to the lead. For example, if the recipient name is "My CRM", the lead will include appended data for "My CRM Lead Last Name" (aka my_crm.lead.last_name) of "Smith".

JSON

The response Content-Type must be application/json.

{
  "outcome": "success",
  "reason": "",
  "lead": {
    "id": "1234",
    "last_name": "Smith",
    "email": "jsmith@test.com",
    "phone_1": "5125551234",
  }
}

As above, all data will be appended to the lead. For example, if the recipient name is "My CRM", the lead will include appended data for "My CRM Lead Last Name" (aka my_crm.lead.last_name) of "Smith".

Readme

Keywords

none

Package Sidebar

Install

npm i leadconduit-default

Weekly Downloads

173

Version

2.9.10

License

CC-BY-NC-ND-4.0

Unpacked Size

76.6 kB

Total Files

20

Last publish

Collaborators

  • daniel.gershin
  • celolb
  • rafael.uchoa
  • jarrodbmiller
  • terbepetra
  • matteo.pandolfi
  • ericyd_ap
  • ivisilva
  • henriquelaki
  • carlo.anselmi
  • stefano.santonocito
  • carlhannusch
  • robdll
  • jorgemarrufo
  • apshoebkhan
  • samullen-ap
  • dpjones09
  • josevsp
  • johnb2
  • rickymcmurtrey
  • jgrayson03
  • apadmin
  • alexkwolfe
  • kellym
  • cgrayson
  • steveodom
  • ap_luisferreira
  • alisimbanegavi
  • benjmartin
  • sammarten
  • gabriel.roldan.ap
  • stwf-ap