mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
fix(Slack Node): Add UTM params to n8n reference in Slack message (no-changelog) (#6668)
fix(Slack Node): Add UTM params to n8n reference in Slack message
This commit is contained in:
parent
3d3b91a209
commit
2acd71eeb1
|
@ -143,7 +143,7 @@ export function getMessageContent(
|
||||||
) as IDataObject;
|
) as IDataObject;
|
||||||
|
|
||||||
const { id } = this.getWorkflow();
|
const { id } = this.getWorkflow();
|
||||||
const automatedMessage = `_Automated with this <${this.getInstanceBaseUrl()}workflow/${id}|n8n workflow>_`;
|
const automatedMessage = `_Automated with this <${this.getInstanceBaseUrl()}workflow/${id}?utm_source=n8n&utm_medium=slackNode|n8n workflow>_`;
|
||||||
const messageType = this.getNodeParameter('messageType', i) as string;
|
const messageType = this.getNodeParameter('messageType', i) as string;
|
||||||
|
|
||||||
let content: IDataObject = {};
|
let content: IDataObject = {};
|
||||||
|
|
Loading…
Reference in a new issue