I think it would be pretty valuable to be able to have buttons in Dashboards.
Dashboards might often be used as a sort of cockpit that allows you to monitor daily/weekly activities/progress. It would be nice to be able to press a button and run a script based on what we see there instead of going into an entity to press the button.
Not sure how difficult this would be to implement
2 Likes
Hmm therr might be an existing solution, but I don’t quote understand the use case. Can you give some examples of what should happen when yoi press the button on a dashboard?
I have a use case, but it also requires global automations (not tied to a single entity).
On a dashboard I have set up, there are a ton of reports with values.
This looks at a lot of financial data, statistics, etc., and is made specifically for each dept. manager.
They want to sign-off on what they see, which would be so much easier served with a button to automate it. The script could:
- Get the user from the button click
- Find their related entities
- Change those entities states (approved, archived, whatever)
- Send an email (to a user, a group of users, w/e)
- Create another entity of any type, which:
- Is detected by n8n, cascading through a bunch of scripts on a local machine, calling the Fibery API, generating PDF reports, attaching them to emails… the works
That’s the dream, though.