When you create meetings for a contact record in your CRM, you may have noticed that the title defaults to "New Meeting," which requires customization each time. What if you could automatically set the contact's name as the title instead? This ensures that the meeting title is always relevant and indicates who you are meeting with. It can also help team members quickly understand the context of a meeting just by looking at its title. Although there's no straightforward method or ready-made automation that does this in Zoho CRM, our low-code tools make it possible.
To update the meeting title to the corresponding contact's name during its creation, you can create a custom function and connect it to a workflow rule in the Meetings module. We also have a bonus idea for implementing this feature for the Tasks module. Read the sections below to learn more.
Permissions and availability
- Users with the Manage Automation permission can create and update workflow rules.
- Users with the Manage Extensibility permission can create custom functions.
- Users with the Manage Sandbox permission can manage the sandbox.
Requirements
- Create a workflow rule for the Meetings module that triggers every time a new meeting is created. Learn more
- Write a custom Deluge function that updates the meeting's contact name in its title and link it with the workflow rule. Learn more
- Test the workflow rule in a sandbox before deploying it in your production environment. Learn more
Create a workflow rule
Follow these steps to create a workflow rule that updates the meeting's contact name in its title:
- Navigate to Setup > Workflow Rules > +Create Rule.
- Select the Module as Meetings from the dropdown list.
- Provide a name for the rule. For example: "Update contact name in title".
- Add a description, if required, then click Next.
- In the Execute this workflow rule based on section, do the following:
- Choose Record Action, and then select Create from the dropdown.
- Click Next.
- In the Which meetings would you like to apply the rule to? section, select All Meetings and then click Next.
- Under Instant Actions, select Function and Write your own.
- Provide a name for the function, as well as a description, if necessary.
- On the Deluge Script Editor, do the following:
- Copy and paste the code given below.
- Click Edit Arguments.
- Choose Meetings - Meeting Id, name it eventId, and then click Save.
- Click Save & Execute script.
- Click Save on the workflow rule page.
The code
eventDetails = zoho.crm.getRecordById("Events", eventId);
info eventDetails;
contid = ifnull(eventDetails.get("Who_Id"),"");
if ( contid != "")
{
contDetails = zoho.crm.getRecordById("Contacts",contid.get("id"));
mp=map();
mp.put("Event_Title",ifnull(contDetails.get("Full_Name"),""));
update = zoho.crm.updateRecord("Events", eventId, mp);
info mp;
info update;
}
Notes
- Make sure to use the accurate API names for their corresponding fields in the code snippet (e.g., Full Name). Learn more.
- This function updates a contact's full name into meeting titles. You can copy either the first or last name if needed.
- The code above is an example of how to automatically update the meeting title to include the contact's full name during its creation. You can use this code for any other module, such as accounts, by modifying the module name and parameters.
Tip
- Configure and test the function in a sandbox to ensure that further development doesn't disrupt your production environment.
Test the solution
- Navigate to the Contacts module.
- Open a contact record for which you want to create a meeting.
- On the Contact Details page, click the + icon alongside Open Activities in the Related List section, then select Meeting.
- On the Meeting Information page, enter the meeting details as required, and click Save. You can skip entering the meeting title.
The workflow rule will be triggered. - Check whether the meeting was created with the contact's full name in the title.
Idea
Similar to meetings, you can set a contact's name as the subject of its related task while creating it. Simply use the following code snippet in a workflow rule to achieve this.
taskDetails = zoho.crm.getRecordById("Tasks", input.taskId);
info taskDetails;
contid = ifnull(taskDetails.get("Who_Id"),"");
if ( contid != "")
{
contDetails = zoho.crm.getRecordById("Contacts",contid.get("id"));
mp=map();
mp.put("Subject",ifnull(contDetails.get("Full_Name"),""));
update = zoho.crm.updateRecord("Tasks", taskId, mp);
info mp;
info update;
}
Did you find this useful? Try it out and let us know how it works. Share this with your team if they'd benefit from it! If you have questions, please don't hesitate to contact us.
More info
- ModuleMeetings
- Trigger PointWorkflow Rule
- EditionEnterprise and above
- ComplexityMedium
- Implementation Time30 minutes

Looking for a custom solution?
Contact us, we will help enhance your productivity at lightning speed.
SUBMIT REQUEST