Use cases

What your agent can ask a person, and the answer it gets back.

Use cases
CaseWhat happens on the pageWhat the agent receives (response.data)
A bill to settleApprove some lines, correct one.

See the page

  1. The person sees each invoice with its amount.
  2. They tick the ones to approve.
  3. They correct an amount that is wrong.
response.data
{
  "invoices": {
    "selected": [0, 1]
  },
  "inv_3_amount": 909
}

API reference: the items component

An approval with a correctionA draft the person fixes before it goes.

See the page

  1. The person reads the draft reply.
  2. They correct what is wrong.
  3. They tick Send it and send.
response.data
{
  "reply": "Your order ships on Tuesday.",
  "send": true
}

API reference: reading the answer

A questionnaire with a deadlineShort, nameless, and closed on time.

See the page

  1. Each person opens their own link.
  2. They answer two questions. No name is asked.
  3. The link closes after two days.
response.data
{
  "useful": "very",
  "again": "yes"
}

API reference: setting the deadline