Multi select in Notion, Google docs, if function

Hi,

Problem. I want to export text to google docs according to terms:

  1. the selection option is multi select in Notion.
  2. according to this option the text is to be exported. Multiselect 1 = text 1.

Questions:

  1. how to modify this code to export all conditions in Google docs, not just the first one.
    {{if(contains(14.array[1].name; “Závažné okolnosti - prodloužení termínu realizace plnění”); “text1”; if(contains(14.array[2].name; “Navýšení ceny za dílo”); “text2”;
    if(contains(14.array[3].name; “Prodloužení předpokládaného zahájení termínu realizace plnění”); “text4”;
    if(contains(14.array[4].name; “Více práce - prodloužení termínu realizace plnění”); “text4”;
    ))))}}
  2. The variable in the code is from an array aggregator defined by an array number. Will it be dynamically transferred? That is, Multiselect 1 = text1 or will it be array1 like this depending on what option is set first in the multiselect in Notion?

Scenario.json (266.3 KB)


Iterator