feat(Slack Node): Add option to include link to workflow in Slack node (#6611)

* feat(Slack Node): Add “automated by” message to Slack node’s post message

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* Pass instanceBaseUrl to node context

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* Move `includeLinkToWorkflow` to options

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

* keep "includeLinkToWorkflow" hidden

* Only append the message for version 2.1 and up

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
This commit is contained in:
OlegIvaniv
2023-07-10 15:03:21 +02:00
committed by GitHub
parent d617f63ae9
commit aa53c46367
9 changed files with 102 additions and 27 deletions

View File

@@ -557,6 +557,14 @@ export const messageFields: INodeProperties[] = [
description: 'Other options to set',
placeholder: 'Add options',
options: [
{
displayName: 'Include Link To Workflow',
name: 'includeLinkToWorkflow',
type: 'boolean',
default: true,
description:
'Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending Slack messages.',
},
{
displayName: 'Custom Bot Profile Photo',
name: 'botProfile',