Activechat Manual
  • What is Activechat?
  • New? Start here
    • The basics
    • Set up your first project
    • Install the chat widget
    • Upload the knowledge
    • Explore the CRM
    • AI-assisted live chat
      • How to set context for AI hints
    • Live chat mobile app
    • Build your first automation
  • Conversational AI
    • For Customer Service Teams
    • For Product Managers
    • For Innovation Teams
    • For Marketers
    • For e-commerce
    • For developers
  • Help Guides
    • Setting up your team
    • Managing conversations
      • Customer attributes
      • User tags and segments
      • Searching for specific users
      • Agent tags (live chat groups and queues)
      • Triggering live chat sessions from the bot
      • Notifications with the TRIGGER block
    • Managing knowledge
      • Uploading business data
      • Question answering and live chat hints
      • Fine-tuning the large language model
    • Natural language automation
    • Building automations visually
      • Customizing your welcome message
      • Adding new skills
      • Navigating skills
      • Copying skills and blocks
      • Handling errors
    • Improving your virtual agent
    • Using live chat AI hints
    • Customizing automatic website page messages
    • Tracking website actions
    • Facebook Ads automation
      • How to set up a Facebook ads bot
      • How to use buttons and quick replies in a Facebook ads chatbot
    • Lead generation
    • Zapier integrations
    • Customizing your project
      • How to customize the chat widget
      • How to customize the Facebook chat widget
      • How to change bot settings
    • Pricing guide
  • Fundamentals
    • Terminology
      • Intents and entities
      • Contexts
      • Skills and events
        • Built-in system skills
          • /start
          • /default
          • /_default_fallback
          • /_start_live_chat
          • /_page_visit
          • /_error
      • Conversation elements
        • Messages
        • Buttons
        • Quick replies
        • Galleries / carousels
    • Messaging channels
      • Website chat widget
        • Installation
        • Customization
        • Voice input
      • Chat widget landing page
      • Facebook Messenger
        • Connect your page
        • 24 hour rule
        • Message tags
        • Persistent menu
      • Telegram
      • Email
      • Twilio SMS automation
    • Intents and bot skills
    • Conversation insights
    • Grow tools
      • Landing pages
      • Messenger links and QR codes
    • Broadcasting
  • Visual builder reference
    • Sending messages
      • TEXT
      • LISTEN
      • IMAGE
      • MEDIA
      • GALLERY
      • FILE
      • EMAIL
      • SMS
      • LEAD
    • Triggering events
      • SEND
      • CATCH
      • TRIGGER
      • LIVE CHAT
    • Manipulating data
      • DATA
      • ADD TAG
      • REMOVE TAG
      • JSON
      • STATUS
      • VALIDATION
    • Conditional logic
      • SWITCH
    • Timers and delays
      • TIMER
      • WAITFOR
      • WAITUNTIL
    • E-commerce blocks
      • CATEGORY
      • PRODUCT
      • VARIATIONS
      • SIMILAR
      • UPSELLS
      • CROSSSELS
      • Shopping carts
        • ADD TO CART
        • UPDATE CART
        • SHOW CART
        • CLEAR CART
        • CREATE ORDER
    • Natural Language
      • NLP
    • System attributes
    • System events
  • Integrations
    • Google services
      • Connect your Google account
      • Google Sheets
        • Searching and updating Google Sheets data
        • Building galleries with Google Sheets data
      • Google Calendar
        • Searching for events
        • Creating and updating events
    • Shopify
    • WooCommerce
    • Dialogflow
      • Building an agent
      • Using entities
      • Slot filling
      • Context management
      • E-commerce NLP
Powered by GitBook
On this page
  • Lead generation chatbot flows
  • Setting up the hook
  • Building the flow
  • Creating the integration
  • Advanced integration options
  • Validating the data
  • Next steps

Was this helpful?

  1. Help Guides

Lead generation

PreviousHow to use buttons and quick replies in a Facebook ads chatbotNextZapier integrations

Last updated 3 years ago

Was this helpful?

Chatbots and virtual assistants can be a great source of new leads for your business. You can run various lead generation chatbot campaigns on multiple channels, including , , and your website pages. Every purchase starts with a conversation, and your virtual assistant is a perfect tool to get these conversations going.

In this guide, we will check various options for chatbot-powered lead generation and show you how easily Activechat can handle even the most complex lead generation scenarios.

Some features described in this guide will require a basic understanding of a visual chatbot builder in Activechat. Please check this introductory if you didn't do it yet.

Lead generation chatbot flows

Since every part of conversational AI in Activechat is based on various chatbot skills, you should use exact same approach with your lead generation campaigns. The process is extremely straightforward:

  • Design a conversation flow for your lead generation campaign

  • Trigger this flow in a certain communication channel

  • Collect lead data and send it for further processing

We'll start this guide by building a simple lead generation sequence that can be used to collect visitors' data on your website pages. The basic parts of this flow are:

  1. The Hook. Something that grabs your visitor's attention and invites him or her to chat. The hook can be a simple message, a question that continues the inner dialogue that customers may have in their mind, an offer, or anything else that is interesting enough to get the customer's attention.

  2. The Flow. This is a quick engagement flow that builds a quick relationship with a customer. The goal is to collect data about the customer that will be used to rate and classify this lead and lay some foundation for further interactions (like arranging a call or visit).

  3. The Integration. This part of a chatbot lead generation flow will send lead details for further processing. It can be a simple email sent to your virtual assistant's admin address, or a more complex integration when lead data will be pushed directly to your CRM or another backend.

Setting up the hook

Let's start with an extremely simple lead generation campaign that will be triggered right from the beginning of a conversation. That means we can put the whole flow into the of your virtual assistant.

Here's the hook message in the :

Let's suggest that the offer in the hook is attractive and the customer clicks the "Sure! Please do." button. Now we have to get the customer's data and send the actual coupon.

Building the flow

Once your visitor is ready to get the coupon, we need to get some data in exchange. For simplicity, let's limit this data to the visitor's first name and email.

Let's hit the "+" button in the visual builder and add a new skill, naming it something like "send_coupon" (you can choose any other name if you want, just keep in mind that only Latin characters, digits, and underscores can be used.

Let's start building the flow for your new skill:

Here's how this skill will render in the actual conversation:

If you check the list of Conversations, this lead will be already there:

Ok, now that we have the customer's data, it's time to send the coupon. You can do it in multiple ways (for example, by setting up automation in your email platform or CRM), but for now, let's just send an email through Activechat.

Creating the integration

In the example above, we used the second EMAIL block to send the lead details to our own example address. This approach is ok for manual lead processing and if the number of leads you get is quite small. Here's how we craft the notification email with attribute values that we get in the conversation previously:

Certainly, this kind of manual lead processing is not an option for larger campaigns with hundreds and thousands of new leads. In this case, some advanced approaches can be used.

Advanced integration options

There is a number of approaches that you could use to store and process lead data in Activechat. Let's briefly check the available options.

Google Sheets

Click the link below to read more about Google Sheets integration in Activechat.

Zapier

Zapier can help you send new leads to most CRMs (Salesforce, Hubspot, Zoho, Freshdesk, etc).

Click the link below to read more about Zapier integration.

Custom APIs

If you need help integrating your virtual assistant into your business framework, don't hesitate to ping us at ask@activechat.ai for advice. We can suggest the most efficient integration option and even do the development for you.

Validating the data

Making your automated conversation as fool-proof as possible should always be a goal for a conversational designer. Activechat has a set of tools to validate data entered by customer and ask for corrections if the format is not valid.

Let's add a quick email validation sequence to the lead generation flow that we've built before:

Next steps

You can connect your lead generation chatbot flow to the Facebook Ads campaign to get new leads from conversations on Messenger.

You can also customize lead generation flows for different pages of your website and introduce advanced features like triggering the conversation after specific time spent on a page or a specific number of visits.

The hook is made up of three messages - welcome , , and another text with a button. This is how it will be rendered in the actual conversation:

This message will be sent to every new website visitor (or any new Facebook user sending a message to your page, if you have a connected).

If you are following the guide and building this skill in a , don't forget to hit the blue "RUN" button in the top right corner of your screen to deploy your changes to the cloud virtual agent.

Since we may have multiple lead generation campaigns with different hooks but similar flows, it makes sense to arrange this part of a conversation as a separate . It will allow you to re-use the sequence later in other similar situations by triggering that skill.

The skill name is actually the name of the event that will trigger this skill in a conversation. You can use the block to trigger events from anywhere in the bot.

This skill is also very straightforward. We use the block to ask the user about her email, saving the response to the $_email , and then ask their name, saving it to the $_first_name attribute.

Both $_email and $_first_name are system-reserved attribute names. The values you put there will be displayed in the customer profile in your .

.

Notice the use of a special kind of quick reply in the first LISTEN block. On some messaging channels ( or ) it will be replaced automatically with the customer's email available on this messenger, removing the need to type it in manually.

We also added an to the second message, so that the customer could click it and go to a specific section of the website.

First of all, let's send the coupon to the customer. We'll do that right from the conversation flow, using the block:

Before using the block in your flows, make sure to set up your SMTP server credentials in the integration settings.

.

With the native integration, you can send lead data directly to your Google Drive. Other teams can access the shared sheet to further process the data.

is an advanced integration tool that helps you connect various applications and send data between them. You can easily integrate Zapier into Activechat by triggering a with the block.

The same block mentioned above can be used to send lead data from your virtual assistant to any custom API that your backend system may have. To build this kind of integration, you may need some assistance from a developer.

We're using the block to check if the value in the $_email attribute is actually an email. Next, we use the block to check the validation result in the $_validation_result . If it is true, the "=true" exit of this block will be triggered and the flow will continue to the next block asking for the customer's name. But if the validation fails, the SWITCH block will continue to another TEXT that informs the customer about the problem and asks to re-enter the email, returning the flow back to the block.

.

.

text
image
Facebook Messenger channel
visual flow builder
skill
SEND
Read more about events and skills in Activechat.
LISTEN
system attribute
live chat CRM
Click here for the complete list of system-reserved attributes
Facebook Messenger
Telegram
URL type button
EMAIL
EMAIL
Read more about e-mail integration in Activechat
Google Sheets
Google Sheets
Zapier
Zapier webhook
JSON
Zapier integrations
JSON
VALIDATION
SWITCH
system attribute
TEXT
LISTEN
Click here to read more about Facebook Ads integration for lead generation on Facebook Messenger
Click here to read more about advanced website tracking
Facebook Messenger
SMS
guide to building conversations visually
/start skill
visual flow builder
Lead generation chatbot hook
Example of a lead generation chatbot hook
Adding a new skill to your virtual assistant
Lead generation flow in the visual chatbot builder
Lead generation chatbot skill in action
Lead data in the visitor's profile in the live chat CRM
Sending emails from a chatbot conversation
Using custom attributes in the email message text
Email validation in the lead generation chatbot flow