When a new order is placed, or an existing order is canceled on your Shopify store, you need to send an automated notification to a designated Slack channel and an email. This immediate alert lets your team quickly acknowledge and process orders, reducing the risk of delays or oversights.
Follow these steps to achieve the desired outcome:
A Slack subscription
1Clone the choreo-examples repository.
2Set up Shopify
3Set up Slack
4Deploy the integration in Choreo
Github account | <your_github_account> |
Github repository | choreo-examples |
Branch | main |
Build preset | Ballerina |
Project path | /integrations/ballerina/shopify-slack-order-notification-service |
5Create a Shopify webhook
The following cURL can be used to create a webhook for the orders/create topic. (Replace the parameters highlighted in red with suitable values.)
curl -d
'{"webhook":{"address":"{invoke_url}:topicName","topic":"orders/create","format":"json"}}' \
-X POST "https://{developer_store_url}/admin/api/2023-04/webhooks.json" \
-H "X-Shopify-Access-Token: {access_token}" \
-H "Content-Type: application/json"
Use a similar cURL to create a webhook for the orders/cancelled topic.
6Test the integration
Congratulations, you have successfully developed, deployed, and tested your Shopify, Slack, and email integration in a matter of minutes.
Follow this step-by-step guide for more information.
With Choreo, the synergy between Shopify, Slack, and email transforms into a powerhouse of efficiency and collaboration. Elevate your ecommerce operations and enhance team communication – all with Choreo's intuitive integration solution.
Ready to streamline your ecommerce game? Explore Choreo for Integration today and experience the future of synchronized communication and dynamic collaboration.
Get Started Free