Join Makerpad today

Makerpad is home to over 9,000 folks. Access members-only content, build real projects & get expert support
Tutorials
/
📲 Sending a SMS Message from a website

📲 Sending a SMS Message from a website

Link to Demo

This tutorial shows you how to add a "Sending a SMS Message" function on your website with Boundless and Twilio

Create a form

  1. To (Phone Number)
  2. Body (Multiline Text) - You can limit the length of this field by going to table view and setting a limit
  3. If you want to display the progress towards that limit you can add a [=LEN(Current Message.Body)]/255 text node under the input

Add a custom HTTP action

  1. You can get the SMS Messages API URL from the Twilio API page here
  2. Get your Twilio Account SID and Auth Token here
  3. In the HTTP Request action set the Body Encoding to Form
  4. Set the Basic Auth field to: AccountSID:AuthToken
  5. Add three body fields: To: (use the phone number input); Body (use the body input); From: (use the number from your Twilio account)

Show Results

  1. Add a Go To Record page action to the SMS Message form
  2. You can display the message as well as phone number on the record page. Format Phone Number will display a nicely formatted version of the phone number

Here is what it looks like:

You can view the resulting sms message in the table view and see results of the api request in action history (click the row to expand it and see details)

You must be a member to view the full lesson

Join Makerpad today

Makerpad is home to over 9,000 folks. Access members-only content, build real projects & get expert support

If you'd like this template, message @bentossell on Slack with your email for the account to send this template.

Ready to get started?

Join the community and start turning your ideas into solutions