Which part needs AI?

Use the service a customer selected on the form to route the inquiry. If all you have is a message like “Can you help with this?”, a classifier can suggest a category. A colleague still writes the reply.

Give the first release a finish line

In this example, staff copy website messages into a CRM, choose a category and assign a colleague. Our example ends when one complete inquiry reaches its reviewer. Sales replies, contract changes and promises about availability stay with the team.

This is a sample specification. Use your own field names, account permissions and release criteria. If customers already choose from a reliable service list, you can leave the classifier out altogether.

  • Start when the form accepts a valid submission.
  • Create one CRM record with the original reference, service category and reviewer.
  • The reviewer decides whether to reply, quote or ask another question.
  • Send failures to a queue staff can see and retry.

Decide what each field means

Keep the customer’s own words next to any suggested category. A reviewer should be able to spot a misread message without opening another system. Send the classifier only the text it needs for that decision.

Example inquiry field map
FieldSource and validationWhat it’s for
inquiry_idGenerated once when the form submission is acceptedIdentifies repeat submissions and helps staff trace an error
contact_emailThe visitor enters it and the form checks itFinds a contact using the business’s CRM matching rule
requested_serviceAn allowed form choice, when suppliedRoutes the inquiry directly when the visitor has chosen a service
messageThe original inquiry with an agreed length limitGives the reviewer context. Send only the relevant text for classification.
suggested_categoryAn allowed category or needs_reviewA suggestion that remains separate from the original request
processing_statusThe workflow records the outcome of each stepPending, completed or needs_review, with a recorded failure reason

Where the classifier hands back control

Validate the form and give the inquiry a reference. Route it using the selected service if possible. Send ambiguous text to the classifier. If the suggested category is missing, contradictory or outside your list, put the inquiry in the review queue.

Before creating a record, check whether the CRM already has that reference. Notify a colleague after the CRM confirms the write. Account credentials, permitted API calls and the decision to email a customer stay under the workflow’s control.

Label a set of past inquiries by hand and compare the classifier’s answers with yours. Pay attention to which services it mixes up. A confidence score on its own won’t tell you which mistakes need a human review.

What if the CRM times out?

A timeout can mean the CRM saved the lead but its reply never reached your site. Check the original reference before sending another write. Use the CRM’s duplicate protection where available, or agree how to look up and reconcile the record.

Record each completed step. For example, if the notification fails after the CRM has saved an inquiry, retry just the notification. Set a retry limit and give staff a way to pause the workflow and recover the original message.

Decide who may see the logs, which fields they contain and when to delete them. Use made-up inquiries for early tests. Agree on access and use of customer data before switching to production.

Eight tests to run together

Use test records to walk through the table with the developer. Add an incomplete inquiry from your form and two categories your team often confuses. Save the results as a record of what this release could handle on test day.

What to look for in the CRM and the review queue
TestExpected behaviorEvidence to review
Normal inquiryOne record reaches the agreed ownerSource reference matches the CRM record
Repeated submission eventNo duplicate inquiry is createdBoth attempts refer to the same result
Missing emailThe form asks for correction before processingNo downstream action was attempted
Ambiguous wordingRequest enters human reviewOriginal text and suggested category are visible
Unsupported model outputWorkflow rejects the unexpected valueValidation failure is recorded
CRM timeoutChecks whether the record exists before retryingNo duplicate record after recovery
Notification failureOnly the unfinished notification is retriedThe original CRM record is still the only one
Customer asks for a quoteNo unapproved reply or price is sentThe request remains available for a person

Did routing save anyone time?

Compare a typical period before and after the change. Track how long a lead waits for a reviewer, how many reach the right person and how many end up in the queue. Count duplicate and failed writes. Leave test submissions out.

Include usage and hosting costs in that comparison. If staff spend longer correcting categories than they spent assigning them, narrow the classifier’s job or turn it off. Drafting replies for approval can wait for a separate decision.

For a quote, send the form, the CRM name, rough monthly volume and a few anonymized messages. Tell us your routing rules and who checks the queue. That’s enough to start discussing the connection and how you’ll test it.

Working on something similar?Explore services