Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
/ slack-integration Public archive
generated from chec/integration-template

A simple Slack integration to post new order notifications

License

Notifications You must be signed in to change notification settings

chec/slack-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commerce.js Slack integration

A simple webhook-based Slack integration that posts new order notifications to a specified channel.

Docs: https://api.slack.com/messaging/webhooks

Configuration

This app posts a simple order notification message using the Slack webhooks API to a channel you specify. The parts that can be customised:

  • Text: the message that is posted, using handlebar style placeholders for order object values

Setup

  • You need to create a new app in Slack first: https://api.slack.com/apps?new_app=1. The name you use will be the name shown in Slack when new order notifications come in.
  • Go to the "Incoming Webhooks" tab, and activate it
  • Click "Add New Webhook to Workspace"
  • Choose the channel you want to post to and save
  • Copy the webhook URL and paste it into the Chec Dashboard's integration configuration screen

License

See license.

About

A simple Slack integration to post new order notifications

Resources

License

Stars

Watchers

Forks

Packages

No packages published