Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

feat(slack): ui improvement (#16405)

Talal Jaber911e6e1ff52f
diff --git a/bun.lock b/bun.lock
index fdc2932d2b1..08f7c2f14d2 100644
--- a/bun.lock
+++ b/bun.lock
@@ -8496,7 +8496,7 @@
},
"packages/pieces/community/slack": {
"name": "@activepieces/piece-slack",
- "version": "0.21.1",
+ "version": "0.22.0",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/community/slack/package.json b/packages/pieces/community/slack/package.json
index 78689a5e16f..aabd4b04776 100644
--- a/packages/pieces/community/slack/package.json
+++ b/packages/pieces/community/slack/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-slack",
- "version": "0.21.1",
+ "version": "0.22.0",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"dependencies": {
diff --git a/packages/pieces/community/slack/src/i18n/de.json b/packages/pieces/community/slack/src/i18n/de.json
index 12b45ed2316..d452deaadf6 100644
--- a/packages/pieces/community/slack/src/i18n/de.json
+++ b/packages/pieces/community/slack/src/i18n/de.json
@@ -401,5 +401,6 @@
"This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).": "This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).",
"Submit fires on send, Close fires when the modal is dismissed.": "Submit fires on send, Close fires when the modal is dismissed.",
"View Submission": "Einreichung anzeigen",
- "View Closed": "Ansicht geschlossen"
+ "View Closed": "Ansicht geschlossen",
+ "Empty fields keep their current value.": "Leere Felder behalten ihren aktuellen Wert."
}
\ No newline at end of file
diff --git a/packages/pieces/community/slack/src/i18n/es.json b/packages/pieces/community/slack/src/i18n/es.json
index 9fa39d0f90f..bee49207d54 100644
--- a/packages/pieces/community/slack/src/i18n/es.json
+++ b/packages/pieces/community/slack/src/i18n/es.json
@@ -401,5 +401,6 @@
"This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).": "This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).",
"Submit fires on send, Close fires when the modal is dismissed.": "Submit fires on send, Close fires when the modal is dismissed.",
"View Submission": "Ver envío",
- "View Closed": "Ver cerrados"
+ "View Closed": "Ver cerrados",
+ "Empty fields keep their current value.": "Los campos vacíos conservan su valor actual."
}
\ No newline at end of file
diff --git a/packages/pieces/community/slack/src/i18n/fr.json b/packages/pieces/community/slack/src/i18n/fr.json
index 9c6b2d2b3da..6e7cbf48bcc 100644
--- a/packages/pieces/community/slack/src/i18n/fr.json
+++ b/packages/pieces/community/slack/src/i18n/fr.json
@@ -401,5 +401,6 @@
"This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).": "This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).",
"Submit fires on send, Close fires when the modal is dismissed.": "Submit fires on send, Close fires when the modal is dismissed.",
"View Submission": "Voir la soumission",
- "View Closed": "Vue fermée"
+ "View Closed": "Vue fermée",
+ "Empty fields keep their current value.": "Les champs vides conservent leur valeur actuelle."
}
\ No newline at end of file
diff --git a/packages/pieces/community/slack/src/i18n/ja.json b/packages/pieces/community/slack/src/i18n/ja.json
index 2bb4d7b94b2..05945fb3ba5 100644
--- a/packages/pieces/community/slack/src/i18n/ja.json
+++ b/packages/pieces/community/slack/src/i18n/ja.json
@@ -401,5 +401,6 @@
"This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).": "セルフホスト環境では、このトリガーがイベントを受け取れるように、Slackの「Interactivity & Shortcuts」のRequest URLを手動で設定しておく必要があります。[設定ガイド](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack)をご覧ください。",
"Submit fires on send, Close fires when the modal is dismissed.": "Submit fires on send, Close fires when the modal is dismissed.",
"View Submission": "モーダルの送信",
- "View Closed": "モーダルのクローズ"
+ "View Closed": "モーダルのクローズ",
+ "Empty fields keep their current value.": "空欄のフィールドは現在の値のままです。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/slack/src/i18n/nl.json b/packages/pieces/community/slack/src/i18n/nl.json
index e32650ed9da..1bdd155bc11 100644
--- a/packages/pieces/community/slack/src/i18n/nl.json
+++ b/packages/pieces/community/slack/src/i18n/nl.json
@@ -401,5 +401,6 @@
"This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).": "This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).",
"Submit fires on send, Close fires when the modal is dismissed.": "Submit fires on send, Close fires when the modal is dismissed.",
"View Submission": "Inzending bekijken",
- "View Closed": "Weergave gesloten"
+ "View Closed": "Weergave gesloten",
+ "Empty fields keep their current value.": "Lege velden behouden hun huidige waarde."
}
\ No newline at end of file
diff --git a/packages/pieces/community/slack/src/i18n/pt.json b/packages/pieces/community/slack/src/i18n/pt.json
index b9e8f64e526..2abd13846a2 100644
--- a/packages/pieces/community/slack/src/i18n/pt.json
+++ b/packages/pieces/community/slack/src/i18n/pt.json
@@ -401,5 +401,6 @@
"This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).": "This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).",
"Submit fires on send, Close fires when the modal is dismissed.": "Submit fires on send, Close fires when the modal is dismissed.",
"View Submission": "Visualizar envio",
- "View Closed": "Ver Fechado"
+ "View Closed": "Ver Fechado",
+ "Empty fields keep their current value.": "Campos vazios mantêm o valor atual."
}
\ No newline at end of file
diff --git a/packages/pieces/community/slack/src/i18n/ru.json b/packages/pieces/community/slack/src/i18n/ru.json
index 0c61c01bd13..d90e99da6ce 100644
--- a/packages/pieces/community/slack/src/i18n/ru.json
+++ b/packages/pieces/community/slack/src/i18n/ru.json
@@ -160,5 +160,6 @@
"If no channel is selected, the flow will be triggered for username mentions in all channels": "Если канал не выбран, поток будет срабатывать для упоминания имени пользователя во всех каналах",
"Select emojis to trigger on": "Выберите emojis для запуска",
"List of valid commands that the bot should respond to (e.g., help, ocr, remind)": "Список допустимых команд, которые бот должен отвечать (например, help, ocr, remind)",
- "If no channel is selected, the flow will be triggered for commands in all channels": "Если канал не выбран, поток будет срабатывать для команд во всех каналах"
+ "If no channel is selected, the flow will be triggered for commands in all channels": "Если канал не выбран, поток будет срабатывать для команд во всех каналах",
+ "Empty fields keep their current value.": "Пустые поля сохраняют текущее значение."
}
diff --git a/packages/pieces/community/slack/src/i18n/translation.json b/packages/pieces/community/slack/src/i18n/translation.json
index 3d7eae48a2d..fa3edbdd879 100644
--- a/packages/pieces/community/slack/src/i18n/translation.json
+++ b/packages/pieces/community/slack/src/i18n/translation.json
@@ -249,6 +249,7 @@
"Slack mrkdwn is supported. Empty updates blocks only.": "Slack mrkdwn is supported. Empty updates blocks only.",
"Lowercase letters, numbers, dashes and underscores only.": "Lowercase letters, numbers, dashes and underscores only.",
"Only invited members can see and join it.": "Only invited members can see and join it.",
+ "Empty fields keep their current value.": "Empty fields keep their current value.",
"Slack notifies both the old and new address.": "Slack notifies both the old and new address.",
"Admins on paid plans only. Empty updates the connected user.": "Admins on paid plans only. Empty updates the connected user.",
"Unix timestamp; only later messages are returned.": "Unix timestamp; only later messages are returned.",
diff --git a/packages/pieces/community/slack/src/i18n/zh.json b/packages/pieces/community/slack/src/i18n/zh.json
index 17cd1b15d70..ba2227bd420 100644
--- a/packages/pieces/community/slack/src/i18n/zh.json
+++ b/packages/pieces/community/slack/src/i18n/zh.json
@@ -401,5 +401,6 @@
"This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).": "This trigger needs Slack's Interactivity & Shortcuts Request URL manually configured on self-hosted instances before it will receive events, see the [setup guide](https://www.activepieces.com/docs/install/configure-operate/setup-app-webhooks#slack).",
"Submit fires on send, Close fires when the modal is dismissed.": "Submit fires on send, Close fires when the modal is dismissed.",
"View Submission": "View Submission",
- "View Closed": "View Closed"
+ "View Closed": "View Closed",
+ "Empty fields keep their current value.": "留空的字段保留当前值。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/slack/src/lib/actions/add-reaction-to-message.ts b/packages/pieces/community/slack/src/lib/actions/add-reaction-to-message.ts
index cb0e7f6532f..a670774d2f3 100644
--- a/packages/pieces/community/slack/src/lib/actions/add-reaction-to-message.ts
+++ b/packages/pieces/community/slack/src/lib/actions/add-reaction-to-message.ts
@@ -20,6 +20,29 @@ export const addRectionToMessageAction = createAction({
audience: 'human',
aiMetadata: { description: 'Add an emoji reaction to a specific message identified by its channel and timestamp, optionally reacting as the authenticated user instead of the bot. Adding the same reaction twice has no extra effect (Slack returns an already-reacted error), so the end state is stable. Provide the emoji name without colons, e.g. thumbsup.', idempotent: true },
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['ts'],
+ },
+ {
+ key: 'reaction_emoji',
+ display: 'section',
+ label: 'Reaction',
+ icon: 'tag',
+ props: ['reaction', 'reactAsUser'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/create-channel.ts b/packages/pieces/community/slack/src/lib/actions/create-channel.ts
index 5db5f0e37f7..54f32bc041c 100644
--- a/packages/pieces/community/slack/src/lib/actions/create-channel.ts
+++ b/packages/pieces/community/slack/src/lib/actions/create-channel.ts
@@ -13,6 +13,15 @@ export const createChannelAction = createAction({
audience: 'human',
aiMetadata: { description: 'Create a new public or private channel with the given name. Not idempotent: calling again with a name that already exists fails with a name-taken error rather than reusing the existing channel. Channel names are normalized by Slack (lowercased, spaces to hyphens).', idempotent: false },
outputSchema: channelResponseOutputSchema,
+ propertyGroups: [
+ {
+ key: 'new_channel',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['channelName', 'isPrivate'],
+ },
+ ],
props: {
channelName: Property.ShortText({
displayName: 'Channel Name',
diff --git a/packages/pieces/community/slack/src/lib/actions/delete-message.ts b/packages/pieces/community/slack/src/lib/actions/delete-message.ts
index 379e944021b..b303e890b9d 100644
--- a/packages/pieces/community/slack/src/lib/actions/delete-message.ts
+++ b/packages/pieces/community/slack/src/lib/actions/delete-message.ts
@@ -17,6 +17,22 @@ export const deleteMessageAction = createAction({
idempotent: false,
},
auth: slackAuth,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['ts'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/get-channel-history.ts b/packages/pieces/community/slack/src/lib/actions/get-channel-history.ts
index da4946dcf8c..dfda7cd6c39 100644
--- a/packages/pieces/community/slack/src/lib/actions/get-channel-history.ts
+++ b/packages/pieces/community/slack/src/lib/actions/get-channel-history.ts
@@ -14,6 +14,22 @@ export const getChannelHistory = createAction({
audience: 'human',
aiMetadata: { description: 'Retrieve top-level messages from a known channel, paging through the full range and optionally bounded by oldest/latest timestamps; read-only and repeatable. Use this to read a channel you already have the ID for; use Search messages to find messages by content across the workspace, or Retrieve Thread Messages to read replies within a thread.', idempotent: true },
outputSchema: channelHistoryActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'time_window',
+ display: 'section',
+ label: 'Time window',
+ icon: 'calendar',
+ props: ['oldest', 'latest'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/get-message.ts b/packages/pieces/community/slack/src/lib/actions/get-message.ts
index 3ac64559f5a..2abad300758 100644
--- a/packages/pieces/community/slack/src/lib/actions/get-message.ts
+++ b/packages/pieces/community/slack/src/lib/actions/get-message.ts
@@ -15,6 +15,22 @@ export const getMessageAction = createAction({
aiMetadata: { description: "Fetch a single message from a channel by its exact timestamp; read-only and repeatable. Use this when you already have the message ts and channel; use Get channel history to read a range of messages or Search messages to find one by content.", idempotent: true },
auth: slackAuth,
outputSchema: getMessageActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['ts'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/invite-user-to-channel.ts b/packages/pieces/community/slack/src/lib/actions/invite-user-to-channel.ts
index ec75b68e776..cc351de2069 100644
--- a/packages/pieces/community/slack/src/lib/actions/invite-user-to-channel.ts
+++ b/packages/pieces/community/slack/src/lib/actions/invite-user-to-channel.ts
@@ -14,6 +14,22 @@ export const inviteUserToChannelAction = createAction({
audience: 'human',
aiMetadata: { description: 'Add an existing workspace user to an existing channel as a member. Both the channel and the user must already exist. Effectively idempotent in result since a user already in the channel stays a member, though Slack returns an error if they are already present.', idempotent: false },
outputSchema: channelResponseOutputSchema,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['userId'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/list-users.ts b/packages/pieces/community/slack/src/lib/actions/list-users.ts
index fb1245e6c19..137c7cb4114 100644
--- a/packages/pieces/community/slack/src/lib/actions/list-users.ts
+++ b/packages/pieces/community/slack/src/lib/actions/list-users.ts
@@ -13,6 +13,15 @@ export const listUsers = createAction({
audience: 'human',
aiMetadata: { description: 'List every member of the workspace, paging through all results, with toggles to include bots and disabled/deactivated users; read-only and repeatable. Use this to enumerate or scan all users; use Find User by ID or Find User by Handle when you already know which single user you want.', idempotent: true },
outputSchema: listUsersActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'filters',
+ display: 'section',
+ label: 'Filters',
+ icon: 'filter',
+ props: ['includeBots', 'includeDisabled'],
+ },
+ ],
props: {
includeBots: Property.Checkbox({
displayName: 'Include Bots',
diff --git a/packages/pieces/community/slack/src/lib/actions/request-action-direct-message.ts b/packages/pieces/community/slack/src/lib/actions/request-action-direct-message.ts
index ae7231eafed..64bc0856e7f 100644
--- a/packages/pieces/community/slack/src/lib/actions/request-action-direct-message.ts
+++ b/packages/pieces/community/slack/src/lib/actions/request-action-direct-message.ts
@@ -22,6 +22,22 @@ export const requestActionDirectMessageAction = createAction({
audience: 'both',
aiMetadata: { description: 'Send a direct message with interactive buttons to a user and pause the flow until that user clicks one of the defined actions, then resume with their choice. Use this for a human-in-the-loop decision via DM; use Request Approval in a Channel for a simple approve/disapprove gate in a channel. Sends a new message each run, so it is not idempotent.', idempotent: false },
outputSchema: requestActionActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['userId'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['text', 'actions'],
+ },
+ ],
props: {
userId: userId(true),
text,
diff --git a/packages/pieces/community/slack/src/lib/actions/request-action-message.ts b/packages/pieces/community/slack/src/lib/actions/request-action-message.ts
index 5ccca5f2889..ad6da16ec69 100644
--- a/packages/pieces/community/slack/src/lib/actions/request-action-message.ts
+++ b/packages/pieces/community/slack/src/lib/actions/request-action-message.ts
@@ -19,6 +19,22 @@ export const requestActionMessageAction = createAction({
idempotent: false,
},
outputSchema: requestActionActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['text', 'actions', 'threadTs'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/request-approval-direct-message.ts b/packages/pieces/community/slack/src/lib/actions/request-approval-direct-message.ts
index 98af31b8818..f892d56d7da 100644
--- a/packages/pieces/community/slack/src/lib/actions/request-approval-direct-message.ts
+++ b/packages/pieces/community/slack/src/lib/actions/request-approval-direct-message.ts
@@ -22,6 +22,22 @@ export const requestApprovalDirectMessageAction = createAction({
idempotent: false,
},
outputSchema: approvalActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['userId'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['text'],
+ },
+ ],
props: {
userId: userId(true),
text,
diff --git a/packages/pieces/community/slack/src/lib/actions/request-approval-message.ts b/packages/pieces/community/slack/src/lib/actions/request-approval-message.ts
index 017f0f64688..eb0d5b6e80b 100644
--- a/packages/pieces/community/slack/src/lib/actions/request-approval-message.ts
+++ b/packages/pieces/community/slack/src/lib/actions/request-approval-message.ts
@@ -25,6 +25,22 @@ export const requestSendApprovalMessageAction = createAction({
audience: 'both',
aiMetadata: { description: 'Post a message with Approve/Disapprove buttons to a channel and pause the flow until someone clicks one, then resume with the boolean outcome. Use this for a simple approval gate visible to a channel; use Request Action from A User for a private DM with custom action choices. Posts a new message each run, so it is not idempotent.', idempotent: false },
outputSchema: approvalActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['text'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/retrieve-thread-messages.ts b/packages/pieces/community/slack/src/lib/actions/retrieve-thread-messages.ts
index 6930f90b836..38f2015ede3 100644
--- a/packages/pieces/community/slack/src/lib/actions/retrieve-thread-messages.ts
+++ b/packages/pieces/community/slack/src/lib/actions/retrieve-thread-messages.ts
@@ -15,6 +15,22 @@ export const retrieveThreadMessages = createAction({
aiMetadata: { description: 'Retrieve the replies in a thread given the channel and the parent message timestamp; read-only and repeatable. Returns up to 10,000 replies per call; when has_more is true, pass response_metadata.next_cursor as the cursor to continue. The timestamp must be that of the parent message, not a reply. Use this to read a conversation thread; use Get channel history for top-level channel messages.', idempotent: true },
auth: slackAuth,
outputSchema: threadRepliesActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['threadTs'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/send-direct-message-action.ts b/packages/pieces/community/slack/src/lib/actions/send-direct-message-action.ts
index e795be88ac6..8ba7140a055 100644
--- a/packages/pieces/community/slack/src/lib/actions/send-direct-message-action.ts
+++ b/packages/pieces/community/slack/src/lib/actions/send-direct-message-action.ts
@@ -17,6 +17,22 @@ export const slackSendDirectMessageAction = createAction({
audience: 'human',
aiMetadata: { description: 'Send a direct message to a single user by user ID, with optional Block Kit blocks, custom username/icon, and link unfurling. Each call posts a new DM, so it is not idempotent. Use this to message one person privately; use Send Message To A Channel to post in a channel.', idempotent: false },
outputSchema: chatPostMessageOutputSchema,
+ propertyGroups: [
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['userId'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['text', 'blocks'],
+ },
+ ],
props: {
userId: userId(true),
text: Property.LongText({
diff --git a/packages/pieces/community/slack/src/lib/actions/send-message-action.ts b/packages/pieces/community/slack/src/lib/actions/send-message-action.ts
index bc21356e0a2..56d99cdf58e 100644
--- a/packages/pieces/community/slack/src/lib/actions/send-message-action.ts
+++ b/packages/pieces/community/slack/src/lib/actions/send-message-action.ts
@@ -16,6 +16,22 @@ export const slackSendMessageAction = createAction({
audience: 'human',
aiMetadata: { description: 'Post a message to a channel, with optional Block Kit blocks, file attachment, custom username/icon, and link unfurling; can post as the bot or as the authenticated user. Provide a thread timestamp to reply within a thread (and optionally broadcast that reply to the channel). Each call posts a new message, so it is not idempotent; requires either message text or blocks. Use Send Message To A User for a private DM.', idempotent: false },
outputSchema: chatPostMessageOutputSchema,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['text', 'sendAsBot', 'threadTs', 'file', 'blocks'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/send-message-to-multiple-users.ts b/packages/pieces/community/slack/src/lib/actions/send-message-to-multiple-users.ts
index 288b02657ed..10666190b25 100644
--- a/packages/pieces/community/slack/src/lib/actions/send-message-to-multiple-users.ts
+++ b/packages/pieces/community/slack/src/lib/actions/send-message-to-multiple-users.ts
@@ -40,6 +40,29 @@ export const slackSendMessageToMultipleUsersAction = createAction({
'Sends a direct message to many Slack users in parallel and reports which sends succeeded and which failed. Replaces a loop of single Send Message To A User steps. Either one shared message for everyone, or a personal message per user. Each call posts new DMs, so it is not idempotent, and a retry re-sends to everyone.',
idempotent: false,
},
+ propertyGroups: [
+ {
+ key: 'recipient_list',
+ display: 'section',
+ label: 'Recipients',
+ icon: 'users',
+ props: ['mode', 'recipients'],
+ },
+ {
+ key: 'formatting',
+ display: 'section',
+ label: 'Formatting',
+ icon: 'code',
+ props: ['blocks', 'unfurlLinks'],
+ },
+ {
+ key: 'delivery',
+ display: 'section',
+ label: 'Delivery',
+ icon: 'sliders',
+ props: ['concurrency'],
+ },
+ ],
props: {
mode: Property.StaticDropdown<BulkDmMode>({
displayName: 'Message Mode',
diff --git a/packages/pieces/community/slack/src/lib/actions/set-channel-topic.ts b/packages/pieces/community/slack/src/lib/actions/set-channel-topic.ts
index c75e55a6b69..6e4214aaecf 100644
--- a/packages/pieces/community/slack/src/lib/actions/set-channel-topic.ts
+++ b/packages/pieces/community/slack/src/lib/actions/set-channel-topic.ts
@@ -14,6 +14,22 @@ export const setChannelTopicAction = createAction({
audience: 'human',
aiMetadata: { description: 'Set (overwrite) the topic of a selected channel. Idempotent: re-running with the same topic leaves the channel in the same state. The bot must be a member of the channel.', idempotent: true },
outputSchema: channelResponseOutputSchema,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'topic_text',
+ display: 'section',
+ label: 'Topic',
+ icon: 'type',
+ props: ['topic'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/set-user-status.ts b/packages/pieces/community/slack/src/lib/actions/set-user-status.ts
index cff29d0e155..28dd33d37f1 100644
--- a/packages/pieces/community/slack/src/lib/actions/set-user-status.ts
+++ b/packages/pieces/community/slack/src/lib/actions/set-user-status.ts
@@ -15,18 +15,29 @@ export const setUserStatusAction = createAction({
audience: 'human',
aiMetadata: { description: "Set the authenticated user's custom status text and optional emoji, optionally with a Unix-timestamp expiration; requires a user token, not a bot token. This overwrites any existing status, so re-running with the same input is idempotent. Status text is capped at 100 characters.", idempotent: true },
outputSchema: updateProfileActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'status',
+ display: 'section',
+ label: 'Status',
+ icon: 'user',
+ props: ['text', 'emoji', 'expiration'],
+ },
+ ],
props: {
text: Property.ShortText({
displayName: 'Status Text',
description: 'Up to 100 characters.',
placeholder: 'In a meeting',
required: true,
+ width: 'half',
}),
emoji: Property.ShortText({
displayName: 'Emoji',
required: false,
description: 'Emoji name with colons.',
placeholder: ':calendar:',
+ width: 'half',
}),
expiration: Property.Number({
displayName: 'Expires At',
diff --git a/packages/pieces/community/slack/src/lib/actions/update-message.ts b/packages/pieces/community/slack/src/lib/actions/update-message.ts
index 818ea6914e3..7451cca17e3 100644
--- a/packages/pieces/community/slack/src/lib/actions/update-message.ts
+++ b/packages/pieces/community/slack/src/lib/actions/update-message.ts
@@ -19,6 +19,22 @@ export const updateMessage = createAction({
},
auth: slackAuth,
outputSchema: chatUpdateOutputSchema,
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'message',
+ display: 'section',
+ label: 'Message',
+ icon: 'text',
+ props: ['ts', 'text', 'blocks'],
+ },
+ ],
props: {
info: singleSelectChannelInfo,
onlyBotChannels,
diff --git a/packages/pieces/community/slack/src/lib/actions/update-profile.ts b/packages/pieces/community/slack/src/lib/actions/update-profile.ts
index b1e6d37d63e..eccc512e89f 100644
--- a/packages/pieces/community/slack/src/lib/actions/update-profile.ts
+++ b/packages/pieces/community/slack/src/lib/actions/update-profile.ts
@@ -1,5 +1,5 @@
import { slackAuth } from '../auth';
-import { createAction, Property } from '@activepieces/pieces-framework';
+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';
import { WebClient } from '@slack/web-api';
import { requireUserToken, SlackAuthValue } from '../common/auth-helpers';
import { updateProfileActionOutputSchema } from '../output-schemas';
@@ -13,14 +13,36 @@ export const updateProfileAction = createAction({
audience: 'human',
aiMetadata: { description: "Update basic profile fields (first name, last name, email) for the authenticated user, or for another user when an admin specifies a user ID; requires a user token. Setting the same values again is idempotent. Note that changing the email triggers Slack notification emails to both addresses, and editing another user is admin-only on paid teams.", idempotent: true },
outputSchema: updateProfileActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'profile',
+ display: 'section',
+ label: 'Profile',
+ icon: 'user',
+ props: ['empty_fields_info', 'firstName', 'lastName', 'email'],
+ },
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['userId'],
+ },
+ ],
props: {
+ empty_fields_info: Property.MarkDown({
+ value: 'Empty fields keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
firstName: Property.ShortText({
displayName: 'First Name',
required: false,
+ width: 'half',
}),
lastName: Property.ShortText({
displayName: 'Last Name',
required: false,
+ width: 'half',
}),
email: Property.ShortText({
displayName: 'Email',
diff --git a/packages/pieces/community/slack/src/lib/actions/update-user-groups.ts b/packages/pieces/community/slack/src/lib/actions/update-user-groups.ts
index c3cf8224ae4..db0844eb6da 100644
--- a/packages/pieces/community/slack/src/lib/actions/update-user-groups.ts
+++ b/packages/pieces/community/slack/src/lib/actions/update-user-groups.ts
@@ -17,6 +17,22 @@ export const updateGroupUsersAction = createAction({
idempotent: false,
},
outputSchema: updateGroupUsersActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'user_group',
+ display: 'section',
+ label: 'User group',
+ icon: 'tag',
+ props: ['handle'],
+ },
+ {
+ key: 'members',
+ display: 'section',
+ label: 'Members',
+ icon: 'users',
+ props: ['userIds', 'appendUsers'],
+ },
+ ],
props: {
handle: Property.ShortText({
displayName: 'Group Handle',
diff --git a/packages/pieces/community/slack/src/lib/actions/upload-file.ts b/packages/pieces/community/slack/src/lib/actions/upload-file.ts
index bc45f72b838..f8d914e660d 100644
--- a/packages/pieces/community/slack/src/lib/actions/upload-file.ts
+++ b/packages/pieces/community/slack/src/lib/actions/upload-file.ts
@@ -16,6 +16,22 @@ export const uploadFile = createAction({
audience: 'both',
aiMetadata: { description: 'Upload a file to Slack, optionally sharing it into a channel and setting a title and filename. Each call creates a new file, so it is not idempotent. To attach a file inline with a message instead, use the attachment option on Send Message To A Channel.', idempotent: false },
outputSchema: uploadFileActionOutputSchema,
+ propertyGroups: [
+ {
+ key: 'upload',
+ display: 'section',
+ label: 'File',
+ icon: 'file',
+ props: ['file', 'title', 'filename'],
+ },
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['onlyBotChannels', 'channel'],
+ },
+ ],
props: {
file: Property.File({
displayName: 'File',
@@ -26,12 +42,14 @@ export const uploadFile = createAction({
description: "Shown as the file's title in Slack.",
placeholder: 'Q3 report',
required: false,
+ width: 'half',
}),
filename: Property.ShortText({
displayName: 'Filename',
description: 'File name including its extension.',
placeholder: 'report.pdf',
required: false,
+ width: 'half',
}),
onlyBotChannels,
channel: slackChannel(false),
diff --git a/packages/pieces/community/slack/src/lib/triggers/new-command-in-direct-message.ts b/packages/pieces/community/slack/src/lib/triggers/new-command-in-direct-message.ts
index a95c8a30dd8..1269f8c778a 100644
--- a/packages/pieces/community/slack/src/lib/triggers/new-command-in-direct-message.ts
+++ b/packages/pieces/community/slack/src/lib/triggers/new-command-in-direct-message.ts
@@ -20,6 +20,29 @@ export const newCommandInDirectMessageTrigger = createTrigger({
description:
'Fires when a direct message (im channel) addressed to the bot contains one of the configured commands (e.g., "@bot help" or "@bot remind"). Only messages in DM channels matching the listed commands fire; bot messages and the user\'s own messages can be optionally ignored. The event payload includes the original message plus a parsed_command object with the recognized command and its arguments.',
},
+ propertyGroups: [
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['info', 'user'],
+ },
+ {
+ key: 'command',
+ display: 'section',
+ label: 'Command',
+ icon: 'code',
+ props: ['commands'],
+ },
+ {
+ key: 'filters',
+ display: 'section',
+ label: 'Filters',
+ icon: 'filter',
+ props: ['ignoreBots', 'ignoreSelfMessages'],
+ },
+ ],
props: {
info: appWebhookSetupInfo,
user: userId(true),
diff --git a/packages/pieces/community/slack/src/lib/triggers/new-command.ts b/packages/pieces/community/slack/src/lib/triggers/new-command.ts
index 9ea1a328d89..c8bd2ac285a 100644
--- a/packages/pieces/community/slack/src/lib/triggers/new-command.ts
+++ b/packages/pieces/community/slack/src/lib/triggers/new-command.ts
@@ -20,6 +20,36 @@ export const newCommand = createTrigger({
description:
'Fires when a channel or group message addressed to the bot contains one of the configured commands (e.g., "@bot help" or "@bot ocr"). Can be optionally filtered to specific channels, and bot messages can be ignored. The event payload includes the original message plus a parsed_command object with the recognized command and its arguments.',
},
+ propertyGroups: [
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['webhookInfo', 'user'],
+ },
+ {
+ key: 'command',
+ display: 'section',
+ label: 'Command',
+ icon: 'code',
+ props: ['commands'],
+ },
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channels'],
+ },
+ {
+ key: 'filters',
+ display: 'section',
+ label: 'Filters',
+ icon: 'filter',
+ props: ['ignoreBots'],
+ },
+ ],
props: {
webhookInfo: appWebhookSetupInfo,
info: multiSelectChannelInfo,
diff --git a/packages/pieces/community/slack/src/lib/triggers/new-direct-message.ts b/packages/pieces/community/slack/src/lib/triggers/new-direct-message.ts
index 4969a4e0879..2731709ba6f 100644
--- a/packages/pieces/community/slack/src/lib/triggers/new-direct-message.ts
+++ b/packages/pieces/community/slack/src/lib/triggers/new-direct-message.ts
@@ -16,6 +16,15 @@ export const newDirectMessageTrigger = createTrigger({
description:
'Fires when a new message is posted in a direct message (im) channel with the connected Slack app. Bot messages and the connected user\'s own messages can be optionally ignored. The event payload is the Slack message event, including its channel, text, and sender.',
},
+ propertyGroups: [
+ {
+ key: 'filters',
+ display: 'section',
+ label: 'Filters',
+ icon: 'filter',
+ props: ['info', 'ignoreBots', 'ignoreSelfMessages'],
+ },
+ ],
props: {
info: appWebhookSetupInfo,
ignoreBots: Property.Checkbox({
diff --git a/packages/pieces/community/slack/src/lib/triggers/new-mention-in-direct-message.ts b/packages/pieces/community/slack/src/lib/triggers/new-mention-in-direct-message.ts
index a30bf7e82e5..58a674984c6 100644
--- a/packages/pieces/community/slack/src/lib/triggers/new-mention-in-direct-message.ts
+++ b/packages/pieces/community/slack/src/lib/triggers/new-mention-in-direct-message.ts
@@ -19,6 +19,22 @@ export const newMentionInDirectMessageTrigger = createTrigger({
description:
'Fires when the configured user is @-mentioned in a direct message (im channel). Only messages in DM channels that contain the mention token for the selected user fire; bot messages and the user\'s own messages can be optionally ignored. The event payload is the Slack message event including its text, channel, and sender.',
},
+ propertyGroups: [
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['info', 'user'],
+ },
+ {
+ key: 'filters',
+ display: 'section',
+ label: 'Filters',
+ icon: 'filter',
+ props: ['ignoreBots', 'ignoreSelfMessages'],
+ },
+ ],
props: {
info: appWebhookSetupInfo,
user: userId(true),
diff --git a/packages/pieces/community/slack/src/lib/triggers/new-mention.ts b/packages/pieces/community/slack/src/lib/triggers/new-mention.ts
index 5d16496d4b5..299c4fa7bdd 100644
--- a/packages/pieces/community/slack/src/lib/triggers/new-mention.ts
+++ b/packages/pieces/community/slack/src/lib/triggers/new-mention.ts
@@ -18,6 +18,29 @@ export const newMention = createTrigger({
description:
'Fires when a channel or group message @-mentions one of the configured users or user groups. Can be optionally filtered to specific channels, and bot messages can be ignored. When the remove-mention option is enabled, the event payload includes a clean_text field with the mention tokens stripped from the message text; otherwise the raw Slack message event is returned.',
},
+ propertyGroups: [
+ {
+ key: 'mentions',
+ display: 'section',
+ label: 'Mentions',
+ icon: 'users',
+ props: ['webhookInfo', 'users', 'usergroups'],
+ },
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channels'],
+ },
+ {
+ key: 'filters',
+ display: 'section',
+ label: 'Filters',
+ icon: 'filter',
+ props: ['ignoreBots'],
+ },
+ ],
props: {
webhookInfo: appWebhookSetupInfo,
info: multiSelectChannelInfo,
diff --git a/packages/pieces/community/slack/src/lib/triggers/new-message-in-channel.ts b/packages/pieces/community/slack/src/lib/triggers/new-message-in-channel.ts
index 6fbc7163a6a..2e0bd3c0555 100644
--- a/packages/pieces/community/slack/src/lib/triggers/new-message-in-channel.ts
+++ b/packages/pieces/community/slack/src/lib/triggers/new-message-in-channel.ts
@@ -16,6 +16,22 @@ export const newMessageInChannelTrigger = createTrigger({
description:
'Fires when a new message is posted to the specific channel selected in the trigger configuration. Only channel or group messages in the chosen channel fire; bot messages can be optionally ignored. The event payload is the Slack message event, including its channel, text, and sender.',
},
+ propertyGroups: [
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['webhookInfo', 'info', 'onlyBotChannels', 'channel'],
+ },
+ {
+ key: 'filters',
+ display: 'section',
+ label: 'Filters',
+ icon: 'filter',
+ props: ['ignoreBots'],
+ },
+ ],
props: {
webhookInfo: appWebhookSetupInfo,
info: singleSelectChannelInfo,
diff --git a/packages/pieces/community/slack/src/lib/triggers/new-reaction-added.ts b/packages/pieces/community/slack/src/lib/triggers/new-reaction-added.ts
index a4569610a13..387efd16c8d 100644
--- a/packages/pieces/community/slack/src/lib/triggers/new-reaction-added.ts
+++ b/packages/pieces/community/slack/src/lib/triggers/new-reaction-added.ts
@@ -19,6 +19,29 @@ export const newReactionAdded = createTrigger({
description:
'Fires when an emoji reaction is added to a message in the Slack workspace. Can be optionally filtered to specific emojis, a specific user, or specific channels. The event payload identifies the user who added the reaction, the emoji name, and the message item it was added to.',
},
+ propertyGroups: [
+ {
+ key: 'reaction_emoji',
+ display: 'section',
+ label: 'Reaction',
+ icon: 'tag',
+ props: ['webhookInfo', 'emojis'],
+ },
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['user'],
+ },
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channels'],
+ },
+ ],
props: {
webhookInfo: appWebhookSetupInfo,
info: multiSelectChannelInfo,
diff --git a/packages/pieces/community/slack/src/lib/triggers/new-reaction-removed.ts b/packages/pieces/community/slack/src/lib/triggers/new-reaction-removed.ts
index 88328bb7814..0f4dbb9067a 100644
--- a/packages/pieces/community/slack/src/lib/triggers/new-reaction-removed.ts
+++ b/packages/pieces/community/slack/src/lib/triggers/new-reaction-removed.ts
@@ -18,6 +18,29 @@ export const newReactionRemoved = createTrigger({
description:
'Fires when an emoji reaction is removed from a message in the Slack workspace. Can be optionally filtered to specific emojis, a specific user, or specific channels. The event payload identifies the user who removed the reaction, the emoji name, and the message item it was removed from.',
},
+ propertyGroups: [
+ {
+ key: 'reaction_emoji',
+ display: 'section',
+ label: 'Reaction',
+ icon: 'tag',
+ props: ['webhookInfo', 'emojis'],
+ },
+ {
+ key: 'user_picker',
+ display: 'section',
+ label: 'User',
+ icon: 'user',
+ props: ['user'],
+ },
+ {
+ key: 'channel_picker',
+ display: 'section',
+ label: 'Channel',
+ icon: 'markdown',
+ props: ['info', 'onlyBotChannels', 'channels'],
+ },
+ ],
props: {
webhookInfo: appWebhookSetupInfo,
info: multiSelectChannelInfo,