Sign in to Community
Sign in to view all badges
I'm testing a use case where I could post some message on slack using adobe I/o headless app.
I'm wondering what feature to use and how to set it up? to consume the events from slack
"from slack help"
Your app can subscribe to be notified of events in Slack (for example, when a user adds a reaction or creates a file) at a URL you choose
I need to enter a requestURL in slack config, how do I generate this url within adobe I/o?
any pointers would be great.
@Anil_Umachigi - do you work with your app using AIO CLI? If not, our recommendation is to go with it, and this documentation portal would be useful to get started: https://www.adobe.io/apis/experienceplatform/project-firefly/docs.html.
Specifically, what you need as a request URL for slack is a web action in I/O Runtime. More details at: https://github.com/AdobeDocs/adobeio-runtime/blob/master/guides/creating_actions.md#invoking-web-act....
From the action, you can make calls to any URL (such as slack post message) using HTTP client libraries such as node-fetch.
Quick update, I was able to create the webhook (although would be great to get some pointers to documentation)
I can now find it under same runtime "namespace" under default package.
The headless app is under the same runtime, wondering how will the actions within the headless app use the incoming events to trigger the script (to post back on slack channel)