# Google Calendar

**URL:** https://discourse.nodered.org/t/google-calendar/2295
**Category:** General
**Created:** [15 August 2018 05:21 UTC](https://discourse.nodered.org/t/google-calendar/2295 "2018-08-15T05:21:03Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![leomozzer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/leomozzer/32/1783_2.png) [@leomozzer](https://discourse.nodered.org/u/leomozzer)
#### Post date: [15 August 2018 05:21 UTC](https://discourse.nodered.org/t/google-calendar/2295/1 "2018-08-15T05:21:03Z")

</div>

How create events in google calendar using the node-red?  
I make the download of the nodes from the google calendar and already have the credentials of google calendar.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [15 August 2018 11:44 UTC](https://discourse.nodered.org/t/google-calendar/2295/2 "2018-08-15T11:44:47Z")

</div>

what Node are you using?  
What have you tried?  
Are you getting an error??

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [15 August 2018 11:54 UTC](https://discourse.nodered.org/t/google-calendar/2295/3 "2018-08-15T11:54:16Z")

</div>

If you are using the google calendar nodes in node-red-node-google. The info panel for the node describes the msg properties you need to set.

If you are having difficulties I would check you can read a calendar event.

If you can't check you have enabled the Google plus api as well as the calendar apis (see pre-requisites in the Read Me)

---

<div class="post-metadata">

### Author: ![leomozzer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/leomozzer/32/1783_2.png) [@leomozzer](https://discourse.nodered.org/u/leomozzer)
#### Post date: [15 August 2018 13:17 UTC](https://discourse.nodered.org/t/google-calendar/2295/4 "2018-08-15T13:17:39Z")

</div>

I'm using the bluemix app and made the dowload of a google calendar Node. The credentials are ok cuz already show my name in google calendar output node. But I dont know how the format of my msg.payload to create the event in the calendar.

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [15 August 2018 13:22 UTC](https://discourse.nodered.org/t/google-calendar/2295/5 "2018-08-15T13:22:06Z")

</div>

Then look at the Info panel and follow the links, you have two options  
either a string in quick format  
or an object containing the parameters as per the link

There are two links to google pages that explain the formats

---

<div class="post-metadata">

### Author: ![leomozzer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/leomozzer/32/1783_2.png) [@leomozzer](https://discourse.nodered.org/u/leomozzer)
#### Post date: [15 August 2018 17:49 UTC](https://discourse.nodered.org/t/google-calendar/2295/6 "2018-08-15T17:49:52Z")

</div>

When i try to send the payload i get this error

 ![Captura%20de%20tela%20de%202018-08-15%2014-48-30](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/469e936b0bbcf5b8b6e5f1dfcb8d1a747ea0300a.png)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [15 August 2018 18:11 UTC](https://discourse.nodered.org/t/google-calendar/2295/7 "2018-08-15T18:11:07Z")

</div>

At a guess, the clue is in the error message. You are trying to create a standard entry which should have a duration (hence times not just dates). I would also guess that if you want to create an all-day entry, you are missing a flag of some kind.

---

<div class="post-metadata">

### Author: ![leomozzer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/leomozzer/32/1783_2.png) [@leomozzer](https://discourse.nodered.org/u/leomozzer)
#### Post date: [15 August 2018 18:28 UTC](https://discourse.nodered.org/t/google-calendar/2295/8 "2018-08-15T18:28:06Z")

</div>

Now worked. Thanks you all!!!

 ![Captura%20de%20tela%20de%202018-08-15%2015-27-01](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/226297c56012686254313162ebc81727d7cdb345.png)

---

<div class="post-metadata">

### Author: ![grandautism](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@grandautism](https://discourse.nodered.org/u/grandautism)
#### Post date: [5 July 2021 10:21 UTC](https://discourse.nodered.org/t/google-calendar/2295/10 "2021-07-05T10:21:35Z")

</div>

hello,  
I tryed this but I cannot create events from node red on my calendar, I can only read events. Could you please explain to me your process
