web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add Parameters for Goo...
Power Automate
Unanswered

Add Parameters for Google Calendar Event

(1) ShareShare
ReportReport
Posted on by 2
I am creating a google calendar event and I'm setting a few parameters through the Parameters tab:
What I want to do, though, is to set additional properties of the event, such as its color. Based on the copilot response, I should add a new parameter in the form of
"newEvent/colorId": "8" 
but this is not supported in the Parameters tab and I cannot edit the Code view tab. Is this kind of editing really not supported or is there a workaround?
Thanks!

In other words, I'd like my code to simply look like this:
    "parameters": {
      "calendarId": "xxxxxx",
      "newEvent/start": "@triggerOutputs()?['body/end']",
      "newEvent/end": "@addMinutes(formatDateTime(triggerOutputs()?['body/end'], 'yyy-MM-ddTHH:mm:ssZ'),15)",
      "newEvent/summary": "post meeting buffer",
      "newEvent/description": "A buffer to avoid back to back calls",
      "newEvent/colorId": "8" 
    },
Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at
    If you are using the Google calendar action, you can only set values that are listed in the action. You cannot set additional properties in the code view. That is just for informational purposes so you can see the JSON code that is sent.
     
    I don't use any of the Google actions, but to do what you want, you would need to use the Google Calendar API to make an HTTP POST request. When Copilot said to add the parameter to the code, it probably assumed you were making an HTTP POST request through the API and wanted you to add it to the body of the request.
     
    You can get more information at Google Calendar API overview  |  Google for Developers. A brief glance at the documentation appears that it does support setting the color.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard