Replies: 1 comment 1 reply
-
I solved this problem by creating a custom trigger |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background
I'm currently developing a sensor that sends messages to Slack using attachments or blocks
Depending on the payload of the event, I would like to dynamically adjust the content of the message that is sent
I'm aware parameters are supported in the Slack trigger. However, since attachments and blocks are JSON in YAML format, I haven't found a good way to use parameters in them
Is there a recommended or efficient approach to achieve this?
Example
The manifest above is a copy of one of the exmaples with a few changes
For example, if I want to change the title of the attachment depending on the payload of the event, is there a way to make this work?
Beta Was this translation helpful? Give feedback.
All reactions