Notion multi select field with a if than fuctionallitz

I am trying to generate an email based on the values of a multi select field coming from notion.
The emails has a static headed, a title and a link from the multi select and a static footer.

Header
////
Hey there, thanks for subscribing to this event.
////
The topics are 1 start, 2 second, three end.
So wenn the multi select is showing 1 and 3 it should here
You are subscribing to 1
Please press the link1
You also scbscribed to 2
Please click the link2

Footer
///
looking forward to see you then
////

How can I decide which option is chosen in the multi select field and how to format the text. Any idees

Since the multi-select property value is an Array, you could decide the option chosen by inserting the option number as part of the mapped field (screenshot)

image

1 Like