From 0c4a9482cb914364e6651cb386f09864231da2a2 Mon Sep 17 00:00:00 2001 From: Gustavo Date: Mon, 24 Aug 2026 21:12:58 -0300 Subject: [PATCH] fix(v2): use the real Bot Coordenador Slack credential and CHAMADOS SUPORTE channel The user provided the real, dedicated Slack destination for this automation (a separate Bot app credential + its channel), correcting my earlier inference (the shared "Slack account" credential + $vars. SLACK_CHANNEL_TECNICO, borrowed from an unrelated archived workflow, which Slack's own API rejected as invalid_arguments in the prior test). Created a new slackApi credential ("Slack - Bot Coordenador (Chamados Suporte)", id lNqwBBrtLfkRqw2X) via n8n_manage_credentials -- the token was created directly through the n8n credentials API and never written to any file, workflow parameter, or commit; only the credential's id/name reference (not a secret) is stored in the workflow, same as every other credential in this project. Slack - Enviar Mensagem now targets channel "CHAMADOS SUPORTE" by name instead of the unresolved variable. 158/158 tests passing. Co-Authored-By: Claude Sonnet 5 --- n8n/deployed/coordenador-glpi-v2.n8n.json | 8 ++++---- n8n/workflow.template.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/n8n/deployed/coordenador-glpi-v2.n8n.json b/n8n/deployed/coordenador-glpi-v2.n8n.json index 6fdcc35..98306b2 100644 --- a/n8n/deployed/coordenador-glpi-v2.n8n.json +++ b/n8n/deployed/coordenador-glpi-v2.n8n.json @@ -784,16 +784,16 @@ "select": "channel", "channelId": { "__rl": true, - "mode": "id", - "value": "={{ $vars.SLACK_CHANNEL_TECNICO }}" + "mode": "name", + "value": "CHAMADOS SUPORTE" }, "text": "={{ $json.mensagem }}", "otherOptions": {} }, "credentials": { "slackApi": { - "id": "ER8aVNhPGAN0H5Am", - "name": "Slack account" + "id": "lNqwBBrtLfkRqw2X", + "name": "Slack - Bot Coordenador (Chamados Suporte)" } } }, diff --git a/n8n/workflow.template.json b/n8n/workflow.template.json index d01889f..2e2f681 100644 --- a/n8n/workflow.template.json +++ b/n8n/workflow.template.json @@ -784,16 +784,16 @@ "select": "channel", "channelId": { "__rl": true, - "mode": "id", - "value": "={{ $vars.SLACK_CHANNEL_TECNICO }}" + "mode": "name", + "value": "CHAMADOS SUPORTE" }, "text": "={{ $json.mensagem }}", "otherOptions": {} }, "credentials": { "slackApi": { - "id": "ER8aVNhPGAN0H5Am", - "name": "Slack account" + "id": "lNqwBBrtLfkRqw2X", + "name": "Slack - Bot Coordenador (Chamados Suporte)" } } },