Node-google update calendar event


Hi there,

I was wondering if someone is experienced with updating google calendar events with the node-google? I am able to create events with the following function:

msg.payload = {
'colorId': 3,
'summary': 'summary',
'location': 'location',
'description': 'description.',
'start': {
'dateTime': '2018-11-08T15:00:00',
'timeZone': 'Europe/Zurich',
'end': {
'dateTime': '2018-11-08T19:00:00',
'timeZone': 'Europe/Zurich',
'colorId': 'purple',
'foreground': 'purple',
return msg;

i was wondering if anyone could help me to explain how to just send an update to change the colorId of the event..

the flow looks like this: inject->function->google calendar out...

Best Regards...

Create and update Google Calendar events using node-red

haven't used it in a while but I think you need to send it as #RRGGBB


thanks for your reply... I need to clarify my question. Creating an event with the above code and flow works fine. As well as the color of the event. I was wondering if someone has a solution to just update a created event and just change its color...

thanks for any help