Updated, now cannot find my agent instructions to edit

After updating, i’m having trouble finding the agent instructions for one of my AI nodes. This is in production, so I’m trying to be careful. When I clicked on SYSTEM MESSAGE, it added a field that just says YOU ARE AN AGENT, and I cannot get rid of it. I cannot publish that version and have it wipe out my instructions. What can I do and where can I find my instructions to modify?

@3ringai your instructions aren’t gone, just don’t save or publish the current state yet. Open the workflows change history (version history in the workflow menu), find the version from just before the update, and either restore it or open it and copy your original system message out, then paste it back in. n8n saves a version on every save, so the pre-update one still has your full instructions.

Thank you. But I dont see a PLACE for the instructions anymore.

@3ringai the System Message field you added under Options IS the instructions field now, and the user message is where your instructions go, the system message is where how the agent behaves goes

thank you again. but in the previous versions, i can’t see the field to even copy it over from. the fields are not there.

@3ringai Can you send a screenshot of what it looks like for you?

i am used to seeing my instructions in one of these. i cannot get to them.

@3ringai delete the node and readd it? it might be a n8n update bug where the instance updates but not the node until you delete and readd the node

yikes… this is an in-production workflow.

yea its annoying, your instructions might possible be gone, im not exactly sure anymore if you go to the node settings, what is the version?

in both of the ai nodes themselves?

yea

ah, 1.3 for the chat model, and it says “AI Agent node version 3 (Latest version: 3.1)” for the PROCESS JSON WITH AI node. i think the instructions are in the chat node. The workflow is working right now, so the instructions are there somewhere.

that’s why, your on 1.3 and itys on 3.1, and the instructions go in the “Process JSON with AI” node, not the openai model node.

the process json node is on 3. the chat agent is the one that’s says 1.3

and thank you for all your attention on this…

oh, ok, yea then your instance is the same as mine, I read your thing wrong, but instructions go in the agent node, not the one 1.3 one, but the only way I believe to get your instructions would be to delete and readd the node and that might actually clear them, if its working I would leave it since your workflow is in production

yea in your image it says 3, you would need to delete and readd it to get it to 3.1