06-11-2017 11:25 AM - edited 03-14-2019 05:21 PM
Hello,
As far as I recall, when creating an outbound campaign, a list of contacts is manually uploaded into the campaign before it is kicked off with the option of adding more contacts as the campaign progresses.
Is it possible to upload the contact list via the CCX CLI? I am thinking we could create a Cron job to upload new contacts periodically. And the campaign would be able to continue processing contacts without any additional manual intervention.
Does anyone know if this is possible or if there is an alternative way to accomplish this.
Thanks,
Eddie
06-12-2017 11:25 AM
You can use the Admin API of UCCX to push in contacts to your campaign.
Resource: https://developer.cisco.com/site/uccxapi/overview/
Example:
The admin api URL is:
http://{your uccx ip}/adminapi/campaign/{your campaign id}/contacts
The XML payload looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<campaignContacts>
<campaign name="test">
<refURL>http://{your uccx ip}/adminapi/campaign/{your campaign id}</refURL>
</campaign>
<csvdata>
account number, first name, last name, phone1
12345,John,Doe,+16125551212
67890,Jane,Doe,+16125551313
</csvdata>
</campaignContacts>
06-10-2019 12:17 PM
Hi Anthony,
Is there any way to import txt file instead of enter each contact manually.
Anwar Ahmed
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide