Test returns routing prompts against approved Coda cases

Show support leads which approved returns, exchanges or refund-status examples a pinned PromptHub version routes incorrectly.

13 stepsCustomer supportProduct and engineering

Free to start, no card required.

How it works

  1. When this happens

    The support team runs its routing tests

    Schedule

  2. Step 1 · Code

    Choose the test set and prompt branch

  3. Step 2 · PromptHub

    Read the current prompt version

  4. Step 3 · Coda

    Load the team’s routing examples

  5. Step 4 · Code

    Select approved fictional cases

  6. Step 5

    Test each approved routing example

    1. Step 6 · Storage

      Check for a finished evaluation

    2. Step 7

      Check the case and prompt version

      Follows the first path that matches

      • New or revised test

        1. Step 8 · PromptHub

          Classify the fictional request

        2. Step 9 · Code

          Compare to the support team’s label

        3. Step 10 · Coda

          Write the result to the QA table

        4. Step 11 · Code

          Confirm Coda recorded the result

        5. Step 12 · Storage

          Save the completed evaluation

      • Otherwise

        Nothing happens

    Repeats for every item

Before you start

In Coda, create a test table with Case, Message, Intent, Approved and Synthetic, plus a results table with Key, Case, Expected, Actual, Match, Prompt and Run. Enter their IDs and a PromptHub project and branch that classifies its message variable as RETURN, EXCHANGE or REFUND_STATUS. Approve up to 24 fictional examples per run.

Accounts to connect

  • ScheduleBuilt into Connecto, no account
  • PromptHub
  • Coda
  • StorageBuilt into Connecto, no account

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template