...
- Retrieve Slack History - An action that is invoked every 24 hours with OpenWhisk slack domain and a particular channel, retrieves a bunch of messages and user map. It than replaces user ID with name in all the slack messages and sends them to next action in sequence. For example:
Code Block | ||
---|---|---|
| ||
{ "type": "message", "user": "XYZ", "text": "Did my email about Slack made it to the dev list?", "ts": "1484957540.000002" }, | ||
Code Block | ||
---|---|---|
| ||
{ "type": "message", "user": "bob", "text": "Did my email about Slack made it to the dev list?", "ts": "1484957540.000002" }, |
...