Email Intent to Action Agentic Workflow
Summarize
Summary of Email Intent to Action Agentic Workflow
The Email Intent to Action Agentic Workflow automates the processing of inbound emails by intelligently interpreting their requests, extracting necessary information, executing relevant actions, and generating appropriate responses. This automation helps ServiceNow customers efficiently handle diverse email requests without manual intervention, improving response times and consistency.
Show less
Key Features
- Email Request Types: The system categorizes incoming emails into Workflow Executions (triggering predefined automated workflows) and Information Queries (answering questions using AI search profiles).
- Intent to Action Mapping: Emails may contain multiple intents (distinct requests), each mapped to specific actions such as executing subflows or sending reply emails. Administrators configure these intents and associated actions for tailored automation.
- Default Intent Action: For emails that do not match any preconfigured intent, a fallback action ensures every email receives a response, such as a generic acknowledgment or manual review note.
- Email Agents: The workflow uses specialized AI agents:
- Intent Identification Agent: Uses large language models (LLMs) to analyze email content, recognize multiple user intents, and map them to configured categories.
- Intent Executor Agent: Extracts required data from emails and triggers corresponding workflows or actions. It also manages missing input scenarios via configurable modes (request inputs, skip intents, or execute all).
- Email Generator Agent: Crafts clear, context-aware email responses using predefined templates. It supports both supervised draft creation for human review and automated sending for routine requests.
Practical Benefits for ServiceNow Customers
- Automated Triage and Processing: Streamlines inbound email handling by automatically identifying and fulfilling multiple requests within a single email.
- Consistent and Personalized Responses: Generates relevant replies that maintain branding and tone through configurable templates, enhancing customer communication quality.
- Configurable Flexibility: Allows customization of intents, actions, fallback behaviors, and response modes to align with unique business workflows and policies.
- Improved Efficiency and Accuracy: Reduces manual effort and errors by leveraging AI-powered intent recognition and action execution, enabling faster resolution of email requests.
The Email agentic workflow automates inbound email processing by intelligently interpreting requests, extracting required information, performing actions, and generating responses.
Email request types
- Workflow executions: These emails contain requests where the system identifies one or more intents that trigger predefined automated workflows. This enables execution of custom processes based on the email content.
- Information queries: For these requests, the system acts as an intelligent assistant, answering questions by using default AI search profile that can be mapped to existing information sources.
Intent to action driven email processing
The foundation of an intelligent email automation lies in accurately interpreting the purpose of an incoming email and executing the appropriate actions. This process is driven by Intent to Action mapping.
- Intent: The underlying purpose or request expressed in an incoming email. A single email can contain multiple intents, each representing a distinct request (for example, "approve my leave" or "answer my question").
- Action: The specific task or process that the system executes in response to a successfully identified intent.
Admins configure intents to enable the system to recognize and process different types of requests. The system identifies all relevant intents in an inbound email, matches them to preconfigured intents, and maps each intent to its corresponding actions.
Once an intent is identified, a corresponding action is triggered. Each intent can have one or more configured actions, such as executing workflows or sending reply emails. For inbound emails containing multiple intents, the system executes the configured actions for each identified intent independently. Actions include:
- Subflows: These are predefined workflows that execute a series of steps relevant to the matched intent. For example, a "leave approval" intent might trigger a subflow to initiate an approval process.
- Reply Emails: In some cases, the action involves sending an automated email response back to the sender. For example, an acknowledgment or a direct answer containing extracted information.
The system's framework continuously analyzes incoming emails, identifies their intents, and performs the associated actions, providing a structured and automated approach to managing diverse email requests.
Email Agents
Email agents automate the triage and processing of inbound email requests by identifying intents, executing actions, and generating appropriate email responses.
- Intent Identification Agent
This agent acts as the initial brain of the workflow and identifies one or more intents in the inbound email request using LLMs. It uses these advanced LLMs to analyze the content of an inbound email, deciphering its underlying intents. Once identified, these intents are then mapped to their corresponding preconfigured and customized intents within the system.
The Intent Identification Agent functions include:- Intelligent Intent Recognition: Using LLMs to understand natural language and identify one or more user requests.
- Custom Intent Mapping: Linking recognized intents to specific, user-defined categories or actions. This enables flexibility and tailors it to the unique business needs.
- Action Association: Identifying intents with a variety of subsequent actions.
- Intent Executor Agent
Once the Intent Identification Agent has determined the email's purpose, the Intent Executor Agent takes over. Its role is to carry out the instructions associated with each identified intent. This involves extracting any crucial data points from the email (for example order numbers, customer IDs, specific requests) and then executing the corresponding actions or workflows.
The Intent Executor Agent functions include:- Input Extraction: Identifying and extracting critical information from the email content needed for subsequent actions.
- Action Execution: Triggering and managing the execution of the predefined workflows or actions configured for each identified intent.
- Default Action Handling: Providing a fallback mechanism by executing a default action if an email's intents can’t be matched to any specific custom intent, confirming no request goes unaddressed.
Note:Once the intent is finalized, this information will be used to retrieve any relevant actions. - Email Generator Agent
The Email Generator Agent functions include:
- Contextual Response Generation: Using all available information and context to create highly relevant and personalized email responses.
- Draft Creation (Supervised): Generating email drafts that can be reviewed and approved by a human agent before sending, enabling oversight and quality control.
- Automated Sending (Unsupervised): For routine or low-risk requests, the agent can be configured to automatically send emails without human intervention, significantly boosting efficiency.