Tutorials
/
πŸ“² Sending a SMS Message from a website
Get updated on new tutorials
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

πŸ“² Sending a SMS Message from a website

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

Access all tutorials & the community today and lock-in your price for life.
Get updated on new tutorials
Share Makerpad via Twitter
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

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