Question 1easymultiple choice
Read the full Demonstrate the capabilities of Power Automate explanation →PL-900 Demonstrate the capabilities of Power Automate • Complete Question Bank
Complete PL-900 Demonstrate the capabilities of Power Automate question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit.
{
"triggers": {
"When_an_item_is_created_or_modified": {
"inputs": {
"dataset": "https://contoso.sharepoint.com/sites/sales",
"table": "Orders",
"triggerConditions": "@equals(triggerOutputs()?['body/Status'], 'New')"
}
}
}
}Refer to the exhibit. Flow run log: Action: Send an email (V2) Status: Failed Error: 'The mail server could not be reached. Check your connection and try again.' Trigger: When an item is created (SharePoint) Scope: SendNotification
Refer to the exhibit.
{
"trigger": {
"type": "Recurrence",
"recurrence": {
"frequency": "Day",
"interval": 1
}
},
"actions": {
"Get_items": {
"type": "OpenApiConnection",
"inputs": {
"host": {
"connectionName": "shared_commondataserviceforapps",
"operationId": "GetItems"
},
"parameters": {
"entityName": "opportunities",
"$filter": "statecode eq 0"
}
}
},
"Send_email": {
"type": "OpenApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmail"
},
"parameters": {
"To": "manager@contoso.com",
"Subject": "Open Opportunities Report",
"Body": "Please review the attached report."
}
},
"runAfter": {
"Get_items": ["Succeeded"]
}
}
},
"description": "Send daily report of open opportunities to manager."
}Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
License for one app per user
License for unlimited apps per user
License for one flow (legacy)
Includes Power Apps rights
Access to run apps without additional cost
{
"definition": {
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {
"properties": {
"email": {
"type": "string"
}
},
"required": [
"email"
]
}
}
}
},
"actions": {
"Send_approval_email": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmail",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_office365"
},
"parameters": {
"email/To": "@triggerBody()?['email']",
"email/Subject": "Approval Required",
"email/Body": "Please approve this request."
},
"authentication": "@parameters('$authentication')"
},
"runAfter": {}
},
"Condition": {
"type": "If",
"expression": {
"equals": [
"@body('Send_approval_email')?['status']",
"Succeeded"
]
},
"actions": {
"Update_item": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_sharepointonline",
"operationId": "UpdateItem",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline"
},
"parameters": {
"dataset": "https://contoso.sharepoint.com/sites/marketing",
"table": "Approvals",
"id": 1,
"item/Status": "Approved"
}
},
"runAfter": {}
}
},
"else": {
"actions": {
"Send_rejection_email": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmail",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_office365"
},
"parameters": {
"email/To": "requestor@contoso.com",
"email/Subject": "Request Rejected",
"email/Body": "Your request has been rejected."
}
},
"runAfter": {}
}
}
}
}
}
}
}{
"definition": {
"triggers": {
"When_a_new_email_arrives": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "OnNewEmail",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_office365"
},
"parameters": {
"folderId": "Inbox",
"importance": "Any",
"fetchOnlyWithAttachment": false,
"includeAttachments": true,
"subjectFilter": "Invoice"
}
}
}
},
"actions": {
"Create_file": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_sharepointonline",
"operationId": "CreateFile",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline"
},
"parameters": {
"dataset": "https://contoso.sharepoint.com/sites/finance",
"folderPath": "/Shared Documents/Invoices",
"name": "@triggerOutputs()?['body/attachments'][0]['name']",
"fileContent": "@triggerOutputs()?['body/attachments'][0]['contentBytes']"
}
},
"runAfter": {}
}
}
}
}{
"type": "object",
"properties": {
"customerName": {
"type": "string"
},
"orderAmount": {
"type": "number"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"productId": {
"type": "string"
},
"quantity": {
"type": "integer"
}
},
"required": ["productId", "quantity"]
}
}
},
"required": ["customerName", "orderAmount"]
}{
"triggers": {
"When_a_new_email_arrives": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "OnNewEmail"
},
"parameters": {
"folderPath": "Inbox",
"importance": "High",
"onlyWithAttachments": true
}
}
}
},
"actions": {
"Send_an_email": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmail"
},
"parameters": {
"to": "support@contoso.com",
"subject": "High importance email received",
"body": "Check your inbox for an important email."
}
}
}
}
}{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"Condition": {
"type": "If",
"expression": "@greater(triggerBody()?['score'], 0.8)",
"actions": {
"Send_approval_email": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmail"
},
"parameters": {
"to": "manager@contoso.com",
"subject": "High score alert",
"body": "Score is high."
}
},
"runAfter": {}
}
},
"else": {
"actions": {
"Log_to_SharePoint": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_sharepointonline",
"operationId": "CreateItem"
},
"parameters": {
"dataset": "https://contoso.sharepoint.com/sites/Logs",
"table": "ScoreLog",
"item": {
"Score": "@triggerBody()?['score']"
}
}
},
"runAfter": {}
}
}
},
"runAfter": {}
}
},
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {
"type": "object",
"properties": {
"score": {
"type": "number"
}
},
"required": ["score"]
}
}
}
}
}
}Refer to the exhibit.
{ "type": "OpenApiConnection", "inputs": { "host": { "connectionName": "shared_office365", "operationId": "SendEmail" }, "parameters": { "emailMessage": { "To": "user@contoso.com", "Subject": "Approval Required", "Body": "Please approve the request." } }, "authentication": "@parameters('$authentication')" } }Refer to the exhibit.
{
"definition": {
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {
"type": "object",
"properties": {
"employeeId": {
"type": "string"
},
"amount": {
"type": "number"
}
},
"required": ["employeeId","amount"]
}
}
}
},
"actions": {
"Condition": {
"type": "If",
"expression": "@greater(triggerBody()?['amount'], 5000)",
"actions": {
"Send_approval": {
"type": "OpenApiConnection",
"inputs": {
"host": {
"connectionName": "shared_approvals",
"operationId": "StartAndWaitForAnApproval"
},
"parameters": {
"approvalType": "FirstToRespond",
"assignedTo": "manager@contoso.com",
"details": "Expense over $5000"
}
}
}
},
"else": {
"actions": {
"Send_email": {
"type": "OpenApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmail"
},
"parameters": {
"To": "employee@contoso.com",
"Subject": "Expense Approved",
"Body": "Your expense is approved."
}
}
}
}
}
}
}
}
}Refer to the exhibit.
```json
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"Send_approval_email": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmail"
},
"parameters": {
"To": "manager@contoso.com",
"Subject": "Please approve expense report",
"Body": "Approval request for expense report #1234"
},
"authentication": "@parameters('$authentication')"
}
},
"Condition": {
"type": "If",
"expression": "@equals(triggerBody()?['status'], 'Approved')",
"actions": {
"Update_SharePoint": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_sharepointonline",
"operationId": "UpdateItem"
},
"parameters": {
"dataset": "https://contoso.sharepoint.com/sites/Expense",
"table": "ExpenseReports",
"id": 1234,
"item": {
"Status": "Approved"
}
}
}
}
}
}
},
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {}
}
}
}
}
}Refer to the exhibit.
```json
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"triggers": {
"When_an_item_is_created": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_sharepointonline",
"operationId": "OnNewItem"
},
"parameters": {
"dataset": "https://contoso.sharepoint.com/sites/Sales",
"table": "Leads",
"triggerCondition": "@equals(triggerBody()?['Status'], 'New')"
}
}
}
},
"actions": {
"Send_email": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmail"
},
"parameters": {
"To": "sales@contoso.com",
"Subject": "New Lead Created",
"Body": "A new lead has been created."
}
}
}
}
}
}Refer to the exhibit. {
"type": "OpenApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmailV2"
},
"parameters": {
"emailMessage/To": "user@contoso.com",
"emailMessage/Subject": "Test",
"emailMessage/Body": "<p>Test email</p>"
},
"authentication": "@parameters('$authentication')"
},
"runAfter": {}
}Refer to the exhibit. {
"triggers": {
"When_a_file_is_created_in_folder": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_sharepointonline",
"operationId": "WhenFileCreatedInFolder"
},
"parameters": {
"dataset": "https://contoso.sharepoint.com/sites/MySite",
"table": "Shared Documents",
"id": "/sites/MySite/Shared%20Documents/Incoming"
},
"authentication": "@parameters('$authentication')"
},
"conditions": [
{
"expression": "@equals(triggerOutputs()?['headers']?['x-ms-file-name-extension'], '.xlsx')"
}
]
}
}
}Refer to the exhibit. {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_teams",
"operationId": "PostMessageToChannel"
},
"parameters": {
"team": "Marketing",
"channel": "General",
"message": "New lead created: @{triggerOutputs()?['body/name']}"
},
"authentication": "@parameters('$authentication')"
},
"runAfter": {}
}{
"triggers": {
"When_a_new_email_arrives": {
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "OnNewEmail"
},
"parameters": {
"includeAttachments": false,
"folderPath": "Inbox",
"importance": "Any",
"onlyWithAttachments": false,
"subjectFilter": "Invoice"
}
},
"splitOn": "@triggerOutputs()?['body/value']",
"type": "ApiConnection"
}
}
}{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"Send_approval_email": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "SendEmail"
},
"parameters": {
"to": "manager@contoso.com",
"subject": "Approve request",
"body": "Please approve."
},
"authentication": "@parameters('$authentication')"
},
"runAfter": {}
}
},
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {}
}
}
}
}
}{
"properties": {
"displayName": "Daily Report Flow",
"state": "Started",
"definition": {
"triggers": {
"Recurrence": {
"recurrence": {
"frequency": "Day",
"interval": 1,
"schedule": {
"hours": [8],
"minutes": [0]
}
},
"type": "Recurrence"
}
},
"actions": {
"Get_items": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_sharepointonline",
"operationId": "GetItems"
},
"parameters": {
"dataset": "https://contoso.sharepoint.com/sites/Reports",
"table": "DailyReport",
"filterQuery": "Status eq 'Pending'"
}
}
}
}
}
}
}{
"definition": {
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {
"properties": {
"email": {
"type": "string"
}
},
"required": [
"email"
]
}
}
}
},
"actions": {
"Send_an_email": {
"runAfter": {},
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365"
},
"apiVersion": "1.0",
"method": "post",
"path": "/v1.0/mail/me/sendMail",
"body": {
"Message": {
"Subject": "Hello",
"Body": {
"ContentType": "Text",
"Content": "Test"
},
"ToRecipients": [
{
"EmailAddress": {
"Address": "@triggerBody()?['email']"
}
}
]
}
}
}
}
}
}
}{
"definition": {
"triggers": {
"When_a_new_email_arrives": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_office365"
},
"apiVersion": "1.0",
"method": "get",
"path": "/v1.0/mail/mailFolders/Inbox/messages",
"queries": {
"$filter": "hasAttachments eq true",
"$top": 1
}
}
}
}
}
}{
"definition": {
"triggers": {
"When_an_item_is_created": {
"type": "ApiConnection",
"inputs": {
"host": {
"connectionName": "shared_sharepointonline"
},
"apiVersion": "1.0",
"method": "get",
"path": "/v1.0/sites/{site-id}/lists/{list-id}/items",
"queries": {
"$filter": "createdDateTime ge @{utcNow()}"
}
}
}
}
}
}{
"triggers": {
"When_a_new_email_arrives": {
"inputs": {
"host": {
"connectionName": "shared_office365",
"operationId": "OnNewEmail"
},
"parameters": {
"folderPath": "Inbox",
"importance": "Any",
"fetchOnlyWithAttachment": false,
"includeAttachments": true,
"subjectFilter": "Invoice"
}
}
}
}
}