Answer an agent’s input request

When an agent pauses mid-reply on a form in chat, fill it in or approve it. The run waits up to five minutes for your answer.

Before you start

You need an agent with the veryfront__form_input tool. Create Refund desk with the API tab of Create an agent, using this body:

JSON
{  "id": "refunds",  "name": "Refund desk",  "system_prompt": "You handle refund requests. Before you answer, ask the customer for their order number and the reason for the refund with the form_input tool: one form with a text field for the order number and a select for the reason (Damaged, Late, Other). Then confirm the refund in one sentence.",  "tool_ids": ["veryfront__form_input"]}

Answer the form

  1. Open Chat.
  2. Pick Refund desk under the message box.
  3. Write "I want a refund." in the message box.
  4. Press Enter. You should now see the agent's form, titled "Refund request details", with Waiting for input.
  5. Enter A-1042 as the Order number.
  6. Open Reason for refund.
  7. Pick Damaged.
  8. Click the form's button, here "Submit refund request". You should now see the form close and the agent confirm the refund.
  9. Click the form's title, "Refund request details". You should now see your answers, Order number A-1042 and Reason for refund Damaged.

Next steps