# Combining Flask route with Dash callback

**URL:** <https://community.plotly.com/t/combining-flask-route-with-dash-callback/47717>\
**Category:** Dash Python\
**Created:** [November 30, 2020, 8:05pm UTC](https://community.plotly.com/t/combining-flask-route-with-dash-callback/47717 "2020-11-30T20:05:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davey](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@davey](https://community.plotly.com/u/davey)\
**Post date:** [November 30, 2020, 8:06pm UTC](https://community.plotly.com/t/combining-flask-route-with-dash-callback/47717/1 "2020-11-30T20:06:00Z")

</div>

I have an application that combines Flask and Dash. Is there a way for a Flask endpoint to trigger a Dash callback?

E.g.: Flask endpoint receives json data in body request and stores the data in a DataFrame, and then wants to trigger Dash to plot the new data in the DataFrame.

I’ve read about using a hidden-Div to hold my dataframe, but what triggers this is the endpoint receiving data, and not using an interaction with Dash like pushing a button or drop-down menu.

Is this possible? If not, what’s a good way to go about solving this? Thank you.
