Hi Everyone,
I am trying to create a Simple Outlook Calendar Event with an HTTP Request to Microsoft Outlook with a JSON Body , so far I have been unsuccessful.
HTTP 400 There was an error: “Bad request - please check your parameters”
HTTP 405 There was an error: “Method not allowed - please check you are using the right HTTP method”
As for your issue, not sure how outlook’s API expects this JSON body to look like but you might have more luck with our node, unless there’s a reason you can’t use it?
@gualter As far as I a tell you can’t add attendees to an event using the node in n8n so this would be a really helpful addition.
It exists as an option in the Microsoft graph API list, but an agent in m8n has to just create the event then send separate emails with links to the event without adding them as attendees which looks a bit weird and doesn’t add it to their calendar automagically. There’ are options to add required and optional attendees to events but they don’t show in the n8n outlook tool.
Currently the only options for creating events in Outlook in n8n are:
Calendar: Choose a calendar you want to add an event to. Select From list to choose the title from the dropdown list or By ID to enter a calendar ID.
Start Time: The start time for the event. By default, uses an expression evaluating to the current time ({{ $now }}).
End Time: The end time for the event. By default, this uses an expression evaluating to an hour from now ({{ $now.plus(1, 'hour') }}).
Use Default Reminders: Whether to enable default reminders for the event according to the calendar configuration.
All Day: Whether the event is all day or not.
Attendees: Attendees to invite to the event.
Color Name or ID: The color of the event. Choose from the list or specify the ID using an expression.
Conference Data: Creates a conference link (Hangouts, Meet, etc.) and attaches it to the event.
Description: A description for the event.
Guests Can Invite Others: Whether attendees other than the organizer can invite others to the event.
Guests Can Modify: Whether attendees other than the organizer can modify the event.
Guests Can See Other Guests: Whether attendees other than the organizer can see who the event’s attendees are.
ID: Opaque identifier of the event.
Location: Geographic location of the event as free-form text.
Max Attendees: The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only returns the participant.
Repeat Frequency: The repetition interval for recurring events.
Repeat How Many Times?: The number of instances to create for recurring events.
Repeat Until: The date at which recurring events should stop.
RRULE: Recurrence rule. When set, ignores the Repeat Frequency, Repeat How Many Times, and Repeat Until parameters.
Send Updates: Whether to send notifications about the creation of the new event.
Show Me As: Whether the event blocks time on the calendar.
Summary: The title of the event.
—
In outlook there are only options for:
Event
Create
Delete
Get
Get Many
Update
—-
Adding extra functionality where possible to the match the Outlook tool with the Google tool would be greatly appreciated.
I hear you, could be a good improvement indeed. Please open the feature request directly in the GitHub repo so our nodes team can take a look later, or you can open a PR as well for their consideration!