Timed notifications using object parameters in Automate

Is there any way to use object parameters in a notification from Automate? When configuring a notification in an Action type you can use parameters from the object type in the notification heading/body, can this be accomplished in Automate as well? I want scheduled notifications that include object information.

Automate supports using these parameters if you write a function - see https://www.palantir.com/docs/foundry/automate/effect-notification/#function-generated-notification for more details.

More specifically, when using a function, you can pass “affected objects” from the object type used in the condition, or use static objects you specify as parameters to a function. The function needs to return the Notification type, which can specify a custom body and message.

At the moment, the system in automate differs slightly from actions in that we require using a function for this.

To add on top of @aroy 's answer: The use-case example for notifying contract owners of contract review contains an example for such a custom notification function that uses object properties to assemble the content.