kind: Workflow
trigger:

  kind: OnConversationStart
  id: my_workflow
  actions:
  
    - kind: SetVariable
      id: setVariable_test
      variable: Local.TestValue
      value: =Value(System.LastMessageText)

    - kind: ConditionGroup
      id: conditionGroup_test
      conditions:
        - id: conditionItem_odd
          condition: =Mod(Local.TestValue, 2) = 1
          actions:
            - kind: SendActivity
              id: sendActivity_odd
              activity: ODD

        - id: conditionItem_even
          condition: =Mod(Local.TestValue, 2) = 0
          actions:
            - kind: SendActivity
              id: sendActivity_even
              activity: EVEN

    - kind: EndConversation
      id: end_all
