Customer Flow Edge Case

Promote an edge case to the happy path

Changed on

Makes this edge case the flow's happy path, and the outgoing happy path an edge case. Its persona and environment are baked into it first, so edge cases that were inheriting keep the configuration they had.

post/v1/customer-flow/{flowId}/edge-case/{edgeCaseId}/promote

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/customer-flow/{flowId}/edge-case/{edgeCaseId}/promote
  • Auth
    HTTP bearer

Path parameters

flowIdstring uuid required
edgeCaseIdstring uuid required

Response

The edge case, now the happy path

Example response

{
  "data": {
    "personaOverride": {
      "backstoryPrompt": "A busy professional calling during lunch break",
      "properties": {
        "age": 35,
        "zipCode": "94105",
        "occupation": "Software Engineer"
      },
      "phoneNumber": "+19312830919"
    }
  }
}

Changes

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status