Convert to File - Text Input Field

Describe the problem/error/question

In the Convert to File node, how do I reference a previous steps field in the Text Input Field

This node seems to expect the actual name of a field rather than the text that will be converted which would be a lot easier to use I think in most cases since you can just use an expression.

My goal for this flow is to generate markdown files for each calendar event in a git repo (while not overwriting existing files) and then push those changes.

What is the error message (if any)?

This is the problem from the Convert to File node in the workflow.
The value in "$('SilverBullet').item.json.silverbullet.contents" is not set [item 0]

Please share your workflow

Information on your n8n setup

  • n8n version: 1.39.1
  • Database (default: SQLite): PostgreSQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Arch linux

hello @bnason

The Text input field is the name of the field in the previous node. It can’t refer to the fields from other nodes. You have to output that field with the Edit Fields node at first.

1 Like

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