Power of Automation :: Streamline Task Sync from Zoho Projects to Zoho Mail.

Power of Automation :: Streamline Task Sync from Zoho Projects to Zoho Mail.

Hello Everyone,

A Custom function is a user-written set of code to achieve a specific requirement. Set the required conditions needed as when to trigger using the Workflow rules (be it Tasks / Project) and associate the custom function to it.

Requirement:-

One of our customers wanted to automate the process of adding the Tasks to Zoho Mail's To do list when a Task is created in Zoho Projects. This can be achieved using Task Custom Functions along with Workflow Rules in Zoho Projects. 
 
Custom function code:-
 
paramMap = map();
paramMap.put("title", taskName);
paramMap.put("description", description);
paramMap.put("priority", priority);
HeadersMap = map();
HeadersMap.put("Accept", "application/json");
HeadersMap.put("Content-Type", "application/json");
response = invokeurl
[
type: POST
parameters: paramMap.toString()
headers: HeadersMap
connection: "XXXXX"
];
return "success";

Info
Make sure to replace XXXXX with the Zoho Mail connection link name along with scopes: ZohoMail.tasks.READ and ZohoMail.tasks.WRITE.

Check this link to learn how to create the connection. Please find the screenshot of the parameters to be mapped and sample Task Workflow Rules.

We hope you found this post useful. If you have any questions, feel free to share them in the comments below.

    • Sticky Posts

    • Automation Series: Auto-create Dependent Task on Status Change

      In Zoho Projects, you can automatically create and assign a dependent task when a task’s status is updated. This helps teams stay aligned, ensures reviews happen on time, and reduces manual effort. In this post, we’ll walk through an easy setup using
    • Time Log Reminder

      Tracking the time spent on tasks and issues is one of the most important functions of a timesheet. However, users may forget to update the time logs because they have their own goals to achieve. But, time logs must be updated at regular intervals to keep
    • Introducing the Zoho Projects Learning Space

      Every product has its learning curve, and sometimes having a guided path makes the learning experience smoother. With that goal, we introduce a dedicated learning space for Zoho Projects, a platform where you can explore lessons, learn at your own pace,
    • Update on V2 API End-of-Life Timeline

      Dear Users, Earlier this year, we shared the launch of the V3 APIs and requested users to migrate from the older V2 APIs by December 2025. We have received valuable feedback from our users and partners regarding their migration timelines. We are happy
    • Automation Series: Auto-update Phase Status

      Hello Folks! You can auto-update your phase's status based on status of underlying tasks using custom functions. In this series, we will showcase how to create and run custom functions, using Deluge, with ease. Follow the steps below and automate your