Click Out to Send an SMS Message with a Pre-set Body

Need someone to click a link to send an SMS with a pre-defined body? For example if someone wants to text Valet to get their car.


elow is sample code to setup a dynamic link to automatically add a word to the body for both Android and iOS.  Unfortunately, in the iOS world, you need a & to separate the body and phone number, while on Android you need a ? to separate.

In this case, leverage this code to dynamically display the correct link.



<!-- Snippet Pricing Section--><section id="pricing" class="mb-5">    <div class="container">        <div class="row text-center mb-3">            <div class="col-12">                <h1>Valet Request</h1>                <h4 class="lead">Please click the link below to send a text to our valet. Or you can text 312-957-7737 with the word "CAR".</h4>                <a id="textlink" class="btn" href="sms:+13129577737?body=Car">TEXT FOR CAR</a>            </div>        </div>    </div></section><script type="text/javascript">    if (getMobileOperatingSystem() == 'Android') {        §("#textlink").attr("href", "sms:+13129577737?body=Car");    } else {        §("#textlink").attr("href", "sms:+13129577737&body=Car");    }    function getMobileOperatingSystem() {        var userAgent = navigator.userAgent || navigator.vendor || window.opera;        if (/android/i.test(userAgent)) {            return "Android";        }        // iOS detection         if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {            return "iOS";        }        return "unknown";    }</script>

Additional Help Tutorials

Find more ways to grow on PeopleVine.

Connect Your Stripe Account to Peoplevine

Follow the new flow to setup your Stripe connection using our v2 rails.

Posted August 2, 2022

Setup Your Global Network to Create Seamless Reciprocity Between Clubs

Once you've been approved and added to the Global Network, you'll be able to auto-enroll your members into all clubs linked to that Global Network. If your member resigns, then their Global Network access is also revoked.

Posted July 1, 2022

Updated GoCardless Flow and Connection

Connect your GoCardless account to Peoplevine to enable direct debit and bank transfer capabilities.

Posted June 9, 2022

Click Out to Send an SMS Message with a Pre-set Body

Need someone to click a link to send an SMS with a pre-defined body? For example if someone wants to text Valet to get their car.

Posted June 9, 2022

Updated Bookings Page with Appointments, Reservations, Events and Classes on One Screen

We updated the /account/bookings page to display both upcoming appointments/reservations along with event/class registrations.

Posted May 31, 2022

Combine Initiation and First Month/Year Dues into a Single Charge + Other Updates to Application Approval Flow

We updated the application approval flow to give you more control over charging your new members.

Posted May 20, 2022

Integrated to Calteq for Displaying Caller ID with Member Details

Leverage our integration with Calteq to automatically sync your membership database to Calteq, so when a member calls, you'll be able to identify them immediately and greet them accordingly.

Posted May 16, 2022

Add a Member Client Tag to Your Members in Sevenrooms

With a little setup you can map the membership sku in Peoplevine to the Client Tag in Sevenrooms.

Posted April 14, 2022

Updates to Importing Data to Simplify Onboarding

We enabled some new features when importing data into the platform.

Posted April 1, 2022

Setup Peoplevine House Accounts with Toast

You can now simplify the approach for making House Account payments in Toast.

Posted March 31, 2022

Setup Peoplevine Card on File with Toast

You can now simplify the approach for making Card on File payments directly from Toast.

Posted March 31, 2022

What do the different subscription statuses do?

See what each status means so you know how our system will process the dues.

Posted March 31, 2022

Customize the Forgot Password Email

Follow these steps to setup a custom e-mail when people click on forgot password.

Posted March 9, 2022

Connecting TripleSeat to Peoplevine to Sync Members, Events and Spend

Our initial release of our integration with TripleSeat is now available to sync members, events and spend to their CRM profile in Peoplevine.

Posted March 8, 2022

Quick Tip - How to Make Fields Hide/Show Based on Selection on a Form

This posts provides a brief walkthrough and sample on how to make a section show or hide based on a field on a form. Don't forget, make sure the fields are NOT required, otherwise they won't be able to proceed (unless you write some more code).

Posted February 20, 2022

© Peoplevine 2022. Powered by PeopleVine. Terms of use | Privacy & cookies