Page MenuHomePhabricator

Civi Searchkit should allow user to export list to acoustic
Open, MediumPublic

Description

As a civi user, I would like to generate a list in civi and export to acoustic so that I don't have to transfer this myself.

DoD:

  • Add an action to searchkit drop down menu
  • Use acoustic API for this:

https://developer.goacoustic.com/acoustic-campaign/reference/importlist

https://docs.google.com/document/d/1e5DgkjJI1dl0sj84o8KqsWd7kuudAXssIcwGpcIfQuw/edit

Event Timeline

This 'works' - although it is lacking on the UI front - @NNichols @RLewis @nisrael - does anyone have a group they want to push to Acoustic so I can test the performance of it
civicrm/a/#/omnimail/groupsync/?id=1

@RLewis
I have exported your group 1218 to Acoustic

https://engage4.silverpop.com/lists.do?action=listSummary&listId=42299852

I found that Acoustic rejected 4 email addresses because the localpart (before the '@') of their addresses was on a reject-list that we have configured at Acoustic - I've opened https://phabricator.wikimedia.org/T306582 for that - but in the meantime these 4 contacts have NOT been uploaded

support@ https://civicrm.wikimedia.org/civicrm/contact/view?reset=1&cid=22932907
marketing@ https://civicrm.wikimedia.org/civicrm/contact/view?reset=1&cid=54766195
service@ https://civicrm.wikimedia.org/civicrm/contact/view?reset=1&cid=4570757
admin@ https://civicrm.wikimedia.org/civicrm/contact/view?reset=1&cid=52234417

Notes about the job running ....

It seems to run at around 50 per minute but can be restarted in the browser - however if you go away & try again it creates a new queue & doesn't clean up the old one - I've added https://phabricator.wikimedia.org/T306855 for that

50 per minute won't scale so we will need to get it to run in the background - this will leverage the same approach (when finalised) to be used for imports

Note the url is https://civicrm.wikimedia.org/civicrm/a/#/omnimail/groupsync/?id=group_id to iniatiate a sync