Flow description
Purpose and benefits
Workflow Description: Recognize a Company Address
Overview
The “Recognize a Company Address” workflow is designed to evaluate email addresses and determine whether they belong to generic/free email providers (such as Gmail, Yahoo, Outlook, etc.) or to a custom (usually business or organizational) domain. This is an important task for lead qualification, business targeting, and filtering potential customers or contacts based on their email type.
How the Workflow Operates
Welcome and User Guidance:
When the user opens the chat, the workflow automatically triggers a welcome message. This message introduces the tool and explains its function: distinguishing between generic email providers and custom company domains.
The user is prompted to input an email address for analysis.
User Input:
The user enters an email address into the chat interface.
Prompt Preparation:
The workflow takes the user’s input and inserts it into a dynamic prompt template. This template instructs the underlying AI model to analyze the provided email address and respond with:
TRUE
if the email uses a custom/company domain (e.g., @company.com
)FALSE
if the email uses a generic/free provider (e.g., @gmail.com
, @yahoo.com
)
The prompt is very specific, ensuring the AI returns only one of the two possible outputs.
AI-Powered Evaluation:
The composed prompt with the user’s email is sent to a Large Language Model (LLM) generator. The LLM processes the request based on the prompt’s instructions.
Result Display:
The AI’s output (TRUE
or FALSE
) is displayed in the chat, providing immediate feedback to the user regarding the type of email address provided.
Workflow Structure
Step | Component | Function |
---|
1 | ChatOpenedTrigger | Detects when a user opens the chat and initiates the workflow. |
2 | MessageWidget | Displays a welcome/instructional message to the user. |
3 | ChatInput | Receives the email address input from the user. |
4 | PromptTemplate | Constructs a clear and concise prompt for the AI, embedding the user’s email address. |
5 | Generator (LLM) | Processes the prompt and determines if the email is generic or a custom domain. |
6 | ChatOutput | Shows the LLM’s response (TRUE /FALSE ) directly in the chat interface for the user. |
Why This Workflow Is Useful
Lead Qualification at Scale:
Quickly distinguish between personal and business/professional emails for sales, marketing, or customer onboarding, enabling automated lead scoring and filtering.
Targeted Outreach and Segmentation:
Helps segment users or leads based on whether their email is associated with a company, which is useful for B2B campaigns or access controls.
Automation & Consistency:
Eliminates manual checking, reducing human error and saving time, especially when processing large lists of email addresses.
Immediate Feedback:
Provides users or team members with instant results, making it suitable for interactive workflows or self-service tools.
Example Use Cases
- Sales Teams: Automate the identification of high-value leads by filtering out generic email addresses.
- Marketing Teams: Tailor campaigns to only business or organization-affiliated contacts.
- Customer Success: Quickly verify if sign-ups come from company domains for access to special features or account types.
Summary
This workflow combines user interaction, prompt engineering, and AI-powered evaluation to efficiently and reliably determine the nature of an email address. It is especially valuable for organizations seeking to automate and scale their lead qualification and user segmentation processes.