Actions

Collect information

Collect contact details and a visitor’s question, and learn when Muchat replies automatically after a startup lead form is submitted.

Overview

Use the Collect information action to collect a customer’s name, email address, and phone number for your team to follow up. The lead form can also include additional questions, such as the topic the customer needs help with.

Best for

Collecting contact details for follow-up, learning about your audience, and gathering initial information before a conversation.

How to create the action

Open the information collection form

In Actions, select Create action, then Collect information. If it already exists, edit the existing form.

Choose its timing and whether it is required

Use the rule sentence above the fields to choose the trigger and required or optional behavior. The options are explained below.

Edit the fields

Configure each field’s label, help text, and required setting. Use Add element for another contact field or question. Drag the handles to change field order.

Save and test

Select Save changes and publish. Check that the form is enabled in My Actions, then start a new conversation that matches its trigger.

Actual dashboard lead form editor showing the startup trigger, separate Open question field, and live form preview

When to use

TriggerBehavior
Before the conversation startsDisplays the form at the start of a new conversation.
After a number of messagesSet the number of customer messages, such as three. Bot replies do not count toward this threshold.
Based on a specific instructionDescribe when Muchat should run the form. For example: “Collect contact details when the customer asks for a phone follow-up.”

There are two separate required settings:

  • Required form: In the widget and dedicated page, the conversation cannot continue until the form is completed.
  • Required field: This field needs an answer before the form can be submitted. Making the form optional does not make all its fields optional.

Fields

TypePurpose
MessageExplain why information is being collected or how to complete the form
Full name, email, phone numberSave contact profile details; each can be added once
Open question (text)Collect an additional short answer
Single-choice options and selectChoose one answer from predefined options
Multiple-choice optionsChoose several answers from predefined options

Only require information you need for follow-up. Labels and descriptions should explain what to enter and why it is needed.

What is a lead form with a question?

It is a contact form with a separate Open question text field, such as “What would you like help with?” The visitor can enter “How can I track my order?” and submit it together with their name and email address.

The name field is also a text input, but it stores a contact profile detail. Renaming it “Your question” is not enough: use Add element → Open question to add a separate field. A Message element displays instructions, and choice fields collect selections; neither replaces this text question.

Actual widget form with sample contact details and How can I track my order? in a separate question field
The actual widget form with sample details: name and email identify the contact; the separate question field captures their request.

Automatic reply after submission

When this lead form appears Before the conversation starts, and the visitor fills in the text question and successfully submits the form, Muchat can answer in the same conversation. The visitor does not need to type the question again in the message box. The reply uses the submitted question and the agent’s knowledge and instructions; the form’s fixed success message is separate from the AI answer.

Configure the startup form

Set the information collection form to Before the conversation starts and add a text question beside the contact fields. Make that field required if every visitor should describe their request.

Save and open a fresh conversation

Select Save changes and publish, check that the action is enabled, and open the widget or dedicated page with a fresh guest identity. You can also test in the Laboratory.

Enter a question and submit

Provide valid details and a question covered by the agent’s knowledge. After successful submission, the details are saved and an AI reply is prepared without another visitor message. Check the answer in the same conversation.

Recorded from the actual widget: complete the form, submit the question, and see the reply in the same conversation. Contact details and reply text are local teaching examples; your agent’s answer depends on its knowledge and instructions.

Which submissions trigger this reply?

Form stateNew reply triggered by submission alone
Startup lead form with a filled text questionYes, if AI replies are available in the conversation
Only name, email, or phone fieldsNo; the contact details are saved
Optional text question left empty or containing only whitespaceNo
Only display text, choice fields, or number fieldsNo; a filled text question is needed
Lead form triggered by message count or an instructionThis startup reply rule does not apply
Independent form action or satisfaction surveyThis lead-form-specific rule does not apply

This behavior is supported in the widget, dedicated page, and Laboratory. The question’s answer must be shared with the AI; a field excluded from AI context does not trigger this reply. In the widget and Laboratory, the reply-after-startup-form setting must also be enabled. It is enabled by default.

The automatic reply does not start when AI is paused, the conversation is assigned to a teammate, or it has been resolved. Generating the reply also requires sufficient credit. Saving the form and generating the answer are separate steps: a missing reply does not necessarily mean the details were lost. Submitting a required form may also unblock a visitor message already waiting for an answer; that is different from generating a new reply to the form’s question.

Submissions

Details submitted through the name, email, and phone fields are connected to the contact’s profile. Review the complete form response, including additional questions, in Reports → Form responses. Filter by form or form type and open individual response details.

Submit valid information and check both the contact profile and the form response. Opening the form or entering only part of the information is not a successful submission.

Channels

In the widget and dedicated page, customers complete the form inside the conversation. On messaging channels, Muchat can ask for the required information conversationally and save it once the required fields are complete. Test this flow on your connected channel as well.

The video above illustrates the web conversation form. Messaging channels collect details conversationally; do not assume that every channel has the same form interface or startup submission reply rule.

Limits

  • Each agent has one shared lead form. Use a form action for forms with independent purposes and triggers.
  • A form accepts up to 50 elements, including display text, and needs at least one active input.
  • An instruction can contain up to 5,000 characters. Message counts must be positive integers.
  • Existing contact details can be used to populate the form. Use a fresh guest identity to test a new visitor’s experience. See Channels for conversation reset behavior.

Troubleshooting

If the form does not appear, check that the action is enabled, that its trigger is met, and whether contact details already exist. For message-count triggers, count customer messages. For instruction-based triggers, send a clear matching request and inspect the action call in the Playground.

If submission succeeds but no automatic reply arrives, check the reply conditions: Before the conversation starts, a separate filled text question, active AI, no teammate assignment, and sufficient credit. Then check the saved form response in Reports and the conversation’s state in Inbox.

MuChat documentation

On this page