produce html flash message with csv action

How would I produce an HTML flash message on the screen if I call an action.csv in the page?

solved