// NODE TYPES

Create File Node

2 min read Updated July 23, 2026

The Create File node builds a document file from workflow data. It writes a txt, docx, or html file and can save it to your WordPress Media Library.

What it does

  • Creates a txt, docx, or html file from text you provide.
  • Optionally saves the file to the WordPress Media Library.
  • Returns the file so later nodes can use it.

Configuration reference

Field Required What it does
File name Yes The name of the file to create. Supports variable tags.
File format Yes txt, docx, or html. Defaults to txt.
File content Yes The text to write into the file. Supports variable tags.
Save to Media Library No Store the file in the WordPress Media Library.

Local only, and cost

Create File runs on your WordPress site, so it is a Local-only node. It costs 1 credit per run. See Local vs Cloud execution. If you need a formatted PDF instead, use the Generate PDF node.

Using the result in later nodes

The node produces a file URL or media id, referenced with [Input from <this-node-id>]. Attach it to an email or link to it in a post.

Worked example: export a report

  1. Set the file name to report-[[date] from trigger-1] and format to docx.
  2. Set the content to [Input from writeArticle-1] and turn on Save to Media Library.
Was this helpful? Contact us