Slack Message with Blocks configuration

Hi, I would like to send a Slack message with blocks.

Here is an example of the trigger:

token = "HELLO WORLD"
event_api.trigger(
            name="trigger-name",
            recipients=subscriber,
            payload={
                "blocks" : [
                    {
                        "type": "section",
                        "text": {
                            "type": "mrkdwn",
                            "text": f'*Asset:* {tokens}'
                        }
                    }
                ]
            }
        )


How do I configure the workflow to use the blocks? e.g., I have attached a picture of the current Slack workflow.

Is the only way to achieve this through the new Novu Echo framework?
Screenshot_2024-07-10_at_13.23.23.png
Was this page helpful?