Lesson 3 of 4 Enterprise Integration Architectures

Enhancing CRM, Document Processing and Contact Centers with Generative AI

This lesson covers typical generative AI enhancements to existing business processes, CRM, contact centres, document-heavy back offices and employee knowledge work, and the AWS services that implement them.

Learning outcomes

After completing this lesson, you will be able to:

  • Enhance CRM processes with Lambda and Bedrock.
  • Automate document processing with Step Functions and Bedrock Data Automation.
  • Identify managed services for contact centres and employee assistants.

CRM enhancements with Lambda

Customer relationship management (CRM) systems hold a company's interactions, sales opportunities and support cases, much of it as unstructured text that staff must read. Generative AI can reduce this work. Lambda functions triggered by CRM webhooks or Amazon EventBridge partner events can summarise long email threads into the account record, draft personalised follow-up emails, extract action items and next steps from meeting notes, classify and route new cases, and score sales leads with an explanation of the score.

Results are written back through the CRM's API, usually as suggestions that a person reviews and accepts rather than as automatic changes. This keeps people accountable for what is said to customers, lets them correct errors before they matter, and provides a natural source of feedback on the quality of the suggestions.

Scenario questions

Adding GenAI to a CRM

Exam skills 2.5.3

Choose the integration for each CRM enhancement.

Log in to try this activity Interactive activities are free with an account.

Document processing with Step Functions and Bedrock Data Automation

Back-office processes such as claims, loan applications and invoices follow a pattern: classify the document, extract fields, validate them against business rules and systems of record, route low-confidence or failing items to human review, and store the results. Step Functions orchestrates these steps with retries, parallel processing of pages or documents, and task-token waits for human review.

Amazon Bedrock Data Automation handles the extraction step for documents, images, audio and video. A project groups the configuration, and blueprints define the fields to extract for each document type, with natural language instructions and normalisation; BDA can classify incoming documents and apply the matching blueprint, returning confidence scores used to decide on human review. This replaces much of the custom extraction code previously built with OCR and prompts.

The following diagram shows the document processing workflow.

Processing mortgage application bundles. A Step Functions workflow sends each bundle to Bedrock Data Automation with a blueprint per document type, a Lambda function validates extracted income against bank statements, items below a confidence threshold wait for underwriters with a task token, and the results are stored.
The confidence threshold is set by the lender.
Put in order

A back-office document workflow

Exam skills 2.5.3 · 2.1.5

Put the stages of a mortgage document workflow in order.

Log in to try this activity Interactive activities are free with an account.

Contact centres and employee assistants

Several AWS services bring generative AI to common business functions without building everything from scratch. Amazon Connect contact centres use generative AI for self-service bots, built with Amazon Lex and Bedrock, that resolve routine requests; for real-time assistance that suggests answers to human agents during a call; and for automatic summaries after each contact.

For employees, Amazon Q Business provides a managed assistant over enterprise data that respects each user's existing permissions, so employees see only answers drawn from documents they are allowed to read; it closed to new customers on 31 July 2026, and AWS recommends Amazon Quick for new deployments. Amazon Quick (Amazon Quick Suite) combines research, business intelligence with Amazon Quick Sight and automation agents for knowledge workers. Choosing these managed services is usually the least-effort answer when a requirement matches what they provide. The following table maps business needs to services.

Business needTypical implementation
Summaries and drafts in a CRMLambda triggered by CRM events, writing back through the CRM API
Structured extraction from mixed documentsBedrock Data Automation blueprints
Multi-step document workflow with reviewStep Functions with task-token human review
Contact centre self-service and summariesAmazon Connect with Lex and Bedrock
Employee assistant over enterprise dataAmazon Q Business or Amazon Quick
Worked example

Mortgage applications

A lender receives mortgage applications as bundles of payslips, bank statements and ID documents in varying formats. It wants fields extracted, cross-checked and low-confidence items reviewed, with the least custom extraction code.

A Step Functions workflow sends each bundle to Bedrock Data Automation with blueprints per document type, validates extracted income against statements in a Lambda function, routes items below a confidence threshold to underwriters with a task token, and writes approved data to the loan system's API.

Check yourself

Which service orchestrates classify, extract, validate and human review steps for business documents?

Show answer

AWS Step Functions, which runs each step in order with retries and can wait for a reviewer.

Exam Tips

Remember for the exam

  • CRM enhancements: Lambda on CRM events; humans accept suggestions.
  • Field extraction across document types: Bedrock Data Automation blueprints.
  • Orchestrate classify, extract, validate, review: Step Functions.
  • Managed employee assistant: Amazon Quick for new deployments; Amazon Q Business for existing customers.