Page 1 of 1
API - Loading Leads
Posted:
Tue Mar 15, 2011 4:19 pm
by randy_delgado_03
Good Day Everyone,
Currently we're having a campaign that requires "live feed leads" meaning when we receive leads, it will automatically be inserted and dialed right away. My question is: is it possible to load leads automatically in vicidial using API?
Any suggestions, recommendations, references would be highly appreciated ...
Thanks Vicidial Team (^_^)
Posted:
Tue Mar 15, 2011 9:08 pm
by mflorell
Yes, this is possible, we have several clients doing this currently. It's just a web HTTP GET, so it can be programmed in just about any common web language like PHP, ASP, Perl, CFM, JSP
Posted:
Tue Mar 15, 2011 9:12 pm
by randy_delgado_03
Thanks a lot for the confirmation matt.
Do you have any references or kinda like docs for this?
Posted:
Wed Mar 16, 2011 9:36 am
by mflorell
Not really, each of our clients that use it do it their own way.
Posted:
Wed Mar 16, 2011 12:40 pm
by randy_delgado_03
Thanks matt, already solved my problem by researching the scripts here "/usr/share/astguiclient" and found this "VICIDIAL_IN_new_leads_file.pl".
By using a third party application, i was able to insert leads automatically.
Thanks again for the big help ...
Re:
Posted:
Fri May 20, 2016 11:46 am
by oreb
randy_delgado_03 wrote:Thanks matt, already solved my problem by researching the scripts here "/usr/share/astguiclient" and found this "VICIDIAL_IN_new_leads_file.pl".
By using a third party application, i was able to insert leads automatically.
Thanks again for the big help ...
Hi randy_delgado_03, Do you mind sharing what 3rd party application you used. I have the exact same needs and would like your help. Thanks
Regards
Ore
Re: API - Loading Leads
Posted:
Fri May 20, 2016 1:54 pm
by williamconley
There are three basic methods:
1) Non Agent API: excellent for one lead at a time.
2) /usr/share/astguiclient/VICIDIAL_IN_new_leads_file.pl: will pull files which are already placed in the proper folder as soon as you execute this perl script.
3) FTP: using /usr/share/astguiclient/VICIDIAL_IN_new_leads_file.pl again, but this time the script is configured to pull from an external FTP site instead of using files already in the proper folder.
In all cases an external app will need to provide the file and/or data. In some cases the external app can be used to trigger the event as well.
But this would not be a "stock app" that you could purchase from an app store. Too simple for that (on one side of the argument: all the app may do is move a file and trigger a perl script) and too complex from the other side of the argument, since this still requires having access to the data being sent to Vicidial and properly formatting it before sending. This sort of script is usually hand-written in perl/php/javascript/bash or another simplistic scripting language.
Re: API - Loading Leads
Posted:
Thu May 26, 2016 3:59 am
by oreb
Okay, Thanks. The NON-Agent Api seems adequate. The leads come in via email one at a time, so a script to extract number from email and send into vicidial is all i'll need.
Thanks again.