SimpleTexting provides SMS, MMS, and text marketing services. With this integration, you can link your SimpleTexting account to Bold Subscriptions using webhooks and set up triggers for event based text message campaigns such as new subscriber offers, win-back campaigns, and more.
With SimpleTexting you can:
- Get a number for your business for toll-free texting and short codes
- Enable 2-way messaging to improve customer satisfaction
- Send and schedule mass text messages
- Collect phone numbers or message existing ones
- Enable texting for teams
For detailed information on all the features SimpleTexting provides, please visit SimpleTexting Features.
Alert: This is a technical integration. It is recommended to have your own developer as it requires knowledge in the use of APIs and webhooks.
Pricing
Simple texting has different levels of price plans available depending on the amount of messages you wish to send per month. There is a 14 day free trial available for new members.
For the most current information on the price plans available, please visit SimpleTexting Pricing.
Requirements
- Subscriptions for Shopify Checkout installed and set up.
- An account on Bold Account Center. Please visit Create & Connect a Bold Account.
- An API access token. Please visit Create an API Access Token in Bold Account Center.
- An account with SimpleTexting.
- Recipes enabled for Bold Subscriptions in SimpleTexting. Please email the support team at SimpleTexting at edith@simpletexting.net to let them know you would like to have them enable recipes for Bold Subscriptions.
Setup
- Log in, or create an account in Bold Account Center.
Note: For more information on creating your account, please visit Create & Connect a Bold Account.
- Select API access tokens.
- Select Create API access token.
- Enter a name for your API key.
- Ensure the scopes appear as they do in the screenshot below.
- Select Create.
Note: You are now be provided with the Shared Secret and API access token. This API access token disappears once the dialogue box closes. Save this information in a secure location.
- Get your shop identifier and Bold shop ID by following the Bold Commerce Developer Documentation.
Note: The bearer token is your API secret as saved above.
- Review Bold's webhooks and decide which you'd like to subscribe to here: Webhook topics.
Note: Webhook topic numbers can be found in the response sample. Some helpful ones are:
New Subscription - offer subscriber texts and offers: webhook_topic_id = 1
New Subscription order created - send out confirmation order texts: webhook_topic_id = 3
Upcoming Subscription Reminders: webhook_topic_id = 9
Transaction failed: webhook_topic_id = 6
Cancelled subscription- create customer buy-back subscription texts: webhook_topic_id = 12 - Login to your SimpleTexting account.
- From your SimpleTexting dashboard, navigate to the Integrations > Custom Integration > View Recipes.
- Create a project or use Home Assets.
- Select Start guided setup on the right. Once you create an event name, you are provided you with a webhook URL.
- Subscribe to the Bold webhook of your choice. You can do this on Postman or REQBIN.
Example
The payload to POST to is in raw JSON format:
- shop_id is the id from your first request to get your shop information.
- Callback_url is the provided URL from SimpleTexting
- The shared_secret was provided on your initial creation within the Bold Account Center in step 6 above.
- webhook_topic_id is the webhook topic you want to subscribe to. The list of options here were provided in step 8 above.
For specific flows, the topics correlate with the number below:
- New subscriber texts and offers: webhook_topic_id = 1
- New order texts: webhook_topic_id = 3
- Upcoming Subscription Reminders: webhook_topic_id = 9
- Order failed texts: webhook_topic_id = 6
- Customer buy-back subscription texts: webhook_topic_id = 12
Testing
Once your integration and webhooks are ready, you can test it out by triggering a webhook. For example, if you are using webhook_topic_id: 1 (subscription created), you can create a new subscription for yourself to see if it's triggered in the SimpleTexting setup.
Helpful links
Example recipes
New subscriber text message
This example shows you how to set up a recipe to send a text message to your customer once they purchase a subscription.
To complete these steps, you will need:
- Your API Access Token and Shared Secret as shown in the Setup above.
- Access to Postman.
Once you are ready, please follow the steps below.
Step 1: Start Guided Setup
- Log into your SimpleTexting account.
- Select Integrations > Custom Integrations.
- Select View recipes.
- Select Create project.
- Enter a Name and a Description.
- Select Create recipe.
- Enter a Name and select a project Location for your recipe.
Note: This is the project location that was just created.
- Select Trigger from a webhook.
- Select Start building.
- Select Start guided setup.
- Enter your Event name.
Step 2: Register the Webhook
- Open Postman.
- From within your Workspace, go to APIs.
- Select the + sign above My Workspace to create a new request.
- Select the Authorization tab.
- In the dropdown menu next to Type, select Bearer Token.
- Enter your API access token in the Token field.
- Next to GET, in the Enter request URL field, enter: https://api.boldcommerce.com/shops/v1/info
Note: This can be found in our developer documentation here.
- Select Send.
Note: Save your shop_identifier number from the text that appears below, as it will be needed again.
- Paste the following link in the field next to GET: https://api.boldcommerce.com/subscriptions/v1/shops/{shop_identifier}/webhooks/topics
Note: This can be found in our developer documentation here.
- Replace the text: {shop_identifier} in the above link with your shop identifier number.
- Select Send.
- Paste the following endpoint: https://api.boldcommerce.com/subscriptions/v1/shops/{shopIdentifier}/webhooks/subscriptions next to GET, but replace the text {shop_identifier} with your shop_identifier number.
Note: This can be found in our developer documentation here.
- Switch your workspace to Body, select raw, and in the Text dropdown select, JSON.
- Using the dropdown menu, change GET to POST.
- Paste the following code in the window below:
{ "webhook_subscription": { "callback_url": "https://webhooks.example.com", "webhook_topic_id": 4, "shared_secret": "exMh194qw8JD@A50dA^P" } }
Note: This can be found in our developer documentation here.
- Return to SimpleTexting and copy the Workato webhook address.
- Navigate back to Postman and place the Workato webhook address inside the quotes of the callback_url, change the webhook_topic_id to number 1, and paste in your own shared secret.
- Select Send.
Note: The registration is successful if the message 200 Success appears.
- Navigate back to your page in SimpleTexting, select Next.
- Navigate to your store and place a test order.
- Navigate back to SimpleTexting to confirm your event has been received.
- Select Setup Webhook.
Step 3: Build Your Recipe
- Select the plus sign.
- Select Action in an app.
- From the right side of the page, select SimpleTexting.
- Under Choose an action, scroll to the bottom and select Send SMS.
- Select SimpleTexting connection.
- Place your cursor in the Phone field. The Recipe data menu will pop up on the left.
- Within the Recipe data menu, scroll down to Shipping address and expand the menu by selecting the arrow. Select Phone.
- In the Message field, enter the message you would like to send to your new subscriber.
- Select the plus sign in the left window.
- Select Stop job.
- Select Save.
- Select Exit.
- Select Start recipe.
Step 4: Test
Go to your store and create a new test subscription using your own phone number in the shipping address to confirm the recipe works.
Based on the example setup, you can see the message that was received when our test subscription order was created.
Example
Reactivate a paused subscription
This example shows you how set up a flow to send a text message to a customer who has paused their subscription, along with an offer to reactivate.
This example requires two recipes. The first will send the message once the subscription is paused. The second will listen to the input from the customer and if received, send an API call to Bold Subscriptions to reactivate the subscription.
To complete these steps, you will need:
- Your API Access Token and Shared Secret as shown in the Setup above.
- Access to Postman.
- An active test subscription on your store with your phone number in the shipping address, phone number field.
Once you are ready, please follow the steps below.
Step 1: Create a Custom Field
- Log into your SimpleTexting account.
- From the left menu, select Contacts > Custom fields.
- Select New Custom field.
- Using the dropdown under Type, select Text.
- Enter Subscription ID in the Name field.
- Select Create.
Step 2: Create an HTTP Connection
- Log into your SimpleTexting account.
- From your SimpleTexting home page, select Integrations > Custom integrations > View recipes.
- Choose a Connection name and Location for your HTTP connection.
- Select Create connection.
- Search for and select HTTP.
- In the Authentication type field, use the dropdown to select Header auth.
- In the Header authorization field, enter Authorization: Bearer and enter your API access token.
- Select Connect.
Step 3: Start Building Your First Recipe
- From your SimpleTexting home page, select Integrations > Custom Integrations.
- Select View recipes.
- Select the project Example Flows.
Note: This is the project created in the last example. If you like, you can add it to a different project.
- Select Create recipe.
- Enter a Name and select a project Location for your recipe.
Note: This is the same project location that was created in the last example.
- Select Trigger from a webhook.
- Select Start building.
- Select Start guided setup.
- Enter your Event name.
Step 4: Register the Webhook
- Open Postman.
- From within your Workspace, go to APIs.
- Select the + sign above My Workspace to create a new request.
- Select the Authorization tab.
- In the dropdown menu next to Type, select Bearer Token.
- Enter your API access token in the Token field.
- Next to GET, in the Enter request URL field, enter: https://api.boldcommerce.com/shops/v1/info
Note: This can be found in our developer documentation here.
- Select Send.
Note: Save your shop_identifier number from the text that appears below, as it will be needed again.
- Paste the following link in the field next to GET: https://api.boldcommerce.com/subscriptions/v1/shops/{shop_identifier}/webhooks/topics
Note: This can be found in our developer documentation here.
- Replace the text: {shop_identifier} in the above link with your shop identifier number.
- Select Send.
- Paste the endpoint: https://api.boldcommerce.com/subscriptions/v1/shops/{shopIdentifier}/webhooks/subscriptions next to GET, but replace the text {shop_identifier} with your shop_identifier number.
Note: This endpoint can be found in our developer documentation here.
- Switch your workspace to Body, select raw, and in the Text dropdown select, JSON.
- Using the dropdown menu, change GET to POST.
- Paste the following code in the window below:
{ "webhook_subscription": { "callback_url": "https://webhooks.example.com", "webhook_topic_id": 4, "shared_secret": "exMh194qw8JD@A50dA^P" } }
Note: This can be found in our developer documentation here.
- Return to SimpleTexting and copy the Workato webhook address.
- Navigate back to Postman and place the Workato webhook address inside the quotes of the callback_url, change the webhook_topic_id to number 13, and paste in your own shared secret.
- Select Send.
Note: The registration is successful if the message 200 Success appears.
- Navigate back to your page in SimpleTexting, select Next.
- Navigate to your store and pause your test subscription order.
- Navigate back to SimpleTexting to confirm your event has been received.
- Select Setup Webhook.
Step 5: Build your flow
- In your recipe window, select the plus sign.
- Select Action in an app.
- Select SimpleTexting on the right side of the page.
- Under Choose an action, scroll to the bottom and select Send SMS.
- Select SimpleTexting connection.
- Place your cursor in the Phone field. The Recipe data menu will pop up on the left.
- Within the Recipe data menu, scroll down to Shipping address and expand the menu by selecting the arrow. Select Phone.
- In the Message field, enter the message you would like to send to your subscriber.
- Select the plus sign.
- Select Action in an app.
- Select SimpleTexting on the right side of the page.
- Select Create/Update Contact.
- Place your cursor in the Contact phone field and from the Recipe data menu, select New event via webhook.
- Scroll down to Shipping address and expand the menu by selecting the arrow. Select Phone.
- In the comment field, enter true.
- Select + 1 optional field.
- Select Subscription ID and then Apply changes.
- Under Custom fields, select Show.
- Place your cursor in the field under Subscription ID.
- In the Recipe data menu, scroll down to Payload and select ID.
- Select the plus sign.
- Select Stop job.
- Select Save.
- Select Exit.
- Select Start recipe.
Step 6: Start Building Your Second Recipe
- From the home page select Integrations > Custom Integrations > View recipes.
- Select the project Example Flows.
Note: This project location was created in the last example.
- Select Create recipe.
- Enter a Name and select a project Location for your recipe.
Note: The name Call Bold API was selected as this flow will be listening for the input from the customer and use Bold’s API to reactivate the subscription.
- Select Trigger from an app.
- Select Start building.
- On the right, select SimpleTexting.
- Select Get Messages.
- Select SimpleTexting connection.
- Select the dropdown under Trigger and select Incoming Message.
- Select OK.
- On the left side of your workspace, select the plus sign under Actions.
- Select Action in an app.
- On the right side of your workspace, select SimpleTexting.
- Scroll down and select Get a contact.
- Place your cursor inside the Contact phone field. Within the Recipe data menu, under Message, select Contact phone.
- On the left side of your workspace, select the plus sign.
- Select IF condition.
- On the right side of your workspace, place your cursor in the Data field.
- In the Recipe data menu select Get a Contact, then under Custom fields select Comment.
- Select the dropdown under Condition, and select equals.
- In the Value field, enter true.
- On the left side of your workspace, hover over Select app and action to do when condition is met until the ellipsis appears. Select Delete.
- Hover your cursor underneath Yes, and select the plus sign.
- Select IF condition.
- On the right side of your workspace place your cursor in the Data field.
- In the Recipe data menu select Get Messages, then select Text.
- Select the dropdown in the Condition field and select equals.
- Under Value, select Formula and enter "1".to_s
Note: This changes the integer to a string in Ruby.
- On the left side of your workspace, select Select app and action to do when condition is met.
- On the right side of your workspace, select HTTP.
Note: If you do not see the HTTP option, you can use the search bar to find it.
- Select My HTTP account.
- Select setup manually.
- Under Request, change the Method from GET to POST.
- In the Request URL field enter the API endpoint: https://api.boldcommerce.com/subscriptions/v1/shops/{shop_identifier}/subscriptions/{subscription_id}/activate
Note: This can be found our developer documents.
- Replace the {shop_identifier} with your own shop identifier number.
- Remove {subscription_id} but leave your cursor placed in the area.
- In the Recipe data menu, scroll down to Custom fields and select Subscription ID.
- On the left side of your workspace, select the plus sign and then Stop job.
- Select the plus sign once more, and then select Stop job again.
- Select Save and Exit.
- Select Start recipe.
Step 7: Test
Go to your store and pause your test subscription to confirm the recipe works. Once you receive the text message, you will need to reply 1 to reactivate your subscription. Check your customer profile to confirm the subscription was reactivated.
Based on the example setup, you can see the message that was received when our test subscription was paused. This successfully reactivated our test subscription.
Example