LD Admin - External URL (Post call events)

After a phone call, LeadDesk allows you to send information from the system to (for instance) your CRM system. 

The external URL is called when the call information is saved into the database after ending a call. This event does not show in the agent's interface.

Please note:
- The external URL setting is campaign-specific and must be configured in the campaign editor.
- This doesn't use the possible return value from the HTTP request.
- This information is not valid when using LeadDesk "button" version.

Details: 
LeadDesk sends all data from the call log entry.
This translates to following parameters:
- client_id
- call_logs_id
- reason_id (from call_logs.call_ending_reason)
- campaign_id (from call_logs.campaign)

Also if the contact's entry was linked to a call log entry, the following information is available:
- last_reason (from contact)
- all parameters from contacts entry

Related: LeadDesk API

Example of parameters passed over:
Other info field values (other_info_*) are passed only if they contain data, and other info titles (other_i_name_*) are passed only if they vary from the default name of the field.
Customers.id is not passed at all.

   [id] => 72423  (This is contact id)
   [phone] => +35840123123
   [fname] => Teuvo
   [lname] => Testaaja
   [address] => Testaajankatu 9
   [postal] => 53850
   [city] => Lappeenranta
   [other_info_ft] => MOB
   [other_info_sec] => MOB
   [client_id] => 1437
   [created_at] => 2018-01-11 13:15:14
   [updated_at] => 2018-02-28 12:38:39
   [other_i_name_1] => Beløb
   [other_i_name_2] => Frekvens
   [other_i_name_3] => Bank
   [other_i_name_4] => Reg.Nr
   [other_i_name_5] => Konto Nr.
   [other_i_name_6] => CPR Nr.
   [other_i_name_7] => Kommentar til aftalen
   [other_info_8] => 10612104
   [other_i_name_8] => BASE-ID
   [other_i_name_9] => STEDNAVN
   [other_info_10] => 727
   [other_i_name_10] => KOMMUNE-KODE
   [other_info_11] => Fuldtnavn_adresse
   [other_i_name_11] => Robinson
   [last_reason] => 11555
   [calling_list_id] => 3552
   [last_call_id] => 13959
   [reason_id] => 11555
   [campaign_id] => 1563
   [call_logs_id] => 13959


Example URL:
http://test.domain.com/?id=5537175&phone=0451105130&fname=Andy&lname=Testing&office=Helsinki&vatin=1234567890&address=&postal=&country=&city=&other_info_ft=&other_info_sec=&other_info_thir=&other_info_4=&other_info_5=&other_info_6=&comment=&client_id=2&created_at=2012-11-23+10%3A07%3A54&updated_at=2013-08-14+11%3A50%3A14&www=&other_i_name_1=Muu+tieto+1&other_i_name_2=Muu+tieto+2&other_i_name_3=Muu+tieto+3&other_i_name_4=Muu+tieto+4&other_i_name_5=Muu+tieto+5&other_i_name_6=Muu+tieto+6&other_i_name_7=Muu+tieto+7&other_i_name_8=Muu+tieto+8&other_i_name_9=Muu+tieto+9&other_i_name_10=Muu+tieto+10&other_i_name_11=Muu+tieto+11&other_i_name_12=Muu+tieto+12&other_i_name_13=Muu+tieto+13&other_i_name_14=Muu+tieto+14&other_i_name_15=Muu+tieto+15&other_i_name_16=Muu+tieto+16&other_i_name_17=Muu+tieto+17&other_i_name_18=Muu+tieto+18&other_i_name_19=Muu+tieto+19&other_i_name_20=Muu+tieto+20&company_id=218&last_reason=1&calling_list_id=3821&call_logs_id=5616667&reason_id=1&campaign_id=2342 

Have more questions? Submit a request
Powered by Zendesk