Create events from query

Is it possible to add events to a chart from a query?

For example, I have a sales history over time chart. I want to add events for when special discounts were announced, which is in another table.

Can I add the list of events to the sales history chart by querying the discount table?

Hi @ChrisH
Currently you would have to use the API, since events are stored in the Metabase application database, it does not come from query results.
Have a look at Generate Event Date from Google Sheet

Thank you - I was hoping there was a better way that would be easier for users (and for me too!).

I've opened a feature request issue for this:
Add Events · Issue #24742 · metabase/metabase (github.com)