AskMavis
HelpChangelogRoadmapFeedback
  • Getting started
  • Your AI agent
  • Actions and procedures
    • What actions do
    • Custom actions
    • Collect leads and data
    • Talk to a person
    • Procedures
    • Start a custom action from a template
    • Send to a webhook
    • Lookup table
    • Email the team
  • Install your agent
  • Helpdesk
  • Contacts
  • Help center and boards
  • Workspace and account
  • FAQ
Actions and procedures

Collect leads and data

Have your agent ask for contact details or the information a request needs, right in the chat.

AT
Written by AskMavis Team
Published 51m ago

Two actions let your AI agent gather information in the chat: Collect leads for contact details, and Collect data for anything else a request needs.

Animation: a visitor asks for a quote, the AI agent shows a form asking for name and email, the visitor fills it in and submits, a thanks message shows, and the new lead appears at the top of Leads.

What the animation shows:

  1. A visitor asks for something that needs follow-up, like a quote.
  2. The AI agent shows the lead form. The visitor fills it in and clicks Submit.
  3. They see your Message after saving.
  4. The lead appears in Leads.

Collect leads

The agent asks for a name, email or phone when a visitor is interested, for example when they ask for a quote.

  1. Open your agent, go to Actions and add Collect leads.
  2. Describe When to use it, for example "When someone asks about pricing for a custom project".
  3. For Name, Email and Phone, choose whether to Ask for it and whether it's Required. Add More fields if you need them.
  4. Add a Message after saving, like "Thanks! Jo will send your quote today."
  5. Turn on Email the team about new leads if you want an email for each one. It goes to your workspace's owners, admins, members and support people (anyone who can answer chats, but not Viewers), except anyone who turned off New leads in their account's email notifications.
  6. Save, then publish.

Each lead is saved to Leads with the chat. It's added to Contacts only when the visitor agreed to be contacted, for example through the email gate or the form that offers a person.

Collect data

The agent collects the details a request needs, like a return form or a booking request.

  1. Add Collect data and describe When to use it.
  2. Under Fields, click Add field for each detail. Give it a Field name, a Type (Text, Number, Yes or no, Date or Email), What to ask for, and whether it's Required.
  3. Add a Message when done.
  4. Save, then publish.

Submissions show in the action's list of details visitors gave, newest first. To get an email when one comes in, add Email the team too.

Tips

  • Ask only for what you need. Every extra field means fewer people finish.
  • Make the "when to use" description specific, so the agent doesn't ask too early.

Related

  • Leads
  • What actions do

Was this article helpful?

Contact support

Related articles

  • What actions doLet your AI agent do more than answer, from showing a button to calling your own API.
  • Custom actionsConnect your agent to your own API so it can look up orders, bookings and accounts.
  • Talk to a personChoose when visitors can reach your team, and what happens if nobody is free.
  • ProceduresGive your agent step-by-step scripts for refunds, cancellations and other requests that need a set process.
← Back to Help Center

On this page

  • Collect leads
  • Collect data
  • Tips
  • Related
Powered by AskMavis