saleor / saleor-app-slack

saleor-app-slack-seven.vercel.app
Other
29 stars 1 forks source link

feat: add slack webhook #2

Closed krzysztofzuraw closed 2 years ago

krzysztofzuraw commented 2 years ago

Hello 👋🏻 This is my first PR to this repository. I wanted to add support for sending slack messages when new order is created in Saleor. This PR resolves two of TODOs from #1 (the first & the second one).

What are the changes

How to test this PR

  1. Prepare Slack app using this doc
  2. Clone this PR on your local dev machine
  3. Run pnpm i and pnpm run dev + saleor app tunnel afterwards. More on dev commands in Saleor docs
  4. Go to your Saleor dashboard - you should be able to see saleor-app-slack as third party app
  5. Paste your Slack webhook URL in the configuration field and save configuration
  6. Create an order e.g using Saleor dashboard
  7. See your message on Slack 🎉
krzysztofwolski commented 2 years ago

Was able to follow the instructions and successfully install app 🎉 image