{"id":2559,"date":"2021-12-19T07:04:44","date_gmt":"2021-12-19T07:04:44","guid":{"rendered":"https:\/\/support.themewinter.com\/docs\/plugins\/?post_type=docs&#038;p=2559"},"modified":"2026-03-25T07:22:02","modified_gmt":"2026-03-25T07:22:02","password":"","slug":"twilio-sms-integration","status":"publish","type":"docs","link":"https:\/\/support.themewinter.com\/docs\/plugins\/plugin-docs\/integrations\/twilio-sms-integration\/","title":{"rendered":"How to Integration Twilio SMS with WPCafe"},"content":{"rendered":"\n<p>Twilio is a solution that will let you send SMS updates to your customers. This documentation will help you set up&nbsp;<strong>Twilio SMS&nbsp;<\/strong>for your WPCafe restaurant website by integrating with WooCommerce. Since WPCafe orders are managed by WooCommerce, Twilio needs to be integrated with WooCommerce to send SMS for order details.<\/p>\n\n\n\n<p>\ud83d\udd39&nbsp;<strong>NOTE:&nbsp;<\/strong>Twilio SMS integration is&nbsp;<strong>only for Food Ordering features<\/strong>, not Reservations. WPCafe uses WooCommerce to manage only Food Ordering, which is why the Twilio integration with WooCommerce lets you send SMS updates only for Food Ordering settings.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"required-plugins\"><strong>Required Plugins<\/strong><\/h3>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>ShopMagic&nbsp;<\/strong>is a free WooCommerce SMS Plugin. It is an add-on to ShopMagic (which is also free). In order to send text messages from your WooCommerce store, you will need both ShopMagic and the ShopMagic for Twilio add-on.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/shopmagic-for-woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">ShopMagic for WooCommerce<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/shopmagic-for-twilio\/\" target=\"_blank\" rel=\"noreferrer noopener\">ShopMagic for Twilio<\/a><\/strong><\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"setting-up-twilio-account-\"><strong>Setting up a Twilio Account<\/strong><\/h3>\n\n\n\n<p><\/p>\n\n\n\n<p>The first step is to set up SID and Auth Token. From your Dashboard, go to&nbsp;<strong>ShopMagic -&gt; Settings<\/strong>&nbsp;<strong>-&gt; Twilio<\/strong>. Here you will see the option to set up the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Twillio Account SID<\/strong><\/li>\n\n\n\n<li><strong>Twilio Auth Token.<\/strong><\/li>\n\n\n\n<li><strong>Twilio Valid Phone Number<\/strong><\/li>\n<\/ul>\n\n\n\n<p>You can get this information by logging into your&nbsp;<strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.twilio.com\/user\/account\/voice-sms-mms\" target=\"_blank\">Twilio account details page<\/a>.<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img alt=\"\" decoding=\"async\" src=\"https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/12\/account1-min-1024x436.png\" alt=\"\" class=\"wp-image-2620\"\/><figcaption class=\"wp-element-caption\">Twilio Account Details<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img alt=\"\" decoding=\"async\" src=\"https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/12\/acc2-min-1024x491.png\" alt=\"\" class=\"wp-image-2621\"\/><figcaption class=\"wp-element-caption\">Twilio Settings from WordPress Dashboard<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"creating-automation-to-send-sms\"><strong>Creating Automation to Send SMS<\/strong><\/h3>\n\n\n\n<p><\/p>\n\n\n\n<p>Once you have set up your account, you are ready to automate your SMS service. From your dashboard, go to&nbsp;<strong>ShopMagic -&gt; Automation -&gt; Add New<\/strong>. Here is a short summary of the steps for setting up automation.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Automation Name<\/strong>\u00a0\u2013 Give your event a name that will help you understand what that event will do. (i.e., WPCafe \u2013 Order Complete SMS)<\/li>\n\n\n\n<li><strong>Event\u00a0<\/strong>\u2013 Select an Event for which you want to trigger an action (i.e., Order Complete)<\/li>\n\n\n\n<li><strong>Filter (Optional)<\/strong>\u00a0\u2013 If you want to set a specific filter for a specific type of customer, order, etc. (i.e., Order Items that include Beef Burger)<\/li>\n\n\n\n<li><strong>Action<\/strong>&nbsp;\u2013 Choose an action that you want to perform. In this case, we will choose&nbsp;<strong>Send SMS with Twilio<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img alt=\"\" decoding=\"async\" src=\"https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/12\/auto1-min-1-1024x564.png\" alt=\"\" class=\"wp-image-2622\"\/><figcaption class=\"wp-element-caption\">Add New Automation<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"1-set-automation-name-\">1. Set Automation Name<\/h4>\n\n\n\n<p>Give your event a name that will help you understand what that event will do. In this case, let\u2019s set the name to&nbsp;<strong>WPCafe \u2013 Order Complete SMS<\/strong>&nbsp;as an example.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-select-event\">2. Select Event<\/h3>\n\n\n\n<p>Now you need to select an&nbsp;<strong>Event<\/strong>. Since this is Order Complete SMS, you can select&nbsp;<strong>Order Completed<\/strong>&nbsp;as the event to trigger an action for this example.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-add-filters-optional-\">3. Add Filters (Optional)<\/h3>\n\n\n\n<p>If you want to set a specific filter for a specific type of customer, order, etc. You can do that by adding a&nbsp;<strong>New Filter Group<\/strong>. Multiple filters can be added to one action.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img alt=\"\" decoding=\"async\" src=\"https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/12\/auto2-min-2-1024x445.png\" alt=\"\" class=\"wp-image-2623\"\/><figcaption class=\"wp-element-caption\">Add Automation Name and Filter<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-actions-triggered-for-event\">4. Actions Triggered for Event<\/h3>\n\n\n\n<p>Now select an action that will be triggered when your event occurs. Here you can choose from multiple options, but for this purpose, select\u00a0Send SMS with Twilio.\u00a0Then you can fill up the\u00a0Description, To, From, and Message\u00a0fields with your message. There are a lot of custom tags too, which you can choose to use in your message fields. You can add multiple actions for one event.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img alt=\"\" decoding=\"async\" src=\"https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/12\/auto3-min-1-1024x488.png\" alt=\"\" class=\"wp-image-2624\"\/><figcaption class=\"wp-element-caption\">Set Action to Send SMS with Twilio<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"automation-complete\">Automation Complete<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p>Once you publish your automation, go back to your Automation settings, and you will see your automation added to the list. In this way, you can create multiple automations for your restaurant website.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img alt=\"\" decoding=\"async\" src=\"https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/12\/auto4-min-1-1024x537.png\" alt=\"\" class=\"wp-image-2625\"\/><figcaption class=\"wp-element-caption\">New Automation Added<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"use-cases-for-twilio-sms-integration\">Use Cases for Twilio SMS Integration<\/h3>\n\n\n\n<p><\/p>\n\n\n\n<p>Now that you know the process of setting up, let\u2019s go over some example use cases you can create for your restaurant website.<\/p>\n\n\n\n<p>\ud83d\udd39\u00a0<strong>Send text messages for order status changes<\/strong>\u00a0\u2013 With ShopMagic, you cannot only use standard WooCommerce order statuses but also custom ones e.g., Order Shipping.<br>\ud83d\udd39\u00a0Create automation for abandoned carts and recover them \u2013\u00a0Recovering abandoned carts is another free add-on that works great with ShopMagic for Twilio. Use it to notify your customers with SMS messages that they left something in the cart.<br>\ud83d\udd39\u00a0Notify customers about their subscription status.\u00a0ShopMagic is integrated with the WooCommerce Subscription plugin. Thanks to it, you can notify your customers about any change in their subscription. For example, send text messages when a subscription is going to end or after successful renewal.<\/p>\n\n\n\n<p><strong>You can visit&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/docs.shopmagic.app\/\" target=\"_blank\">ShopMagic Documentation for more info \u2794<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Twilio is a solution that will let you send SMS updates to your customers. This documentation will help you set up&nbsp;Twilio SMS&nbsp;for your WPCafe restaurant website by integrating with WooCommerce. Since WPCafe orders are managed by WooCommerce, Twilio needs to be integrated with WooCommerce to send SMS for order details. \ud83d\udd39&nbsp;NOTE:&nbsp;Twilio SMS integration is&nbsp;only for [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_eb_attr":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[15],"doc_tag":[],"class_list":["post-2559","docs","type-docs","status-publish","hentry","doc_category-integrations"],"year_month":"2026-05","word_count":726,"total_views":"2914","reactions":{"happy":"2","normal":"0","sad":"1"},"author_info":{"name":"teamwinter","author_nicename":"teamwinter","author_url":"https:\/\/support.themewinter.com\/docs\/plugins\/author\/teamwinter\/"},"doc_category_info":[{"term_name":"Integrations","term_url":"https:\/\/support.themewinter.com\/docs\/plugins\/docs\/integrations\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/docs\/2559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/comments?post=2559"}],"version-history":[{"count":12,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/docs\/2559\/revisions"}],"predecessor-version":[{"id":11455,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/docs\/2559\/revisions\/11455"}],"wp:attachment":[{"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/media?parent=2559"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/doc_category?post=2559"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/doc_tag?post=2559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}