This package provides you with a simple webhook provider that allows you to create webhooks urls dynamically and observe activities on webhook based on path in real time. Furthermore, you can update the slack path to send message into your own slack channel for each AEM Assets event update.
Please refer to AEM Set up Documentation
$ npm install
$ npm start
$ cd webhooks-provider
$ heroku login
$ heroku create
$ git push heroku master
$ heroku open
- Establish connection using the following steps:
- Create a webhook with custom name e.g. "hello" and click on Connect.
- A webhook will be created at http://localhost:8080/webhook/hello (local) or http://yourappname.herokuapp.com/webhook/hello (Heroku)
- Open the Adobe I/O Console
- Go back to the Integration click Events->Add Webhook and use this new webhook URL e.g. (http://yourappname.herokuapp.com/webhook/hello)
- Webhook will start listening the events from AEM. You should be able to see your AEM Asset Event updates posted here
- Set up an Incoming Webhooks for your team: https://api.slack.com/incoming-webhooks
- Update the slackWebhook and slackChannel variable in public/javascripts/app.js to the link and channel that you just set up
- You should be able to see slack updates now
- Sarah Xu @sarahxxu.
- Arjun Raj @rajarju.
- Hiren Shah @hirenoble.