Figured it out. Given the timestamp and the channel, I was able to manually find the message in the channel history and extract the data I needed.
function getTaskID(channel_id, timestamp, callback) { slack.api("channels.history", { channel: channel_id, latest: timestamp, count: 1, inclusive: 1 }, function(err, response) {
source share