The ReplaceText processor  will allow you to set the content of a
flow file to a string of your choosing. You can use GenerateFlowFile
 with a size of 0B and type Text, to get a flow file routed to
ReplaceText, which then sets the content. This is a common pattern
seen in some of the example templates .
Alternatively, I have a one-processor template  that uses
InvokeScriptedProcessor  and Groovy, and lets you generate flow
file(s) where you can set the content and filename via processor
I couldn't find a Jira case (but feel free to write one) to add the
ability to set the content of the flow file directly in
GenerateFlowFile, which would allow you to skip the ReplaceText
On Tue, Oct 18, 2016 at 9:14 AM, Alessio Palma
> Hello, is there a processor which allows to build a flowfile from a string?
> Basically I have some huge queries and want to add them into the
> workflow without load them from file or database.