|
| 1 | +<template> |
| 2 | + <v-container class="pt-8"> |
| 3 | + <v-row class="mt-16"> |
| 4 | + <v-col cols="12" md="9"> |
| 5 | + <h1 |
| 6 | + class="mt-1" |
| 7 | + :class="{ |
| 8 | + 'text-h2': $vuetify.breakpoint.mdAndUp, |
| 9 | + 'text-h3': !$vuetify.breakpoint.mdAndUp, |
| 10 | + }" |
| 11 | + > |
| 12 | + Send an SMS message when a new row is added to Google Sheets using |
| 13 | + Zapier |
| 14 | + </h1> |
| 15 | + <p class="subtitle-2 mt-2"> |
| 16 | + <span class="text-uppercase blue--text">{{ postDate }}</span> |
| 17 | + • <span class="text-uppercase">{{ readTime }}</span> |
| 18 | + </p> |
| 19 | + <p class="text--secondary subtitle-1 mt-2"> |
| 20 | + Automate sending personalized SMS messages each time a new row is |
| 21 | + added to your Google Sheets document using Zapier. You don't need to |
| 22 | + write any code to make this happen and you can personalize the SMS |
| 23 | + messages which are sent out. |
| 24 | + </p> |
| 25 | + <h3 class="text-h4 mt-8 mb-2">Prerequisites</h3> |
| 26 | + <ul> |
| 27 | + <li>Basic understanding of Google Sheets.</li> |
| 28 | + <li>Basic understanding of Zapier.</li> |
| 29 | + <li> |
| 30 | + An account on |
| 31 | + <router-link to="/login" class="text-decoration-none" |
| 32 | + >httpsms.com</router-link |
| 33 | + > |
| 34 | + </li> |
| 35 | + </ul> |
| 36 | + <h3 class="text-h4 mt-8 mb-2">Step 1: Create trigger on Zapier</h3> |
| 37 | + <p> |
| 38 | + Create a new Zap on Zapier and select Google Sheets as the trigger. |
| 39 | + The event name should be <b>"New Spreadsheet Row"</b> if you want to |
| 40 | + send an SMS message every time a new row is added to your Google |
| 41 | + Sheets document. |
| 42 | + </p> |
| 43 | + <vue-glow |
| 44 | + color="#329ef4" |
| 45 | + mode="hex" |
| 46 | + elevation="14" |
| 47 | + :intensity="1.07" |
| 48 | + intense |
| 49 | + > |
| 50 | + <v-img |
| 51 | + style="border-radius: 4px" |
| 52 | + alt="httpsms.com settings page" |
| 53 | + :src=" |
| 54 | + require('~/static/img/blog/send-sms-when-new-row-is-added-to-google-sheets-using-zapier/zapier-trigger.png') |
| 55 | + " |
| 56 | + ></v-img> |
| 57 | + </vue-glow> |
| 58 | + <p class="mt-8"> |
| 59 | + On the Zap, select the <b>Spreadsheet</b> which you have on google |
| 60 | + drive and make sure to select the correct <b>Worksheet</b>. |
| 61 | + </p> |
| 62 | + <v-alert type="info" outlined> |
| 63 | + In the sample spreadsheet below, we are mimicking an e-commerce store. |
| 64 | + The first column contains the name of the customer, the second column |
| 65 | + is the name of the product which was bought and the third column is |
| 66 | + the phone number of the customer who made the purchase. You can use |
| 67 | + your own custom spreadsheet with your own set of columns. |
| 68 | + </v-alert> |
| 69 | + <vue-glow |
| 70 | + color="#329ef4" |
| 71 | + mode="hex" |
| 72 | + elevation="14" |
| 73 | + :intensity="1.07" |
| 74 | + intense |
| 75 | + > |
| 76 | + <v-img |
| 77 | + style="border-radius: 4px" |
| 78 | + alt="httpsms.com settings page" |
| 79 | + :src=" |
| 80 | + require('@/static/img/blog/send-sms-when-new-row-is-added-to-google-sheets-using-zapier/google-sheets.png') |
| 81 | + " |
| 82 | + ></v-img> |
| 83 | + </vue-glow> |
| 84 | + <h3 class="text-h4 mt-8 mb-2">Step 2: Create an action on Zapier</h3> |
| 85 | + <p> |
| 86 | + An action is what happens after the trigger. In this case, we want to |
| 87 | + send an SMS message to the customer who made the purchase. Select |
| 88 | + <b>Webhooks By Zapier</b> as the action app and select |
| 89 | + <b>Custom Request</b> as the action event. |
| 90 | + </p> |
| 91 | + <vue-glow |
| 92 | + color="#329ef4" |
| 93 | + mode="hex" |
| 94 | + elevation="14" |
| 95 | + :intensity="1.07" |
| 96 | + intense |
| 97 | + > |
| 98 | + <v-img |
| 99 | + style="border-radius: 4px" |
| 100 | + alt="httpsms.com settings page" |
| 101 | + :src=" |
| 102 | + require('@/static/img/blog/send-sms-when-new-row-is-added-to-google-sheets-using-zapier/zapier-action-event.png') |
| 103 | + " |
| 104 | + ></v-img> |
| 105 | + </vue-glow> |
| 106 | + <p class="mt-8"> |
| 107 | + On the <b>Action</b> section in Zapier, set the Method to |
| 108 | + <code>Post</code>. Set the URL to |
| 109 | + <code>https://api.httpsms.com/v1/messages/send</code>. Set the `Data |
| 110 | + Pass-Through` to <code>false</code>. In the Data field, add the |
| 111 | + following JSON payload. |
| 112 | + </p> |
| 113 | + <pre v-highlight class="json w-full mt-n2 mb-n13"> |
| 114 | +<code> |
| 115 | +{ |
| 116 | + "content": "Hello [Name]\nThanks for ordering [Product] via our shopify store. Your order will be shipped today!", |
| 117 | + "from": "+18005550199", |
| 118 | + "to": "[ToPhoneNumber]" |
| 119 | +} |
| 120 | +</code> |
| 121 | + </pre> |
| 122 | + <v-alert type="info" class="mt-4" outlined> |
| 123 | + In the JSON message above, we are mimicking an e-commerce store. The |
| 124 | + <code>[Name]</code> variable contains the name of the customer on the |
| 125 | + spreadsheet. <code>[Product]</code> contains the name of the product |
| 126 | + which was bought and <code>[ToPhoneNumber]</code> contains the phone |
| 127 | + number of the customer who made the purchase. You can use your own |
| 128 | + custom message with your own set of variables according to your |
| 129 | + spreadsheet. Change the <code>from</code> field to the phone number |
| 130 | + which you registered on httpsms.com. |
| 131 | + </v-alert> |
| 132 | + <p class="mt-8"> |
| 133 | + On the headers section add a new header called |
| 134 | + <code>x-api-key</code> and the value of this header should be your API |
| 135 | + key on |
| 136 | + <nuxt-link class="text-decoration-none" to="/settings" |
| 137 | + >httpsms.com</nuxt-link |
| 138 | + > |
| 139 | + and you can copy your API key from the settings page<nuxt-link |
| 140 | + class="text-decoration-none" |
| 141 | + to="/settings" |
| 142 | + >https://httpsms.com/settings</nuxt-link |
| 143 | + >. |
| 144 | + </p> |
| 145 | + <p> |
| 146 | + Also add a new header called <code>Content-Type</code> and the value |
| 147 | + of this header should be <code>application/json</code> |
| 148 | + </p> |
| 149 | + <p> |
| 150 | + The final configuration of the action should look like the screenshot |
| 151 | + below. |
| 152 | + </p> |
| 153 | + <vue-glow |
| 154 | + color="#329ef4" |
| 155 | + mode="hex" |
| 156 | + elevation="14" |
| 157 | + :intensity="1.07" |
| 158 | + intense |
| 159 | + > |
| 160 | + <v-img |
| 161 | + style="border-radius: 4px" |
| 162 | + alt="httpsms.com settings page" |
| 163 | + :src=" |
| 164 | + require('@/static/img/blog/send-sms-when-new-row-is-added-to-google-sheets-using-zapier/zapier-action-action.png') |
| 165 | + " |
| 166 | + ></v-img> |
| 167 | + </vue-glow> |
| 168 | + |
| 169 | + <h3 class="text-h4 mb-4 mt-16">Conclusion</h3> |
| 170 | + <p> |
| 171 | + Publish your zap and you will automatically trigger httpsms to send an |
| 172 | + SMS to your customer when ever you add a new row in the google sheet. |
| 173 | + Don't hesitate to |
| 174 | + <a class="text-decoration-none" href="mailto:arnold@httpsms.com" |
| 175 | + >contact us</a |
| 176 | + > |
| 177 | + if you face any issues configuring your zap to send SMS messages from |
| 178 | + your Google Sheets by following this tutorial. |
| 179 | + </p> |
| 180 | + <p>Until the next time✌️</p> |
| 181 | + <blog-author-bio></blog-author-bio> |
| 182 | + <v-divider class="mx-16"></v-divider> |
| 183 | + <div class="text-center mt-8 mb-4"> |
| 184 | + <back-button></back-button> |
| 185 | + </div> |
| 186 | + </v-col> |
| 187 | + <v-col v-if="$vuetify.breakpoint.mdAndUp" md="3"> |
| 188 | + <blog-info></blog-info> |
| 189 | + </v-col> |
| 190 | + </v-row> |
| 191 | + </v-container> |
| 192 | +</template> |
| 193 | + |
| 194 | +<script lang="ts"> |
| 195 | +import { mdiTwitter, mdiCommentTextMultipleOutline } from '@mdi/js' |
| 196 | +export default { |
| 197 | + name: 'SendSmsWhenNewRowIsAddedToGoogleSheetsUsingZapier', |
| 198 | + layout: 'website', |
| 199 | + data() { |
| 200 | + return { |
| 201 | + mdiTwitter, |
| 202 | + mdiCommentTextMultipleOutline, |
| 203 | + authorImage: require('@/assets/img/arnold.png'), |
| 204 | + authorName: 'Acho Arnold', |
| 205 | + postDate: 'October 29, 2023', |
| 206 | + readTime: '5 min read', |
| 207 | + authorTwitter: 'acho_arnold', |
| 208 | + } |
| 209 | + }, |
| 210 | + head() { |
| 211 | + return { |
| 212 | + title: |
| 213 | + 'How to send SMS messages to multiple phone numbers from Excel - httpSMS', |
| 214 | + meta: [ |
| 215 | + { |
| 216 | + hid: 'og:title', |
| 217 | + property: 'og:title', |
| 218 | + content: |
| 219 | + 'How to send SMS messages to multiple phone numbers from Excel', |
| 220 | + }, |
| 221 | + { |
| 222 | + hid: 'og:description', |
| 223 | + property: 'og:description', |
| 224 | + content: |
| 225 | + 'Configure your Android phone as an SMS gateway to automate sending text messages with the Python programing language.', |
| 226 | + }, |
| 227 | + { |
| 228 | + hid: 'twitter:card', |
| 229 | + name: 'twitter:card', |
| 230 | + content: 'summary_large_image', |
| 231 | + }, |
| 232 | + { |
| 233 | + hid: 'og:url', |
| 234 | + property: 'og:url', |
| 235 | + content: |
| 236 | + 'https://httpsms.com/blog/how-to-send-sms-messages-from-excel', |
| 237 | + }, |
| 238 | + ], |
| 239 | + } |
| 240 | + }, |
| 241 | +} |
| 242 | +</script> |
0 commit comments