You can also use the MsgBuilder within a query loop to build a larger message which contains your query results. The data automatically appends to the declared variable.
You don't have to define the variable on the Start node since it is created once the MsgBuilder is used.
If you use the MsgBuilder within a query loop to build it but the query returns zero records, the variable isn't declared and reference to it later in the flow will return an error.
Not just answers, providing solutions