Currently our team keeps a set of days in a table on Confluence for important dates. I was curious to know if there is a way to setup a slack bot that can obtain the most recent dates in table and send a reminder on slack about the date.
Hello @ashdoes46 !
If not using some 3-rd party plugins from Marketplace, you can use Confluence REST API for Data https://developer.atlassian.com/server/confluence/rest/v900/api-group-content-resource/#api-group-content-resource to get the page (content) body and extract the dates from that body string as you need. Each date will be stored as:
<time datetime="2024-08-01" />
So you can parse it as HTML (XML) and get these attributes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.