Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message has not sent when there is no error occured with Chat username as ChatID #12697

Open
rjumbarthi opened this issue Jan 18, 2025 · 5 comments · May be fixed by #12780
Open

Message has not sent when there is no error occured with Chat username as ChatID #12697

rjumbarthi opened this issue Jan 18, 2025 · 5 comments · May be fixed by #12780
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@rjumbarthi
Copy link

Describe the problem/error/question

Telegram has right ChatID with right username even though messages has not sent to telegram

What is the error message (if any)?

no errors messages and no messages has not sent

Please share your workflow/screenshots/recording

Image

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

{
"nodes": [
{
"parameters": {
"promptType": "define",
"text": "=Hi Rajesh, You have received a new email. \n\nDate: {{ $json.date }}\nFrom: {{ $json.from.value[0].name }} {{ $json.from.value[0].address }}\nTo: {{ $json.to.value[0].name }} {{ $json.to.value[0].address }}\nCC: {{ $json.cc.value[0].name }} {{ $json.cc.value[0].address }}\nSubject: {{ $json.subject }}\nEmail Body: {{ $json.text }}\n\n\nSecurity: \n",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1.7,
"position": [
340,
20
],
"id": "5d9ec58b-5f4d-4462-b89a-c8b0924138e7",
"name": "AI Agent"
}
],
"connections": {
"AI Agent": {
"main": [
[]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "1803ae9fb66eb3f5c36cd1e379c540f8481f22b2ea0ac0dec5c921e3ec1c1be5"
}
}

{
"nodes": [
{
"parameters": {
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.chainSummarization",
"typeVersion": 2,
"position": [
660,
20
],
"id": "51d94d47-1120-4c25-9542-66559ae8b26d",
"name": "Summarization Chain"
}
],
"connections": {
"Summarization Chain": {
"main": [
[]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "1803ae9fb66eb3f5c36cd1e379c540f8481f22b2ea0ac0dec5c921e3ec1c1be5"
}
}

{
"nodes": [
{
"parameters": {
"chatId": "@emwftms_bot",
"text": "=Hi , You got Summarized response from AI\n\n{{ $json.response.text }}\n",
"additionalFields": {
"appendAttribution": true,
"message_thread_id": null
}
},
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
1020,
20
],
"id": "5bd9cea3-d4ba-4595-9b93-b4d8bf109b7a",
"name": "Telegram",
"alwaysOutputData": true,
"executeOnce": false,
"retryOnFail": true,
"notesInFlow": true,
"maxTries": 5,
"credentials": {
"telegramApi": {
"id": "6PWyTgKrrCQQrnn5",
"name": "Telegram account"
}
},
"onError": "continueErrorOutput"
}
],
"connections": {
"Telegram": {
"main": [
[]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "1803ae9fb66eb3f5c36cd1e379c540f8481f22b2ea0ac0dec5c921e3ec1c1be5"
}
}

Share the output returned by the last node

Success Branch (1 item)
Error Branch (1 item)
  |   -- | -- This is an item, but it's empty.

Debug info

core

  • n8nVersion: 1.74.3
  • platform: npm
  • nodeJsVersion: 20.18.1
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: community

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/133.0.0.0 safari/537.36 edg/133.0.0.0
  • isTouchDevice: false

Generated at: 2025-01-18T19:26:27.574Z}

@Joffcom
Copy link
Member

Joffcom commented Jan 18, 2025

Hey @rjumbarthi,

We have created an internal ticket to look into this which we will be tracking as "N8N-8156"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jan 18, 2025
@Joffcom
Copy link
Member

Joffcom commented Jan 18, 2025

Hey @rjumbarthi

It looks like there is a success and an error, can you share a screenshot of the output of the Telegram node and show both the success and error outputs.

@rjumbarthi
Copy link
Author

I just fixed my issue and you can close this ticket , if you would like , if you let me know I will delete the issue ,

issue is with text display

Image

here it says channel username but it's only working with Chat ID not the channel username , and I'm beginner of n8n , so I might be beginners mistake

@Joffcom
Copy link
Member

Joffcom commented Jan 18, 2025

Hey @rjumbarthi

That is a good find, I will keep this ticket open as a reminder to change that text.

Thanks for letting me know.

@rjumbarthi
Copy link
Author

rjumbarthi commented Jan 18, 2025

Thanks for quick response, n8n is great product, I'm really enjoying it and one more thing I just found is n8n append is not working as expected.

@Joffcom Joffcom linked a pull request Jan 22, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants