Sunday, June 21, 2009

Sending tokenized SMS with drupal to CiviCRM contacts and/or Views of... numbers

Drupal SMSframework to the rescue



For a I project I'm working on I had the need to organize huge lists of mobile phone numbers to send SMS to. Actually there's a nice drupal module, smsframework that lets you plug in your favourite SMS gateway to accomplish such a task. Merely there are still some limitations with smsframework:

  1. there is an interface to send SMS to drupal users (sms blast module), but you cannot apply any filter on it (you just can send SMS to all the users at once)

  2. it lacks an interface to send SMS to contact lists (ie. simple lists of numbers created with cck and views for example)

  3. there's no integration with CiviCRM so you cannot send SMS to civicrm contacts

  4. you cannot schedule jobs for sending SMS

  5. it lacks integration with token module


Send tokenized SMS to contact lists and civicrm users


To overcome this shortages I've written a small module that lets you send tokenized SMS to contact lists. It depends on smsframework module, views and views bulk operations for the GUI. Optionally you can install the token module.

Steps follow:

  1. install the modules then create a View with a field that contains the phone numbers (ie. a field of the user profile or a cck field)

  2. add some fields to the view that eventually you can use as tokens in the SMS text (ie. the name of the user)

  3. set the display mode to "views bulk operation" and select the action "Send SMS to..."

  4. optionally add some exposed filters to the view

  5. visit the view page, select the desidered rows, type the SMS text and send it


(it's easier to do than to explain :)

As you can create views of civicrm users with their mobile phone numbers, you can also use this with civicrm contacts.

I've applied for a cvs account in drupal contrib repository but the mantainers didn't answer me so I publish this here who is interested:

download smsbulk module

Please read the included README.txt first.

p.s. I've written a note to the mantainer of smsframework module asking for integration and I'm wating for a feedback.

5 comments:

Sergi Kolesnik said...

Hello!

Is this most recent version of smsbulk module? Have you managed to get CVS account on Drupal repo?

gunzip said...

yes, you can find it here http://drupal.org/project/smsbulk

ed pills said...

Hi there, after reading this amazing paragraph i am as well cheerful to share my know-how here with friends.

erection pills online viagra said...

I visit daily a few blogs and sites to read content, but this website presents quality based posts.

batu said...

edirne
ısparta
mersin
uşak
diyarbakır

3KW

Post a Comment