Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apps/sim/blocks/blocks/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,10 +633,11 @@ export const SlackBlock: BlockConfig = {
title: 'Message',
type: 'long-input',
placeholder: 'Enter your message (supports Slack mrkdwn)',
description:
'With Block Kit, this optional text is what Slack shows in notifications and in clients that cannot render blocks.',
condition: {
field: 'operation',
value: ['send', 'ephemeral', 'schedule_message'],
Comment thread
waleedlatif1 marked this conversation as resolved.
Resolved
and: { field: 'messageFormat', value: 'blocks', not: true },
},
required: {
field: 'operation',
Expand Down Expand Up @@ -1143,10 +1144,11 @@ Return ONLY the timestamp string - no explanations, no quotes, no extra text.`,
title: 'New Message Text',
type: 'long-input',
placeholder: 'Enter new message text (supports Slack mrkdwn)',
description:
'With Block Kit, this optional text is what Slack shows in notifications and in clients that cannot render blocks.',
condition: {
field: 'operation',
value: 'update',
and: { field: 'messageFormat', value: 'blocks', not: true },
},
required: {
field: 'operation',
Expand Down
Loading