Streamlining Product Return Requests with Zoho MCP

Streamlining Product Return Requests with Zoho MCP


Hello everyone!

Welcome back to another edition of the Kaizen series where we uncover powerful ways to extend and customize Zoho CRM.
In this Kaizen, we will explore how Zoho MCP can be used to create and configure a Kiosk that simplifies the product return request process.
The objective is to demonstrate how MCP can assist with Kiosk configuration.

Business Scenario

 Zylker Technologies is a corporate electronics supplier that sells products such as laptops, monitors, and printers to businesses.
When customers request product returns due to defects or delivery damage, sales representatives must manually locate the original Sales Order, retrieve the relevant product details, and create a Return Request in Zoho CRM.
This involves navigating between records and re-entering information, making the process time-consuming and prone to data-entry errors, especially for orders containing multiple products.

Instead, the representative should be able to:
  1. Start a return request from the relevant Sales Order.
  2. View the products included in that order and select the item the customer wants to return.
  3. Automatically view the selected product's details, such as product name, ordered quantity, and list price.
  4. Enter the return quantity, reason for return, requested resolution (return or replacement), and any additional comments.
  5. Check whether the Sales Order is eligible for a return.
  6. Submit the request if the order is eligible, creating a Return Request record with the relevant details populated.
  7. Receive an appropriate message if the Sales Order is not eligible for a return.

Implementation

1. Configure Zoho MCP Server

 Before we begin, we need to configure Zoho MCP. Refer to the Zoho MCP implementation guide for the detailed configuration steps.
 The setup involves:
  1. Creating or selecting a Zoho MCP server.
  2. Adding the required MCP tools from Zoho CRM to the server.
  3. Connecting the MCP server to VS Code (here we are using VS code).
  4. Authorizing access to your Zoho CRM organization.
For this use case, add the following MCP tools to support the implementation:
  1. Kiosks: To create and configure the Return Request Kiosk.
  2. Modules: To inspect the available CRM modules.
  3. Fields: To retrieve module field details.
  4. Custom Button: To create a button in the Sales Orders module to launch the Kiosk.
Once the connection is established, open GitHub Copilot in VS Code and switch to Agent mode. Verify that the Zoho CRM MCP tools are available before proceeding.

2. Configure the solution using prompts

Instead of providing the entire requirement in a single prompt, we will break it into smaller prompts. This allows us to review the result of each step before proceeding.

Prompt 1: Inspect the existing CRM configuration

First, ask MCP to inspect the modules and fields involved in the process.

Quote
Prompt:
Inspect the Sales orders, Products and Return Request modules, their fields, lookup associations.


Prompt 2 : Create and configure the Kiosk

Next, ask the MCP to create and configure the Kiosk by providing the process flow.
Quote
Prompt:
Configure the process so that the sales representative can view and select products from the Ordered Items associated with the current Sales Order. Retrieve the ordered product entries belonging to that Sales Order and make their details available for selection.

Once a product is selected, display its Product Name, Quantity, and List Price on the next screen. Allow the representative to enter the return quantity, select a return reason and requested resolution, and provide an additional description.

Check the Return Eligibility of the current Sales Order. If eligible, allow the representative to confirm and create a Return Request record with the appropriate details. If not eligible, display a suitable message without creating a record.



MCP Response:
The MCP successfully created a Kiosk named Return Request Kiosk in the Sales Orders module and saved it in Draft mode. The Kiosk uses the current Sales Order record as its context.
The Kiosk comprises the following flow:

1. Select Ordered Product
The first screen displays the Ordered Items associated with the current Sales Order, including Product Name, Quantity, and List Price. The sales representative can select one product to proceed.

2. Enter Return Details
The next screen displays the selected product's name, ordered quantity, and list price. The sales representative can then provide the following details:
  1. Return Quantity (required)
  2. Return Reason (required): Defective or Wrong Product
  3. Requested Resolution (required): Replace or Return
  4. Description (optional)
3. Check Return Eligibility
The Kiosk checks the Return_Eligibility field in the current Sales Order.
  1. If eligible: The sales representative is taken to a confirmation screen displaying the return details. On clicking Confirm and Create, a Return Request record is created, followed by a success screen.
  2. If not eligible: The Kiosk displays a Return Not Eligible message and ends the process without creating a record.
4. Create Return Request
For eligible Sales Orders, the Kiosk creates a record in the Return Requests module with the following details:

The Kiosk created through MCP:


Info
The MCP suggested the next step as well : "Do you want me to activate the kiosk and add a custom button on the Sales Order detail page to launch it? Without that, reps have no way to open it, and I'd test a run before relying on it."

Prompt 3: Activate the Kiosk and associate it to a button in Sales order record.

Next, we will proceed with configuring a custom button named Create Return Request on the Sales Order detail page. This allows sales representatives to launch the Kiosk directly from the relevant Sales Order.

Quote
Prompt:
Activate the Kiosk and add a custom button on the sales order detail page to launch it.

A button is created in Sales Order record detail page and is associated with the Kiosk created.

3. View the result in Zoho CRM

Once the configuration is complete, navigate to the Sales Orders module and open a Sales Order. You should now see the Create Return Request button on the record detail page.
Click the button to launch the Kiosk and follow the guided process.

Tips for Working with Zoho MCP
  1. Define clear requirements: Explain the business scenario and expected outcome.
  2. Use step-by-step prompts: Break complex tasks into smaller prompts and review each result.
  3. Inspect before configuring: Let MCP examine existing modules, fields, and relationships to avoid assumptions.
  4. Review MCP's responses: Verify the generated configurations, field mappings, and transitions.
  5. Consider MCP's suggestions: Review and approve recommended next steps.
  6. Test different scenarios: Validate both successful and unsuccessful paths before activation.

Summary

In this Kaizen, we explored how Zoho MCP can transform natural-language requirements into CRM configurations. Using simple, step-by-step prompts, MCP inspected the existing CRM setup, configured a Return Request Kiosk, and created a custom button to launch it from Sales Orders. This demonstrates how MCP can simplify CRM customization, reduce manual configuration efforts, and help developers turn business requirements into working solutions more efficiently.

Further Reading:

  1. Get Started With Zoho MCP
  2. Zoho MCP Implementation Guide
  3. Zoho MCP FAQ