How to create a flow to use duckdb to read and write parquate file in a flow

iam working on a flow where data from the api should be recorded in a parquate file and then it should be displayed on a dashboard by reading the parquate file through duckdb.
so far iam able to display the data on the dashboard directly through api but now i have to append the data how should i do it.