What is the Function block
The function block will trigger a function that was previously created under the functions tab at the right time in the flow. Hence, function blocks support REST, SQL, Adaptive Cards, Custom-code, and Storage functions. After executing such as function, the remaining of the part of the flow will be executed.
Select a function block drag & drop the action icon from the left menu into the center screen of the dialog manager.

A function block appears. If you select the dialog block (it becomes blue).

When selected, the right menu will show a drop-down of all available options for the function block.

SQL Output
The output of an SQL function does not need to be defined in the Function output, but may be selected using:
[FunctionName][FunctionVariable]
If the output is specially stated in the function then the following works too:
[OutputName]
API Output
The output of an API function must be defined in the function itself and can be selected using:
[OutputName]