Source Functions
Populate dropdown options
{
"name": "slack-post-message",
"description": "Post a message in a channel",
"parameters": {
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "The channel to send the message in. Call `slack-list-conversations` to get the available values."
},
"attachments": {
"type": "string",
"description": "A JSON-based array of structured attachments, presented as a URL-encoded string."
},
"blocks": {
"type": "array",
"description": "A JSON-based array of structured blocks, presented as a URL-encoded string.",
"items": {
"type": "string"
}
},
"text": {
"type": "string",
"description": "The content of the message."
},
"as_user": {
"type": "boolean",
"description": "(Legacy) Pass true to post the message as the authed user instead of as a bot. Defaults to false. Can only be used by classic apps."
},
"icon_emoji": {
"type": "string",
"description": "Emoji to use as the icon for this message. Overrides icon_url."
},
"icon_url": {
"type": "string",
"description": "URL to an image to use as the icon for this message."
},
"link_names": {
"type": "boolean",
"description": "Find and link user groups. No longer supports linking individual users; use syntax shown in Mentioning Users instead."
},
"metadata": {
"type": "string",
"description": "JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace."
},
"mrkdwn": {
"type": "boolean",
"description": "Disable Slack markup parsing by setting to false. Enabled by default."
},
"parse": {
"type": "string",
"description": "Change how messages are treated."
},
"reply_broadcast": {
"type": "boolean",
"description": "Used in conjunction with thread_ts and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to false."
},
"thread_ts": {
"type": "string",
"description": "Provide another message's ts value to make this message a reply. Avoid using a reply's ts value; use its parent instead."
},
"unfurl_links": {
"type": "boolean",
"description": "Pass true to enable unfurling of primarily text-based content."
},
"unfurl_media": {
"type": "boolean",
"description": "Pass false to disable unfurling of media content."
},
"username": {
"type": "string",
"description": "Set your bot's user name."
}
},
"required": [
"channel",
"text"
]
}
}Fetch custom fields
Call a source function
List all source functions
Last updated
Was this helpful?