From 38a7a2c52e030696d079f611f91bec316ad34fa8 Mon Sep 17 00:00:00 2001 From: Hutson Date: Fri, 23 Jan 2026 01:56:27 -0500 Subject: [PATCH] Auto-sync: 20260123-015626 --- N8N.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/N8N.md b/N8N.md index 1b015c6..5fade53 100644 --- a/N8N.md +++ b/N8N.md @@ -258,6 +258,44 @@ curl -H "X-N8N-API-KEY: YOUR_KEY" http://10.10.10.207:5678/api/v1/workflows ssh docker-host2 'docker ps | grep n8n' ``` +### Remove "This message was sent automatically by n8n" signature from Telegram messages + +**Problem:** n8n Telegram node adds attribution signature to all messages by default. + +**Solution:** Use the correct parameter name `appendAttribution` (camelCase, not snake_case) in `additionalFields`: + +```bash +# Get workflow +curl -H "X-N8N-API-KEY: $(cat /tmp/n8n-key.txt)" \ + http://10.10.10.207:5678/api/v1/workflows/WORKFLOW_ID > workflow.json + +# Update all Telegram nodes (using jq) +cat workflow.json | jq '.nodes = (.nodes | map( + if .type == "n8n-nodes-base.telegram" then + .parameters.additionalFields.appendAttribution = false + else + . + end +))' | jq '{name, nodes, connections, settings, staticData}' > workflow-fixed.json + +# Upload updated workflow +curl -X PUT \ + -H "X-N8N-API-KEY: $(cat /tmp/n8n-key.txt)" \ + -H 'Content-Type: application/json' \ + -d @workflow-fixed.json \ + http://10.10.10.207:5678/api/v1/workflows/WORKFLOW_ID + +# Restart n8n to reload workflow +ssh docker-host2 'cd /opt/n8n && docker compose restart n8n' +``` + +**Important Notes:** +- Parameter must be `appendAttribution` (camelCase), not `append_attribution` or `append_n8n_attribution` +- Must restart n8n after updating workflow for changes to take effect +- This applies to all Telegram message nodes in the workflow + +**Fixed:** 2026-01-23 + --- ## Integration Examples