Twilio is a solution that will let you send SMS updates to your customers. This documentation will help you set up Twilio SMS for your WP Eventin event website by integrating with WooCommerce. Since event tickets are managed by WooCommerce, Twilio needs to be integrated with WooCommerce to send SMS for ticket order details.
Required Plugins #
ShopMagic 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.
Setting up Twilio Account #
The first step is to set up SID and Auth Token. From your Dashboard, go to ShopMagic -> Settings -> Twilio. Here you will see the option to set up the following:
- Twillio Account SID
- Twilio Auth Token.
- Twilio Valid Phone Number
You can get this information by logging into your Twilio account details page.
Creating Automation to Send SMS #
Once you have set up your account, you are ready to automate your SMS service. From your dashboard, go to ShopMagic -> Automation -> Add New. Here is a short summary of the steps for setting up automation.
- Automation Name – Give your event a name that will help you understand what that event will do. (i.e WP Eventin – Ticket Sale Confirmation SMS)
- Event – Select an Event for which you want to trigger an action (i.e Order Complete)
- Filter (Optional) – If you wan to set a specific filter for specific type of customer,order,etc. (i.e Order Items that include Beef Burger)
- Action – Choose an action that you want to perform. In this case, we will choose Send SMS with Twilio.
1. Set Automation Name #
Give your event a name that will help you understand what that event will do. In this case, let’s set the name to WP Eventin – Ticket Sale Confirm SMS as an example.
2. Select Event #
Now you need to select an Event. Since this is Order Complete SMS, you can select Order Completed as the event to trigger an action for this example.
3. Add Filters (Optional) #
If you want to set a specific filter for a specific type of customer, order, etc. You can do that by adding a New Filter Group. Multiple filters can be added to one action.
4. Actions Triggered for Event #
Now select an action that will be triggered when your event occurs. Here you can choose from multiple options but for this purpose, select Send SMS with Twilio. Then you can fill up the Description, To, From and Message fields 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.
Use Cases for Twilio SMS Integration #
Now that you know the process of setting up, let’s go over some example use cases you can create for your event management website.
🔹 Send text messages for order status changes – With ShopMagic you are able to not only use standard WooCommerce order statuses but also custom ones e.g. Order Shipping.
🔹 Create automation for abandoned carts and recover them – Recovering 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.
🔹 Notify customers about their subscription status. ShopMagic 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 an end or after successful renewal.
You can visit ShopMagic Documentation for more info ➔