[GO SUB TIPS] How to receive notifications when the contract information is changed from the customer account
SHOPIFY subscription app GOSUB GO RIDE that offers!
This time, it is about notification to the store when the subscription contract is changed. Set the notification using Shopify Flow.
We will explain the detailed procedure, so please check the merchant who is using GO SUB!
What is gosub? What functions do you have? Please request materials from the following buttons.
This article is also recommended!
Go Sub Flow Trigger
The FLOW trigger prepared by Go Sub is as follows.
When you cancel the contract
When you change the subscription plan
When you change the status of the subscription
When the customer changes the delivery date and time
When you add, delete, or change subscription products
When the second and subsequent subscription orders are created
When the payment of the subscription contract fails
When the payment of the subscription contract is successful
When an email regarding the next order is sent to the customer
In this article, I will explain "When a customer has changed, added, and deleted a subscription product (Customer Changes, Adds, or Deletes a Contract Product/Variant)".
If you are allowed to add product changes by yourself, please set it.
Create a new Flow
If you do not have a flow app yet, install it because it is an official free app!
First, let's give an easy -to -understand name.
Select a trigger
Select Go Sub from the trigger, then select "Customer Changes, Adds, or Deletes a Contract Product/Variant".
Set the action (Internal Mail)
Next, add the action.
Press " +" to the right of theen, then click "Action".
SHOPIFY FLOW has a variety of actions, but this time we select Internal Mail (internal mail) and set to send notifications to any email address.
Search for "Internal Mail" from the search box, or add "Send Internal Mail" from Flow and add action.
Internal Mail content setting
This time, the contents of the notification email are set as follows.
[Email Address]
Set your management email address (what you can check yourself).
[Subject]
Specify the subject. I think it would be better to add a subject that would be easy to manage later, such as email filters and labeling.
This example is
[GOSUB change notification] Customers have changed the product ({{productChangeType}})
And
{{productChangeType}}
The part is called a variable, reflecting the contents of the GOSUB change. There are three types below.
added
delete
change
[Message]
Specify the email body. We use variables inserted in the subject.
You can use it as it is, and please change the content of the email by your favorite.
Contract id:{{contractId}}
Customer name: {{customer.displayName}}
Change type:{{productChangeType}}
Variant ID:{{variantIDs}}
quantity:{{quantity}}
{% assign shopName = shop.myshopifyDomain | replace: ".myshopify.com", ""%}
https://admin.shopify.com/store/{{shopName}}/APPS/LOCAL-SUBScription-Dev/Subscription-Contracts/{{contractId}}
Information about customers
Contract id:{{contractId}} → GO SUB contract ID is displayed
Customer name: {{customer.displayName}} → The name of the customer registered in SHOPIFY is displayed.
Information about contract change
Change type:{{productChangeType}} → The change type described in the subject of the preceding paragraph is displayed.
Variant ID:{{variantIDs}} → The product variant ID is displayed. You can search from product information with this ID.
quantity:{{quantity}} → The changed quantity is displayed.
Link to GOSUB contract information
-
{% assign shopName = shop.myshopifyDomain | replace: ".myshopify.com", ""%}
The store management screen ID is set for the variable shopname.
-
https://admin.shopify.com/store/{{shopName}}/APPS/LOCAL-SUBScription-Dev/Subscription-Contracts/{{contractId}}
In order to create a link to the GOSUB contract information, link the SHOPNAME set in the above line to Admin.shopify.com/store.
The contract ID is linked to Apps/Local-Subscription-Dev/subScription-contracts so that it can be transitioned directly from the email to the GOSUB contract information page.
Turn on the workflow and finish
When all the settings are completed, turn on the workflow and finish.
Inbox sample
The emails that have been set as described above and actually received are as follows.
Please change the text and subjects to your favorite settings for internal email and use for management.
summary
This time, I explained the email notification setting to the management side at the time of the customer account.
Basic notifications (such as contract starts, cancellations, etc.) are provided in the basic settings of GOSUB.
Please check the notification email to the help page store.
https://goriderep.com/pages/gosub-help-settings-notification#notify-shop
We will continue to distribute GOSUB -related information as tips in the future, so please look forward to it!
If you have any problems with the operation method of Go Sub or the operation of SHOPIFY, please contact Go Ride!
[About gosub]
Click here if you want to know more about gosub
Click here for GOSUB's help page
We are updating articles every day about new features and how to use GOSUB!