Organize Folder and Invite Reviewers
A 3-step recipe with Microsoft Word. We can help you get access.
Recipe · 3 steps
Organize Folder and Invite Reviewers
with Microsoft Word
Create a folder, add a document, and invite reviewers.
- Create the project folder under the parent item, renaming on conflict. Graph returns 201 with the created folder drive item.
- Upload the Word document content into the target item. Graph returns 200 when replacing content or 201 when creating a new file.
- Send a sharing invitation granting the recipient write access with a notification. Graph returns 200 with the granted permissions.
What you'll need to have ready
- parentItemId: The drive item identifier of the parent under which to create the folder.
- folderName: The name of the new folder to create.
- documentItemId: The drive item identifier to upload the document content into.
- fileContent: The binary .docx content to upload.
- recipientEmail: The email address of the reviewer to invite.
- inviteMessage: The message included in the sharing invitation.
For your developer
Arazzo workflow microsoft-word:organize-and-invite, 3 operations: createFolder → uploadContent → addPermissions. Specs on APIs.io.