Hey @solomon,
{
“nodes”: [
{
“parameters”: {
“toolDescription”: “Creates Events in the users calendar”,
“method”: “POST”,
“url”: “https://graph.microsoft.com/v1.0/me/calendar/events”,
“authentication”: “predefinedCredentialType”,
“nodeCredentialType”: “microsoftOutlookOAuth2Api”,
“sendBody”: true,
“specifyBody”: “json”,
“jsonBody”: “{\n "allowNewTimeProposals": true,\n "body": {\n "content": "{content}",\n "contentType": "html"\n },\n "end": {\n "dateTime": "{enddateTime}",\n "timeZone": "Europe/Berlin"\n },\n "start": {\n "dateTime": "{startdateTime}",\n "timeZone": "Europe/Berlin"\n },\n "hideAttendees": {hideAttendees},\n "importance": "{importance}",\n "isAllDay": {isAllDay},\n "isOnlineMeeting": {isOnlineMeeting},\n "isReminderOn": true,\n "location": {\n "address": {{address}},\n "displayName": "{locationdisplayName}",\n },\n "onlineMeetingProvider": {onlineMeetingProvider},\n "reminderMinutesBeforeStart": {reminderMinutesBeforeStart},\n "responseRequested": true,\n "sensitivity": "{sensitivity}",\n "showAs": "{showAs}",\n "subject": "{subject}",\n "categories": [{categories}],\n "attendees": [{attendees}],\n "recurrence": {{recurrence}}, \n}”,
“placeholderDefinitions”: {
“values”: [
{
“name”: “content”,
“description”: “The content of the event in html.”,
“type”: “string”
},
{
“name”: “enddateTime”,
“description”: “The date and time that the event ends using the "Europe/Berlin" time zone and ISO 8601 format.”,
“type”: “string”
},
{
“name”: “hideAttendees”,
“description”: “Determines whether attendees can see each other in the event invitation”,
“type”: “boolean”
},
{
“name”: “importance”,
“description”: “The importance of the event. The possible values are: low, normal, high.”,
“type”: “string”
},
{
“name”: “isAllDay”,
“description”: “Set to true if the event lasts all day. If true, regardless of whether it’s a single-day or multi-day event, start, and endtime must be set to midnight and be in the same time zone.”,
“type”: “boolean”
},
{
“name”: “isOnlineMeeting”,
“description”: “Indicates whether an event or meeting is created as an online meeting”,
“type”: “boolean”
},
{
“name”: “startdateTime”,
“description”: “The date and time that the event starts using the "Europe/Berlin" time zone and ISO 8601 format.”,
“type”: “string”
},
{
“name”: “locationdisplayName”,
“description”: “The name associated with the location.”,
“type”: “string”
},
{
“name”: “address”,
“description”: “Represents the physical address associated with an event’s location. If there is no physical address for the event give the value null.”,
“type”: “json”
},
{
“name”: “onlineMeetingProvider”,
“description”: “Represents the online meeting service provider. The possible values are "teamsForBusiness". If the event isn’t an online meeting give the value null.”,
“type”: “string”
},
{
“name”: “reminderMinutesBeforeStart”,
“description”: “The number of minutes before the event start time that the reminder alert occurs.”,
“type”: “number”
},
{
“name”: “sensitivity”,
“description”: “The sensitivity field specifies the sensitivity level of the event.|Possible values are: normal, personal, private, and confidential.”,
“type”: “string”
},
{
“name”: “showAs”,
“description”: “Specifies the availability status of the event.|It determines how the event is displayed on the calendar of the organizer and attendees in terms of availability. Possible values are: normal, personal, private, and confidential.”,
“type”: “string”
},
{
“name”: “subject”,
“description”: “The text of the event’s subject line.”,
“type”: “string”
},
{
“name”: “categories”,
“description”: “The categories associated with the event. If there are no categories give the value null.”,
“type”: “json”
},
{
"name": "recurrence",
"description": "The recurrence pattern for the event. If there is no recurrence then give the value null",
"type": "json"
}
]
},
"optimizeResponse": true
},
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"typeVersion": 1.1,
"position": [
420,
220
],
"id": "2a5d46af-d3d7-43fb-827e-3a3a2fd6c087",
"name": "CreateEvent",
"credentials": {
"microsoftOutlookOAuth2Api":
"name": "Microsoft Outlook account"
}
}
}
],
“connections”: {
“CreateEvent”: {
“ai_tool”: [
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”:
}
}
this is my http request tool using json and placeholder