Flow Automation: Triggering Workflows When a Selling Plan Is Updated
You can use the Updated selling plan trigger in Flow Automation to automatically start a workflow when a selling plan is updated in the Subscription app.
A selling plan is a purchase option configured for subscription products that defines eligible products, delivery frequencies, and subscription discounts. When you adjust a subscription discount, change a delivery frequency, or add or remove eligible products, this trigger can automatically notify relevant team members, helping them stay informed of the latest selling plan settings and provide accurate information to customers.
This guide explains the actions supported by this trigger and how to test the workflow. It also provides a practical workflow example.
Notes:
|
Supported Actions
The following actions are primarily used in workflows initiated by the Updated selling plan trigger:
- [General] Send email
- [Subscription] Find subscription plans
- [General] Update counter
- [General] For each loop (iterate)
Testing the Workflow
To verify that the workflow is successfully triggered when a selling plan is updated, follow these steps:
- In Flow Automation, create a workflow using the Updated selling plan trigger and the Send email action. Set Recipient to your own email address, insert the selling plan name or ID variable in Content, and click Publish.
From your SHOPLINE Admin, open the Subscription app, go to Selling plans, and open a selling plan created for testing.
Modify the selling plan's settings, such as adding an eligible product or changing the number of subscription cycles, and save your changes.
Note: Use a selling plan created specifically for testing to avoid affecting subscription options currently available to customers. After saving your changes, return to Flow Automation to check the workflow execution results. Confirm that the notification email you received contains the updated selling plan's name or ID.
Note: For more information on how to monitor the execution of your workflows, refer to the "How to View the Running of a Flow" section in the "Introduction to Flow Automation" guide.
Example Use Case
The following example demonstrates how to use the Updated selling plan trigger to automatically notify your customer service team of selling plan updates.
Scenario: Your operations team periodically adjusts subscription discounts, delivery frequencies, or eligible products based on your sales strategy. To prevent your customer service team from providing outdated subscription information, you want the workflow to notify them whenever a selling plan is updated, prompting them to review the latest settings.
Configure the workflow as follows:
- Trigger: Updated selling plan
- Action: Send email
- Subject: Selling Plan Updated: [Selling plan name]
- Content: The settings for the selling plan "[Selling plan name]" (ID: [Selling plan ID]) have been updated. Changes may include subscription discounts, delivery frequencies, or eligible products. Go to Subscription > Selling plans in your SHOPLINE Admin to review the latest settings and ensure your responses to customer inquiries reflect the updated information.
- Recipient: Your customer service team's email address.
Result: Each time a selling plan is updated, the workflow automatically sends a notification email to your customer service team, prompting them to review the latest settings. This helps ensure that customers receive accurate and up-to-date subscription information.
Notes:
|