Get Order Count And Send To Jsonbin.io in Shopify by Using Arigato Automation
This automation will get the current daily order count and save it as a JSON object, served from JSONbin.io
Download Complete
You can now import the ".arigato" workflow file you downloaded into the app.
- Open the Arigato Automation app in your Shopify admin.
- Visit the "Import & Export" page within the app.
- Scroll to bottom and upload your file to import the workflow.
This automation is fired on-demand or every time an order is placed. The workflow fetches orders raised on the current day and generates a JSON object with the value formatted as {"count":1}. The automation then sends the JSON object to your JSON bin URL and saves the value as the latest copy.
Using this automation, you can easily serve your Shopify data to third-party services that consume JSON objects which are not readily available within Shopify. This article on Serving JSON pages via JSONbin.io is a good place to get started with the automation.
