Best way to send dashboard results to external API?

Hey OpenSearch community,

My hopeful use case is to add a button to a (Discover?) widget that when clicked can parse & pass the widget’s data field/values to an external API.

I believe this would lead me to creating a ‘UI Actions & Triggers’ plugin referenced in the ui action examples, but as the ‘uiActionsExplorer’ examples do not utilize alterations to dashboard widgets, I’m hoping I might be able to get some insight and advice into whether I’m on the right track and/or references/documentation that might help me on my way.

Thanks for your time,
Dakota

Hmm now I’m thinking I want to go with creating an embeddable plugin that utilizes UI action/triggers…