fix(05-02): revert credential reference to hardcoded user ID

n8n IF nodes don't support credentials - $credentials syntax only works
in nodes that make external calls. Reverted to direct user ID in the
IF conditions and updated README with simpler configuration instructions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Berger
2026-01-31 21:28:20 -05:00
parent e92bfc8061
commit 32fd965a2f
2 changed files with 22 additions and 36 deletions
+4 -16
View File
@@ -100,7 +100,7 @@
{
"id": "user-auth-condition",
"leftValue": "={{ $json.message.from.id.toString() }}",
"rightValue": "={{ $credentials.telegramAuth.userId }}",
"rightValue": "563878771",
"operator": {
"type": "string",
"operation": "equals"
@@ -118,13 +118,7 @@
"position": [
680,
200
],
"credentials": {
"telegramAuth": {
"id": "telegram-auth-credential",
"name": "Telegram Auth"
}
}
]
},
{
"parameters": {
@@ -138,7 +132,7 @@
{
"id": "callback-auth-condition",
"leftValue": "={{ $json.callback_query.from.id.toString() }}",
"rightValue": "={{ $credentials.telegramAuth.userId }}",
"rightValue": "563878771",
"operator": {
"type": "string",
"operation": "equals"
@@ -156,13 +150,7 @@
"position": [
680,
500
],
"credentials": {
"telegramAuth": {
"id": "telegram-auth-credential",
"name": "Telegram Auth"
}
}
]
},
{
"parameters": {