#actionable notifications pass data back?

1 messages · Page 1 of 1 (latest)

slow osprey
#

I've got some actionable notifications I'd like to set up and am struggling to find the info I need.

I have notifications set up to receive indications that recurring tasks are due, and would like to be able to pass back a "yep! this is done!" message that will perform an action via webhook to a different service. I have this part automated as well, however I'm struggling to tie them together.

These tasks exist in a database and have their own ID, meaning I'm not able to simply call a service to perform a single action, as the ID needs to be passed back through for the specific task that I'm addressing.

How can I pass that required unique ID back through to be able to perform the desired webhook?

Further context:
I'm using a webhook in Kanboard to update Home Assistant when a task moves to the ready column. (https://docs.kanboard.org/v1/dev/webhooks/)
I'm using nodeRed to handle the automation between the two, so that may be worth considering.
The companion app seems to be where I'm stuck though, as the documentation for it is either over my head or does not address this usecase (which seems very strange to me, but iono, i'm just some guy trying to remind his family when they have chores due. (https://companion.home-assistant.io/docs/notifications/actionable-notifications/)

Actionable notifications are a unique type of notification as they allow the user to add buttons to the notification which can then send an event to Home Assistant once clicked. This event can then be used in an automation allowing you to perform a wide variety of actions. These notifications can be sent to either iOS or Android.

blazing sonnet
#

The app just sends the action back to the server for you to process. Maybe save the id to a variable and use that for the action key?

slow osprey
#

each ID is used only once

#

and also more than one ID can be in use at a time

#

so it would need to be tied to the specific notification response

blazing sonnet
#

sounds like you can template it and use that value?