Describe the problem/error/question
Hi, so I’m new to the n8n platform. Right now I’m learning n8n to create an AI agent flow for my Telegram bot. My question is: my AI keeps producing the thought process like in this screenshot. I found a way to use this JSON expression like this:
“{{$json.output.split(‘\n’).slice(1).join(‘\n’).replace(/**/g, ‘’).replace(/[(.?)](.?)/g, ‘$1’).trim() }}”
but sometimes it works and sometimes it still prints the thought process. Is there a sure way to produce only the answer without including the thought process?
I’m using a local LLM and the Qwen 3 14B model.
What is the error message (if any)?
Please share your workflow
(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": {
"updates": [
"message"
],
"additionalFields": {}
},
"type": "n8n-nodes-base.telegramTrigger",
"typeVersion": 1.2,
"position": [
256,
-80
],
"id": "fea1a65f-5749-41c1-8bb9-afc83f452162",
"name": "Telegram Trigger",
"webhookId": "aa24382c-99f5-4b65-9fe8-308d10e5bf38"
}
],
"connections": {
"Telegram Trigger": {
"main": [
[]
]
}
},
"pinData": {},
"meta": {
"instanceId": "c1d09baa3bf3692e0ad59c990187a3956d3a936551920c213eb15311236ef9bc"
}
}
Share the output returned by the last node
I need to mention the main areas: software development, cybersecurity, data management, and IT consulting. Also, include the website and contact info again. Make sure the response is friendly and helpful. Let me structure it clearly with bullet points for readability. Double-check the information to avoid errors.
Hello! ![]()
PT Cybertech Solusindo is a company that operates in the field of information technology and digital solutions. Here are some of the main services they offer:
- Software Development
- Cybersecurity Services
- Data Management and IT Consulting
- Technology Solutions for Enterprises
For more information, you can visit their official website at:
https://www.cts.co.id
If you have any specific questions, feel free to ask!
Information on your n8n setup
- n8n version: 2.17.7
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- Operating system: Linux Mint
