CHALLENGE DETAIL

Twilio SMS for Force.com

OVERVIEW

CODE

We would like to send and receive SMS messages for contacts in Salesforce.com. The outgoing SMS message will be configurable and will be tracked against the contact record including all responses. Recipients of the message must be able to SMS a response back to the system and be attached to the sending contact’s record.

REQUIREMENTS

Create a new custom object to store SMS messages
- Each message will contain a message text, date of the message was sent.
- Messages will be stored as a related list to contacts.
- Incoming and outgoing messages will be stored in this list.

Sending a message
- Select a contact to send SMS to. Contact must have a mobile phone and SMS enables = true (this field must be added to the contact)

Message Format
- Messages will only be sent in the ANSI character set.
- Messages length must be less than or equal to 160 characters.

Message Response
- Provide opt-out functionality. If a person texts STOP (case insentive), update their contact record to opt out of SMS messages. Set SMS enabled = false
- Store the date of the message, text of the message and the sender.
- The incoming message will be stored to a contact based on the sender's phone number.

SUBMISSION DETAILS

Upload all your source code as a zip (you can simply zip up your Eclipse project for convenience) and provide any documentation and/or instructions that are needed. An SWF video of your application using Jing would also be helpful but not required.

Your submission will be judged by a panel of peers based upon this criteria. If you would like to request an extension, please read Can challenge deadlines be extended for more time? on our FAQ. We do not want to grant extensions unless there is a valid reason.

ADDITIONAL INFO

If you plan on using Twilio and are a non US participant please read this.

See the Twilio SMS Quickstart for a ... quick start.

You may also consider using TwilioForce as it may contain much of the configuration already for Twilio.

PARTICIPATION


DISCUSSION

Kenji776
Aww yeah, this one is in the bag ;)
Kenji776, Jul 27, 2011 at 13:44 PM reply
knthornt
I mentioned this to Jeff and he asked me to note this here: zymic.com is a free hosting service, however it appears that they do not have cURL enabled. curl is needed to use the Twilio REST API, so don't use zymic.com. If you have any other suggestions for hosting, please pass those along. Thanks!
knthornt, Jul 27, 2011 at 13:44 PM reply
knthornt
Just came across Kodingen which appears to work well.
knthornt, Jul 27, 2011 at 13:44 PM reply
Kenji776
Oh man, Jason, you just had to join this one huh? Fine, a throwdown it is! May the best code win ;)
Kenji776, Jul 27, 2011 at 13:44 PM reply
Kenji776
So say we have a working app, but want to show a video of it.... aside from actually using a camera and showing our phone receiving a text message how could we do it? Like is there any free online 'phone simulators' with a working phone number or anything? Otherwise, might be time to break out the digital camera XD
Kenji776, Jul 27, 2011 at 13:44 PM reply
knthornt
Kenji, set up a google voice account and you get free texting from there.
knthornt, Jul 27, 2011 at 13:44 PM reply
Kenji776
Ah ok, sweet. That's a good approach. I thought they disabled google voice a while ago. I must have misheard.
Kenji776, Jul 27, 2011 at 13:44 PM reply
qaidhussain
you used database program for alone one contact number there sending and receiving data store in this person
qaidhussain, Jul 27, 2011 at 13:44 PM reply
chinesejacklee
$1500 is a bit low for this job, to be fair, it needs three days to finish (design+vf+apex+testing code+documentaion), and at rate of $800 per day, this job should has $2400 pay at least.
chinesejacklee, Jul 27, 2011 at 13:44 PM reply
TehNrd
Here is a friendly tip for anyone working on this challenge. When created the authorization header and it includes the world 'Basic', make sure it is like this and not all caps like 'BASIC'. If it is all caps you will get an authorization error. I wasted way too much time figuring this out.
TehNrd, Jul 27, 2011 at 13:44 PM reply
jeffdonthemic
Thanks for the friendly advice. I'm sure you head still hurts from banging it against the wall. Save other the cost of aspirin.
jeffdonthemic (admin), Jul 27, 2011 at 13:53 PM
techtrekker
Just read through the Twilio quickstart, and only a paid service to follks outside of the US of A? So contest limited to across the pond then ? Or am I missing something ?
techtrekker, Jul 27, 2011 at 13:44 PM reply
jeffdonthemic
I saw a tweet today about an international SMS beta. Email help@twilio.com, ask to get on it and point to this contest. Also see: http://www.twilio.com/international-sms.
jeffdonthemic (admin), Jul 27, 2011 at 13:53 PM
TehNrd
o rly?
TehNrd, Dec 18, 2011 at 06:01 AM reply
TehNrd
o rly?
TehNrd, Dec 18, 2011 at 06:01 AM reply
boysiga014
500 ecion sp 100000000
boysiga014, Dec 18, 2011 at 06:01 AM reply

The discussion board is closed for this challenge.



PARTICIPATION

13 members participating with 13 registered

TECHNOLOGIES

Salesforce.com | Twilio

WINNER SELECTED

Ended May 08, 2011 at 7:00 PM
Winner Announced on May 13, 2011
View the challenge results
Give us your feedback about this challenge.

PRIZES

Total: $1,500
1st $1500

SHARE

Chrome Extension

Install the CloudSpokes Chrome Extension for quick and easy access to the latest CloudSpokes challenges, your payments, leaderboards and more!