Values become undefined

Describe the problem/error/question

When I run workflow it sometimes just sets Start’s node value to undefined (mostly first one)

What is the error message (if any)?

No prompt specified
Expected to find the prompt in an input field called 'guardrailsInput' (this is what the guardrails node node outputs). To use something else, change the 'Prompt' parameter

This image shows how it looks like in editor

Please share your workflow

Share the output returned by the last node

No prompt specified
Expected to find the prompt in an input field called ‘guardrailsInput’ (this is what the guardrails node node outputs). To use something else, change the ‘Prompt’ parameter

Information on your n8n setup

  • n8n version: 2.0.2
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Host: Docker (Alpine 3.22.2). Client: NixOS 26.05 (Yarara)
2 Likes

Exactly the same problem here.

1 Like

I have the same issue with Anthropic

@Emmanuel44 @InScius try using first() instead of item inside of {{ }}. It helped me

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.