{
  meta: {
    $param: [
      {type: "text", name: "booking_data"}
    ]
  },
  exec: {
    steps: {
      condition: {
        outputType: "boolean",
        if: "{{$param.booking_data.stripe_checkout_url}}",
        then: {
          steps: {
            run: {
              name: "stripe_checkout",
              outputType: "text",
              action: "{{browser1.goto($param.booking_data.stripe_checkout_url)}}"
            }
          }
        },
        else: {
          steps: {
            run: {
              name: "non_stripe_checkout",
              outputType: "text",
              action: "{{notifies1.success('Booking Confirmed! Please check your email.'); modal_book_popup.hide()}}"
            }
          }
        }
      }
    }
  }
}