slack.getMessagePermalink returns a durable Slack URL for a message.
Example
automations/get-message-permalink.automation.ts
Inputs
Output
Returns the normalizedconversationId and permalink URL.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get Slack’s permanent URL for a message.
slack.getMessagePermalink returns a durable Slack URL for a message.
import { automation, onDashboardRun } from "automate.ax"
import { slack } from "automate.ax/slack"
export default automation("Get message permalink", () => {
onDashboardRun({ title: "Get message permalink" })
slack.getMessagePermalink({
conversationId: "C01234567",
timestamp: "1700000000.000001",
})
})
| Input | Type | Required | Description |
|---|---|---|---|
conversationId | string | Yes | Conversation containing the message. |
timestamp | string | Yes | Slack message timestamp. |
conversationId and permalink URL.