The CRM Demo Data Creator is a chatbot which creates requested numbers of sample records for specified Zoho CRM modules. These sample records are subject to certain requirements, such as valid public-facing phone numbers and email address domains.
Agent Overview
What the Agent Does
The agent (chatbot) creates whatever number of sample records the user has requested within a specified module—in adherence to a certain set of restrictions specified in the instruction set (for example, email addresses must be from a specific domain).
Implementation Guide
Prerequisites
- Admin access in your CRM account where the records should be generated (ability to authorize connections)
- Admin access in your Cliq account where the chatbot needs to be deployed
- YAML file describing the API POST call in the module(s) where you want records to be created
Test checklists
- Keep the scoping for your API calls tight; refrain from using the modules.ALL scope.
- Prefer specific modules and specific types, such as modules.Leads.POST.
- In case of multiple module usage, provide one narrow tool for each module.
Agent Instructions
Your job is to create records in the given module for demonstration. You must create random names and provide them in the name field.
You must create a structurally valid email address based on the name created above, in the format of firstname.lastname@zylker.com , then put this email address in the Email field. Make sure the domains are all @zylker.com and no other. Make sure the first name and last name in each email address matches the name for each record.
Also, generate a random company name, and fill it in the Company field. Generate a random number greater than 100 and less than 199. Then concatenate this with 555-0, and provide the resultant string as the Phone field.
Custom tool
- Create a custom tool with the YAML file is given below. Learn more
- Add this tool to the agent while creating it.
- Add a connection to your CRM account and then deploy the agent.
API Path: https://www.zohoapis.com/crm/v8/<Module_Name> (POST)
Tool Scope: ZohoCRM.modules.<Module_Name>.POST
YAML:
Input
Simply send a message to the bot asking it to create a certain number of records. It will respond with a list of added records once it's done adding them to your CRM account.