View a markdown version of this page

What agents see in the sample account and case guide - Amazon Connect Customer

What agents see in the sample account and case guide

The Salesforce template creates a sample account and case guide. It is a starting point, built from customer-managed views and the guide's flow modules, that you change to fit how your agents work; see Customize the guide. The guide reads and writes Salesforce as the integration user, so agents see only the records that user can see. In the sample, an agent meets the screens in this order:

  1. The guide finds the customer's account from the contact, or offers searches.

  2. The account view shows the customer, the recent cases and the contacts.

  3. The agent edits the account and its contacts, updates or creates cases, and adds a contact, or adds a customer when a search finds none.

  4. The case view shows one case with its comments, emails and files. Any case the guide or the agent finds opens there.

  5. If you deploy with Wrap-up flow and form set to Enabled, the wrap-up asks for a disposition code and notes when the contact ends.

Each form marks the boxes it needs with *, and isn't sent until they are filled in. For each screen's boxes and limits, the lines it shows, and when it calls Salesforce, see Reference: the sample guide's screens. For each message and what to check, see Messages agents might see.

Find the customer

The guide starts when the contact is offered to an agent. The Find the record module looks up the record from the contact attributes your inbound flow sets, accountId, caseId or contactEmail; see How the guide finds the record. A case opens the case view, one account opens the account view, and two to five accounts open Which record is this?

When nothing matches, the screen is titled Customer not found on a chat and Unknown caller on a call or any other channel, with empty Customer information and Recent cases cards. When the lookup itself fails, it is titled We couldn't look up this contact's record. On these screens, the agent can:

  • search with Search accounts and cases, by Name, phone, email or case subject, Account number, Contact email or Case number;

  • choose Search for the caller's number, on a call whose number your inbound flow saved in customerPhone;

  • choose Try again, after a failed lookup;

  • add the customer with New customer, after a search finds nothing.

The Customer not found screen in the Guide tab, with the warning No record matches this contact., the Search accounts and cases card with Search by and Search term, and empty Customer information and Recent cases cards.

On a call, the screen is titled Unknown caller and shows the caller's number.

The Unknown caller screen in the Guide tab, with the warning No record matches this contact., the Search accounts and cases card, and the Search for the caller's number card with the caller's number blurred and the line Searches the number's digits, without +1. If that finds nothing, search by name or email in Name, phone, email or case subject.

When the lookup fails, the screen offers Try again above the searches.

The We couldn't look up this contact's record screen in the Guide tab, with the warning This contact's record could not be looked up. Search for the customer., a Try again button, with the Search accounts and cases card below it.

When a search matches more than one record, Which record is this? lists the matches, with the number of matches. The agent can:

  • choose an account row to open its account view;

  • choose a Salesforce Contact row to open that Contact's account, with that Contact as the caller;

  • choose a case row to open the case view;

  • choose Search again to return to the searches.

The possible matches screen in the Guide tab: Which record is this? (2), with the line These records match "jordan.lee@example.com". Pick the record to open it.; one link line for each match, Example Corp · Account number LDIDOC1001 · Contact Jordan Lee and Example Corp Canada · Account number LDIDOC1002 · Contact Jordan Lee; and Search again.

After a search, a banner at the top of the account view names the account and how it was found. When the search matched more than one record, the banner has Pick a different one. The guide saves the chosen account on the contact, so a transferred contact opens the same account.

A banner that says Now showing Example Corp Canada, picked from 2 matches., with the Pick a different one button, above the account view of Example Corp Canada: Customer information with the caller Jordan Lee and the Refresh and Edit buttons, the collapsed Search accounts and cases and Create case cards, Recent cases (0) with No cases on this account., and Contacts with Edit on its row.

Any case match opens the case view, which says how the case was found. Back to the account then opens the account view with that case in a card of its own.

The account view

The account view shows these cards, in this order:

  • Customer information: the account's name, phone, billing city, account number, type and created date. When the Salesforce Contact the guide matched is among the account's five newest, a Caller: row shows that Contact's name, email and phone.

  • Search accounts and cases, collapsed, for a contact about another customer or case.

  • The named case, when the contact arrived with a case or a search found one.

  • Create case, collapsed.

  • Recent cases: up to five cases, open cases first, then the newest closed ones. Expanding a row shows its Origin, Type, Reason and dates.

  • Contacts: the account's five newest contacts, with their email addresses and phone numbers, and a collapsed Add a contact.

The agent can:

  • choose Refresh on Customer information, which reads the account from Salesforce again, for example after agent assist updates it;

  • choose Edit on Customer information or on a Contacts row; see Edit the account and its contacts;

  • choose View case on any case;

  • choose See all cases, which lists the account's cases ten at a time, with Previous, Next and Back to the account;

  • open Create case or Add a contact, or search again.

The guide also reads the account again when the agent returns from a case or from All cases, and when the view is left for 10 minutes with no action.

The account view in the Guide tab: Customer information for Example Corp with the Refresh and Edit buttons, the collapsed Search accounts and cases and Create case cards, and Recent cases (5+) with Showing the 5 most recent of 8. and See all cases, and each case's number, subject, status, created date and priority, and a View case button on each, above the Contacts card.

Edit the account and its contacts

Edit opens a screen of its own, which names the account or contact it edits and is filled in from the account view's last read:

  • Edit customer, from Customer information: Account name *, Account phone and Billing city.

  • Edit contact, from a Contacts row: First name, Last name *, Email and Phone. Only the five contacts the card lists can be edited.

The agent can:

  • choose Save, which writes every box to Salesforce as the integration user, so a box left empty clears that detail;

  • choose Cancel, which shows the account view again.

Before it writes, the guide compares the record's last modified date with the one it last read. If someone changed the record meanwhile, nothing is saved, and the agent opens Edit again to see the latest details. If Salesforce refuses the save, the form shows again with Salesforce's message and the values the agent typed.

The guide writes only the account on the contact and that account's contacts. Your Salesforce administrator decides which fields the integration user may edit. Salesforce records these changes as the integration user; to keep track of which agent made a change, see Record the agent in your system.

Update and create cases

Agents work on cases with two forms. Each writes to Salesforce as the integration user when the agent chooses Save or Create case.

  • Update case, in the case view: the status, Priority, Subject, What the customer asked for and a Comment box that adds a case comment. The status list holds your org's first 10 case statuses, closed ones included, so an agent can close a case; whether the integration user may close a case is set in Salesforce. After Save, a line under the case says what Salesforce saved.

  • Create case, in the account view: Subject *, What the customer asked for, Priority, the name, email, phone and company the customer gave, which are saved on the case, and a comment. The new case is on the account, with the caller's Salesforce Contact when the guide has one, and the account view shows it first.

In both forms, a box the agent leaves empty changes nothing on the case.

The Create case card open in the account view, below Customer information, with its Refresh and Edit buttons, and Search accounts and cases, with Subject, What the customer asked for, Priority, the name, email, phone and company the customer gave, a comment and Create case.

Add a customer or a contact

After a search finds nothing, the not-found screen offers a collapsed New customer card. It asks for the account name *, the contact's first name * and last name *, an email address, a phone number or both, and optionally a first case's subject and description.

Before it creates anything, it looks for an existing customer with the same email address or phone number. If it finds one, it creates nothing and opens the matching account, with A matching customer already exists, and nothing was created. This is the matching account. Otherwise, it creates the account and the contact together, so that either both are saved or neither is. If the agent entered a subject, it then creates the first case. It opens the new account.

The Customer not found screen with the New customer card open: account name, first and last name, email, phone, and the first case's subject and description, with Create customer.

Add a contact, at the foot of the Contacts card, creates a contact on the account with a first name *, a last name *, and optionally an email address and a phone number. The guide then reads the account again, and the next case the agent creates during this contact gets the new contact.

Recent cases (5+), with Showing the 5 most recent of 8. and See all cases, each row with its created date and priority, and the Contacts card below it, with each contact's name, email address and phone number and an Edit button on each row, and a collapsed Add a contact.

The case view

View case, or any case match, opens the case view. It shows:

  • the case's number, subject, status, priority, owner and created date;

  • Customer information, with the case's contact;

  • Update case, collapsed, for a case whose Status is New, Working or Escalated;

  • Description and Case details;

  • Comments and Emails, collapsed, with the newest three, and Notes and attachments, collapsed, with the newest five. Each file row has Open, which opens the file in a new tab.

The agent can:

  • update the case with Update case;

  • choose Back to the account;

  • choose Refresh when part of the case isn't shown or the case couldn't be loaded.

A case in any other status shows This case is closed, so it can’t be updated here. To offer Update case for other statuses, change the guide's status check.

The case view in the Guide tab, beside the chat and the Connect assistant panel: the case's number, subject, status, priority, owner and created date; Customer information with Back to the account and the case contact; Update case open with Status, Priority, Subject, What the customer asked for and Comment; Description; Case details; and the Comments, Emails, and Notes and attachments cards. The file row shows the file's title, type, size in bytes, who added it and when, and Open.

When a case is too large to show whole, or the integration user can't read one of its related lists, the case view shows Some of this case is not shown, without the description and the related lists. The integration user needs read access to the case, its comments, emails and files, and the Access Activities permission, which the permission set from Step 2 grants and its setup script checks.

The case view of a Working case for Example Corp Canada, with Customer information, Back to the account and the case contact Jordan Lee; the alert Some of this case is not shown, which says the description and related lists are left out, with a Refresh button; a collapsed Update case; and Case details with Origin and Last modified.

While the case view is open, the guide puts that case on the customer's contact, so agent assist answers about it and a transferred contact opens it again; see Reference: the sample guide's screens.

Agent assist next to the guide

On a contact that came through the stack's AI self-service flow, the Connect assistant panel answers the agent's questions from your knowledge base, and reads and writes Salesforce through the guide's flow modules. The agent can ask it to:

  • summarize the account or the case open in the guide;

  • list older cases;

  • find another customer;

  • create a case or a customer;

  • update the account or a contact.

It asks the agent to confirm each create and update before it runs it. Update a record writes every field it is given, and an empty value clears a field. So before an update, its proposal lists every field with the value it will send: the current value for each field the agent didn't ask to change, and the new value for the one that changes. The agent checks the whole list before confirming. For its tools and the security profiles that allow them, see Give agents agent assist in the agent workspace. For the AI self-service flow, see Use the Connect assistant with real-time data integration.

What agents need to know when they use it:

  • After agent assist updates the account or a contact, the account view shows the earlier details until the agent chooses Refresh on Customer information. Its instructions tell it to say so after each update.

  • It answers about the case open in the guide. If an answer is about a case the agent no longer has open, the agent asks it to read the open case again.

  • A case it creates gets your org's default priority, if it has one. The agent sets another priority with Update case after opening the case in the guide, for example by searching its case number.

The following image shows the Connect assistant panel asking the agent to confirm before it creates a customer.

The Connect assistant panel: the agent declines a case it proposed, then asks it to create a customer; it lists the account, contact, email and phone and asks Go ahead?; the agent answers Yes, create it, and it reports that the customer was created.

When the guide can't load the customer

If the guide can't load the customer's details, or one of its steps or screens fails, it shows The customer's details could not be loaded., with Refresh. While it shows:

  • the agent can't update cases or the account;

  • the agent works from what the customer says, and doesn't treat the empty screen as a clear record, because warnings on the account aren't shown either.

Refresh clears the open case and looks up the contact's record again. For each message and its usual cause, see Messages agents might see.

The wrap-up

If you deploy with Wrap-up flow and form set to Enabled, After contact work opens in the Guide tab when the contact ends. Wrap up this contact asks for a Disposition code * (Resolved, Follow-up needed, Escalated or Information only) and optional Notes. Save saves them on the customer's contact in Connect Customer; nothing is sent to Salesforce.

The After contact work screen in the Guide tab: Wrap up this contact, with Disposition code set to Resolved, Notes, and Save.