Developers
ENPT

Forms

Capture structured data from conversations, such as name, e-mail or order details, and send it to your systems.

A form tells the avatar which information to collect during a conversation: name, e-mail, document, the product of interest. The AI asks for the missing fields or extracts them from what the customer already said, and the answers are saved for each contact.

To open the screen, go to the menu and, under Train, click Forms. It has three tabs:

TabShows
Captured DataEverything collected, one row per contact.
My formsYour forms, split into Active and Inactive.
Available FieldsThe fields you can reuse in any form.

Build a form

Add fields

In the form editor, click Add Field and pick from the available fields, or create a new one with Create Field. Field types include Text, E-mail, Number, Phone, Date, Date/Time, Yes/No, URL, List, File and Media.

Configure each field

Choose Ask (the avatar asks the customer) or Don't ask (filled from context only), mark it as Required, describe it and, for asked fields, explain How to ask the user. Choose Overwrite or Concatenate for what happens when a new value arrives.

Write the general instructions

In General Instructions, describe when and how the form should be used during the conversation.

Activate

Turn the form Active and save.

Form settings

SettingOptions
ScopeLead: contact data and initial qualification. Conversation: information specific to the current conversation.
Capture strategyEvery message: real-time capture; the avatar asks for pending fields during the conversation. Idle conversation: cheaper, deferred capture that runs a few minutes after the conversation goes quiet. In this mode the avatar does not ask for missing fields.
Conditional captureWhen on, capture only starts after the condition in When to capture is met, for example "the customer showed intent to buy".
Data Collection PeriodThe date range in which the form collects answers.

Each form also has a Responses tab with its answers and a Report tab with totals, completion rate and a summary per field.

Captured data

Captured Data shows the answers of all forms. Use Select columns to choose the fields, Add filter to combine conditions (contains, equals, is empty and others) and the period filters on the side. From a row you can open the conversation, see the history of each value and restore a previous version.

Protected fields stay hidden until someone with permission clicks Show protected data. Every reveal is recorded in the logs with who accessed it and when.

To start a campaign with the captured contacts, select rows and click Create Campaign.

Capture from existing conversations

In Conversations, select conversations and click Capture Data. Choose the form and, optionally, add instructions for the capture. The AI reads the selected conversations and fills the form.

Actions: send data to your system

An action is a button that sends a contact's captured data to another system, such as your ERP or CRM. Create it in the form editor with New action:

  • Button label, Method and URL, plus optional Headers and Body.
  • Execution: Synchronous (shows result) or Asynchronous (queue), and a Timeout (ms).
  • Parameters: values the operator can choose and adjust when running the button. Turn on Send form data in the body to include the captured data.

Actions become available after the form is published to production. Operators run them from the captured data rows, and View executions shows the status, HTTP code, response and duration of each run.

AdvancedTechnical details

Forms in automations. Captured fields can be used as data preconditions in Automations, so an automation only runs when, for example, an e-mail has been captured.

API. With a host token you can read forms and their values, and run captures, through the endpoints under /api/externalAPIs/public/formFlow/:

EndpointUse
POST .../getFormCatalogsList the forms. Optional avatarId.
POST .../getValuesRead captured values for a list of leadIds.
POST .../formCaptureFromConversationsCapture forms (formCatalogIds) from existing conversations (conversationIds).
curl -X POST "https://api.tolky.to/api/externalAPIs/public/formFlow/getValues" \
  -H "Authorization: Bearer $TOLKY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"leadIds": ["3f0c2a8e-..."]}'

See Authentication.

Previous

Follow-up

Next

Campaigns