Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #363: Coffee or Tea? That’s the question.

kerrysherman
7 - Meteor

My solution!

KRueckemann
7 - Meteor
Spoiler
Capture.PNG

Supriya2203
8 - Asteroid

My solution

dmthornock
6 - Meteoroid
Spoiler
Challenge_363_Solution.png

 

logdog0411
9 - Comet
Spoiler
363 Wells Fargo.png

619sandesh
6 - Meteoroid

Trigger: When a new email arrives (V3)
Folder: Inbox

Action: Get email (V2)
Message Id: TriggerOutputs()?['body/MessageId']

Action: Create item (SharePoint)
Site Address: "https://yourtenant.sharepoint.com/sites/yoursite"
List Name: "Emails"
Title: TriggerOutputs()?['body/Subject']
Sender Name: TriggerOutputs()?['body/From']['Name']
Date: TriggerOutputs()?['body/ReceivedTime']

Condition: If Has Attachments (from Get email action)
If true:
Action: Apply to each (Attachment in Get email Attachments)
Action: Get attachment (V2)
Message Id: TriggerOutputs()?['body/MessageId']
Attachment Id: Item()?['Id']

Action: Create file (SharePoint)
Site Address: "https://yourtenant.sharepoint.com/sites/yoursite"
Folder Path: "/Shared Documents/Attachments" // Adjust as needed
File Name: Item()?['Name']
File Content: GetAttachmentContent()?['ContentBytes']