appId: ${APP_ID}
onFlowStart:
  - runScript: ../scripts/setChatRole.js
---
- runFlow: ../../../shared/launch-app.yml

- runScript: ../scripts/getTime.js

- runFlow:
    when:
      true: ${output.IS_SENDER}
    file: ../send-multiple-messages-flow.yml

- runFlow:
    when:
      true: ${!output.IS_SENDER}
    file: ../receive-multiple-messages-flow.yml
