Skip to main content
Poku forms let your AI agent collect structured data from a recipient mid-conversation or mid-task. The agent sends a unique Poku form link, the recipient fills out the form, and the response comes back to the agent via HTTP response or to your webhook.

How it works

  1. Your agent sends a form
  2. The recipient receives a link and opens the form in their browser
  3. They fill out the fields and submit
  4. The content is returned in the HTTP response if the form was filled out within the waitTime window. Otherwise, the form response can be delivered to your webhook within the followUpTime window.

Example: Dental customer intake form

Form SMS message received by recipient
Dental intake form

Building a form

A form is defined inline in the API request. Each request includes the form’s content and the delivery details.

Form-level fields

Form fields

Each item in the fields array defines one input:

Field types


Validations

Add custom regex rules to text, textarea, email, and phoneNumber fields. Each rule requires a title (shown below the field if it fails) and a pattern (regex the input must match).

waitTime and followUpTime

waitTime sets a countdown timer displayed directly on the form. When it expires, the agent moves on — but the form stays accessible for followUpTime. At least one field between waitTime or followUpTime must be supplied.

Response

When the form is submitted within waitTime:
values maps each field id to the submitted value. content is a formatted text summary your agent can read directly. When no submission is received within waitTime:

Channel Comparison