AI Agent node settings locked - can't edit "User Message" field

Hello everyone,
I have a serious issue with the AI Agent node. I cannot edit the “User Message” (Prompt) field at all. The “fx” button next to the field is completely unresponsive, and the field itself seems locked.
My setup:
Telegram Trigger → AI Agent → Telegram Send Message
DeepSeek Chat Model connected
n8n Cloud version (latest)
What I’ve already tried (nothing helped):
Different browsers (Chrome, Yandex, Comet)
Clearing cache and cookies
Creating new workflows from scratch
Deleting and re-adding the AI Agent node multiple times
Importing a pre-made JSON workflow
Checking console for errors (nothing obvious)
The problem: In both old and new workflows, when I open the AI Agent settings, the Prompt field shows {{ $json.chatInput }} and I cannot change it to {{ $json.message.text }}. The “fx” button next to it does nothing when clicked.
I’ve attached screenshots showing the issue.
Has anyone experienced this? Is this a known bug in the latest n8n version? Any workaround?
Thanks for any help!

1 Like

Hi @Artem2404 Welcome to the community you first need to select this above the filed:

Once you have selected the other option in the source for prompt your AI prompt section would light up! Just select the Define Below option and add your telegram message there also i recommend clicking on Add Option and adding a system message!

1 Like

@Artem2404 Select the drop down menu which says ‘Connected Chat Trigger Node’ and then select Define Below

Thank you, but that doesn’t help. I’ve tried this many times. After selecting “Define Below”, the Prompt field remains locked and the fx button still doesn’t work. I’ve tried different browsers, recreated the node multiple times — nothing changes. Looks like an interface bug. Has anyone else experienced this?

1 Like

@Artem2404 Have you tried restarting your n8n instance from the cloud dashboard? Please consider trying that and after restarting create a fresh workflow then try to place telegram trigger first and then click on the + Icon after the telegram trigger and add the AI agent node, that should work also you can try copy pasting some workflows and not just this telegram node you can try a webhook node instead let me know how that behaves. (Also Share Your WorkFlow JSON with us)