mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Slack Node): Restore ability to send text in addition of blocks or attachments
This commit is contained in:
@@ -331,6 +331,21 @@ export const messageFields: INodeProperties[] = [
|
||||
hint: "To create blocks, use <a target='_blank' href='https://app.slack.com/block-kit-builder'>Slack's Block Kit Builder</a>",
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Notification Text',
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: ['post'],
|
||||
resource: ['message'],
|
||||
messageType: ['block'],
|
||||
},
|
||||
},
|
||||
description:
|
||||
'Fallback text to display in slack notifications. Supports <a href="https://api.slack.com/reference/surfaces/formatting">markdown</a> by default - this can be disabled in "Options".',
|
||||
},
|
||||
{
|
||||
displayName: 'This is a legacy Slack feature. Slack advises to instead use Blocks.',
|
||||
name: 'noticeAttachments',
|
||||
|
||||
Reference in New Issue
Block a user