Check out of customer meetings

Add a custom check-out button to meetings to log end times for accurate billing, time tracking, and better field team accountability.

If your business employs a field sales team, consultants, or salespeople who meet customers in person or virtually, using the check-out option in meeting records to indicate their completion is a smart choice. The check-out option enables you to record the exact time your salespeople left or concluded a customer appointment, which is beneficial for billing and time-tracking purposes. However, if you take a cursory look at your CRM, you'll notice there's no such check-out feature, thus making it impossible to track whether your salespeople are conducting the meetings. So how can you stay updated on your customer meetings? Fortunately, our low-code tools are handy in this scenario.

Using a custom button equipped with a function, you can automatically check out of a meeting and update its custom date/time field with the check-out time. Read on to learn how to accomplish this task in less than 30 minutes.

Permissions and availability

  • Users with the Modules Customization permission can add custom fields and buttons.
  • Users with the Manage Extensibility permission can write custom functions.
  • Users with the Manage Sandbox permission can manage the sandbox.

Requirements

  • Add a Date/Time field in the Meetings module. This is where the function will record the check-out time when the button is clicked. Learn more
  • Create and link the button with a custom function, as detailed in the "Create a custom button" section below. Learn more
  • Test the workflow rule in a sandbox before deploying it in your production environment. Learn more

Add a custom field

The first step is to add a custom date/time field to the Meetings module.

  1. Navigate to Setup > Customization > Modules and Fields.
  2. Click the Meetings module to open the layout editor.
  3. Drag and drop the Date/Time field from the New Fields tray to the desired section of the layout.
  4. Name the date/time field (e.g., "Check-out Time") and define its properties as required.
  5. Once you have finished, click Save and Close.

Create a button

The next step is to add a custom button to the Meetings module.

  1. Navigate to Setup > Customization > Modules and Fields > Meetings > Buttons > Create New Button.
  2. Provide a name for the button. For example: "Check out of Meeting".
  3. Add a description (optional).
  4. Set the action to be performed as Function.
  5. The button's page and position will be preset to "In Record" and "Details," respectively.
  6. Choose the layouts where you want the button to be placed.
  7. Click Choose to configure a function and select Write your own.
  8. Provide a name for the function, along with a display name if necessary, and then click Create.
  9. On the Deluge Script Editor, do the following:
    1. Copy and paste the code provided below.
    2. Click Edit Arguments.
    3. Enter the name as id, select the value as Meetings - Meeting Id, then click Save.
    4. Save the function.
  10. Select the profiles who can view this custom button.
  11. Click Save.

The code

Code Copied
current = zoho.currenttime.toString("yyyy-MM-dd'T'HH:mm:ss'+00:00'");
info current;
mp = Map();
mp.put("Check_out_Time",current);
update = zoho.crm.updateRecord("Events",id,mp);
info update;
return "Checked out of meeting successfully";

Notes

  • Replace "xxxxx" with the name of the custom date/time field you specified while creating the field (see the Create a custom field section above).
  • Replace "+00:00" with your GMT time zone offset, e.g., "+05:30" for IST.
  • Make sure to use the accurate API names for their corresponding fields (e.g., "Check-out Time") in the code snippet. Learn more
  • You can customize the success message displayed when a user checks out of a meeting.
  • The script above is an example of how to check out of a meeting and update its custom date/time field with the check-out time. You can use this code to update the current time in a field of a record in any other module, such as Deals, by modifying the module name and parameters accordingly.

Tip

  • Configure and test the function in a sandbox to ensure that further development doesn't disrupt your production environment.

Test the solution

  1. Navigate to the Meetings module.
  2. Open a meeting record from which you want to check out.
  3. On the Meeting Details page, click the button you added to the page in the top-right corner.
    The meeting record should be considered as checked out.
  4. Check whether its custom date/time field has been updated with the check-out time.

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 PointCustom Button
  • EditionEnterprise and above
  • ComplexityMedium
  • Implementation Time30 minutes

Features used in the solution

Custom FieldCustom ButtonDeluge ScriptSandbox
Story Image

Looking for a custom solution?

Contact us, we will help enhance your productivity at lightning speed.

SUBMIT REQUEST

Developers: Share your solution with our community!