Here is what I have created. It now can report every sale in the Slack channel. But I also want it reports the variant's inventory number in the same report message.
for example, the original report message is:
#155555, Tom Hanks ,32.2美金,United States,
( PP3 ) T-shirts Tom,
Link to order: https://dskhfjsk.myshopify.com/admin/orders/264502398409284092
What I want to achieve:
#155555, Tom Hanks ,32.2美金,United States,
( PP3 ) T-shirts Tom, this item now has XXX units left.
Link to order: https://dskhfjsk.myshopify.com/admin/orders/264502398409284092