action microsoft_create_contact { label: "Create contact" description: "Create a contact in the signed-in user's contacts folder." provider: microsoft method: POST path: "/v1.0/me/contacts" scopes: ["Contacts.ReadWrite"] input: @json { { "type": "object", "required": ["givenName"], "additionalProperties": false, "properties": { "givenName": { "type": "string" }, "surname": { "type": "string" }, "emailAddresses": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string" }, "name": { "type": "string" } } } }, "businessPhones": { "type": "array", "items": { "type": "string" } }, "mobilePhone": { "type": "string" }, "companyName": { "type": "string" }, "jobTitle": { "type": "string" }, "personalNotes": { "type": "string" } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "displayName": { "type": "string" } } } } }