Skip to content

Commit 35f4ae6

Browse files
committed
fix(slack): let Block Kit messages carry notification text
1 parent d9af98b commit 35f4ae6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎apps/sim/blocks/blocks/slack.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,10 +633,11 @@ export const SlackBlock: BlockConfig = {
633633
title: 'Message',
634634
type: 'long-input',
635635
placeholder: 'Enter your message (supports Slack mrkdwn)',
636+
description:
637+
'With Block Kit, this optional text is what Slack shows in notifications and in clients that cannot render blocks.',
636638
condition: {
637639
field: 'operation',
638640
value: ['send', 'ephemeral', 'schedule_message'],
639-
and: { field: 'messageFormat', value: 'blocks', not: true },
640641
},
641642
required: {
642643
field: 'operation',
@@ -1143,10 +1144,11 @@ Return ONLY the timestamp string - no explanations, no quotes, no extra text.`,
11431144
title: 'New Message Text',
11441145
type: 'long-input',
11451146
placeholder: 'Enter new message text (supports Slack mrkdwn)',
1147+
description:
1148+
'With Block Kit, this optional text is what Slack shows in notifications and in clients that cannot render blocks.',
11461149
condition: {
11471150
field: 'operation',
11481151
value: 'update',
1149-
and: { field: 'messageFormat', value: 'blocks', not: true },
11501152
},
11511153
required: {
11521154
field: 'operation',

0 commit comments

Comments
 (0)