
Dashboard Editing via Slackbot
Editing published Omni dashboards directly from Slack via MCP — the bot automatically spins up a draft, changes a chart type, adds a new chart, and adds a filter, all without touching the…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Hello everybody. I'm gonna switch over to some dashboard work. Something I've been working on is getting the edit dashboard tools available for like the MCP, Slackbot, API contexts. Um this is all stuff you can do in the chat in the browser, and and that's only a subset of people. So this isn't really changing what you can edit, but it's just making those tools uh available um in those other other flows.
Let me share real quick. So this right here, very simple dashboard. A couple things I wanted to point out is it's a published dashboard. There's no existing edit or excuse me draft on it. One of the big things we had to shift for this work is making sure that the edits you're proposing are not just going to the live publish dashboard.
We want to make sure to spin up a draft if there's one that doesn't exist. Use a draft if one already exists. So um I'm just starting with kind of a pristine uh dashboard here. Let me switch over. So jumped over to Slack and I'm going to change one of the bar charts from a horizontal chart to a vertical and then do a couple more things.
So yeah, so right now it's going to look up the dashboard, realize there's no draft, spin a draft up, make sure it has permissions and you know is actually able to make the change before it does it and hopefully it'll do it let me cue up my next command okay I'm now gonna just add a quick new chart um you know certainly this is just like a a subset of what you can do but uh just wanted to kind of show the different types of things.
And then finally, I'm gonna queue up adding a filter. I really should get some uh hold music going. Okay, it's looking good so far. And I think for anybody who's tried these edits previously, uh, you would have seen a response that says, hey, I can't edit dashboards, you know, you need to go to the UI to do this.
So now it should be descriptive of what you can and can't do with a little more uh indication of how you know if you need to go to the UI to fix it or not. Um, but it it'll do its best to kind of uh help you choose and and make the right choice. So once this is done, sweet.
So you'll also notice here um it's also very uh descriptive about where these changes go. So it's not reflected on a published dashboard, wants to, you know, make sure you know that things are okay. And then I go back here, refresh the page. Oh we can see published dashboard hasn't changed at all. But then if I go into the draft, I can see my new pie chart, the filter I created, and the change to the bar chart.
So everything applied as expected. Um this all went live yesterday. So please let us know if you have any issues or have any questions. Thanks.