Zoho Calendar Task

Create an Event in Zoho Calendar

 Create an Event in Zoho Calendar

You can use Zoho Creator Form to collect information and populate it in Zoho Calendar as a new event using createEvent() Deluge task.


<return value> = zoho.calendar.createEvent(<calName>,<Event Details key:value>);

<return value> is the map object containing response returned by Zoho Calendar.
<calName> is the name of the calendar in Zoho Calendar, where the event should be added.
<Event Details> is the map variable that holds the key,value pairs. The map key is the column name of the table and the map value is the field value as submitted in the ZC form.


Sample script to create a new event in Zoho Calendar. You can add the script to the On Success workflow section of the form.

mp = { "StartDate" : Date_Time_1, "EndDate" : Date_Time_2, "sum" : "localcalapitest", "loc" : "India", "desc" : "TEST" };
calResp = zoho.calendar.createEvent("TEST",mp);

StartDate &EndDate holds the start and end of the event (date format "dd-MM-yyyy HH:mm:ss").
sum refers to the name of the event to be created
loc refers to the event location
desc refers to the description of the event
calResp is the map variable which holds the value returned by Zoho Calendar.


  • Use date-time field type for strat date and enddate.

Sample script to create a new event in Zoho Calendar, where the values of start date, end date, sum. loc, desc are provided. Please note that the date-time values must be in the format as given below.

calResp = zoho.calendar.createEvent("TEST", {"StartDate" : "19-06-2012 17:20:00", "EndDate" : "20-06-2012 18:00:00", "sum" : "localcalapitest", "loc" : "India", "desc" : "TEST"});

 Response Format


Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocreator.com