Microsoft Office · Arazzo Workflow
Microsoft Office Announce a New OneDrive File in a Teams Channel
Version 1.0.0
Find a file in the drive root, confirm its metadata, and post it to a Teams channel.
Provider
Workflows
drive-file-to-teams-notification
Notify a Teams channel that a OneDrive file is ready.
Browses the drive root, verifies the target item carries a file facet, checks the destination channel exists in the team, and posts a message naming the file. Folders are not announced.
1
browseRoot
listMyDriveRootChildren
List the items in the drive root so a file can be resolved by name and so the announcement reflects what is actually present in the drive.
2
inspectItem
getMyDriveItem
Read the target driveItem to confirm it exists and carries a file facet, and to capture the name and size quoted in the announcement.
3
resolveChannel
listTeamChannels
List the team's channels to confirm the destination channel resolves before a message is posted against its id.
4
announceFile
sendChannelMessage
Post the announcement to the channel, naming the file and its size so readers know what landed without opening OneDrive first.