I wonder how to manage notifications with parameters.
I want to export a dashboard which has a parameter. This parameter could be empty or have a few values. For each value, I want to send a notification (it will be an email, with variables in the body and an attached xls).
To set the idea, the parameters would be something along the line “each event id having happened 2 days ago”. We are talking about 0 to 5 events per day maybe.
My ideas so far are not great:
- using the API to generate an export. Parameters are then easy but I have to deal myself with email sending => doable but not ideal
- using the API to trigger a notification, but I am stuck with the setup of the parameters. Is there a way to have parameterised notification? => not doable as far as I know
- I might be able to create a custom token, which would return multiple IDs. Assuming I can, how can I have one notification per ID? => not doable as far as I know
Except for option 1 (manual export), would there be any way to achieve what I am looking for?
Cheers,