Is this article helpful?

We love to hear from you!

Table of Contents

How to Automate Contact Information Collection with AI

Sana Updated by Sana

In this article, you’ll discover how to automatically collect Contact information i.e., email address or phone number, using AI Agent. You can accomplish this by using or customizing the Collect Contact Phone Number with AI or Collect Contact Email with AI Workflow Templates.

Benefits of Automated Collection of Information

Collect Contact information via AI Agent because:

  • AI driven data collection is highly efficient and less prone to errors compared to manual data entry. Quick processing and validation of information from various sources, ensures that Contact data is accurate and up-to-date without any human intervention.

Workflow Setup

To use the Collect Contact Phone Number with AI or Collect Contact Email with AI workflow template, click + Add Workflow > Click Collect Contact Phone Number with AI or Collect Contact Email with AIUse Template in the Workflows module.

  1. Trigger: The Workflow starts when a conversation is opened by the Contact.
  2. AI Agent: The AI Agent Step is used to collect information from the Contact and verify it. The following settings have been used.
  1. ObjectiveCollect Information, to ask for and collect the Contact’s information.
  2. AI Persona: The default persona was used with any additional information required.
  3. Variable Configuration: The information collected by AI is saved as variables. In this template:

Variable 1

  • Variable Name: name
  • Variable type: Text
  • Variable description: a description of the variable.

Variable 2 - phone

  • Variable Name: phone
  • Variable type: Number
  • Variable description: a description of the variable. This template also ensures that the phone number is in the E164 format.

Variable 2 - Email

  • Variable Name: email
  • Variable type: email
  • Variable description: a description of the variable. This template also ensures that the email address format is correct.
You can add more variables using the Add Variable button.
  1. Success: When the AI Agent has collected all the information successfully, this is the branch the Contact’s journey follows.
  2. Success Message: Close Conversation: The Contact is informed that the conversation is being closed after collection of data using the Send a Message Step. The following settings have been used:
    • Channel: Last Interacted Channel, to send the message to the channel the Contact is using.
    • Message Type: Text
    • The message informs the user that the conversation is closing after success.
  3. Update Contact Name: The Contact’s name is updated on the platform. The following settings have been used:
    • Contact Field: The First Name or field has been selected so that the Contact’s first name can be updated.
    • First Name: The variable $name containing the name provided by the Contact.
    $ is used to refer to variables created while defining the AI Agent Step.
  4. Update Contact Phone/Email: The Contact’s phone number/email is updated on the platform. The following settings have been used:
  5. Contact Field: The Phone Number/Email field has been selected so that the Contact’s phone or email can be updated.

  1. Phone Number/Email: The variable $phone or $email containing the phone number or email provided by the Contact.
  2. Close Conversation: Success: This Step closes the conversation using the Close Conversation Step.
  3. Failure: Others: In case a technical failure occurs, this is the branch the Contact’s journey follows.
  4. Failure Message: Assignment: This Step informs the Contact that an error occurred and they will be assigned to an agent soon using the Send a Message Step.
    • Channel: Last Interacted Channel, to send the message to the channel the Contact is using.
    • Message Type: Text
    • The message informing the user that the conversation is being sent to an Agent.
  5. Assign to Team: Assigns the Contact to a team of agents using the Assign to Step.
    • Action: Assign to a user in a specific team.
    • Select Team: Select the team that can provide the best support to the Contact.
    • Assignment Logic: Assign to users round robin.
  6. Assignment Message: The Contact is informed that they are assigned to an agent using the Send a Message Step.
    • Channel: Last Interacted Channel, to send the message to the channel the Contact is using.
    • Message Type: Text
    • The message informs the user that the conversation is being sent to an Agent.
  7. Failure: Idle: In case the Contact does not respond to queries and the conversation has been idle for more than 15 minutes, this is the branch the Contact’s journey follows.
  8. Failure Message: Close Conversation: This Step informs the Contact that the conversation is being closed using the Send a Message Step.
    • Channel: Last Interacted Channel, to send the message to the channel the Contact is using.
    • Message Type: Text
    • The message informs the user that the conversation is being closed.
  9. Close Conversation: Idle: This Step closes the conversation using the Close Conversation Step.
    The AI Agent collects the Contact’s name and phone number/email information.

Feeling stuck? Do not fear.

Need assistance? Contact us for support. Help is here!

How to Maximize Customer Service Potential with AI Agent

How to Route Contacts to Preferred AI Agent

Can't find what you're looking for?

Talk to an expert here!

Contact Us
Powered by HelpDocs (opens in a new tab)

Powered by HelpDocs (opens in a new tab)