Download an Attachment

This operation downloads an attachment from a specified Outlook event or email.

📘

Note: This operation is part of the Outlook Book (BDK). To use this book, you need to first learn it in your agent.

Note: This operation requires the following permissions on the application: Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite

Input Concepts

ConceptDescriptionTypeRequired
attachmentThe attachment that will be downloadedoutlook attachmentYes

Output Concepts

ConceptDescriptionType
answerThe attachment as a file objectfile

Examples

Download the attachment for the specified event

get users from office365 whose mail is "john@acme.org"
get the first user
get the above's events from outlook
get the first event
get the above's attachments
get the first attachment
use the above as the attachment
download the attachment