Add a flow by adding the flow data into the datastore