red-hairdresser-67741
06/24/2022, 10:12 AMmodern-farmer-99434
red-hairdresser-67741
06/24/2022, 11:50 AMmodern-farmer-99434
RESOURCE
variable?modern-farmer-99434
{
"agents": [
{
"disabled": false,
"name": "explode individual emails",
"options": "{\"mode\":\"explode\",\"path\":\"=get_email_from_msgraph.body.value\",\"to\":\"individual_email\"}",
"position": {
"x": 1845,
"y": 975
},
"type": "eventTransformation"
},
{
"disabled": false,
"name": "Get Email from MSGraph",
"options": "{\"url\":\"<https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages?$filter=isRead> ne true\",\"method\":\"get\",\"headers\":{\"Authorization\":\"Bearer <<CREDENTIAL.msgraph>>\"},\"log_error_on_status\":[]}",
"position": {
"x": 1845,
"y": 870
},
"type": "httpRequest"
},
{
"disabled": false,
"name": "Get attached email",
"options": "{\"url\":\"<https://graph.microsoft.com/v1.0/me/messages/><<explode_individual_emails.individual_email.id>>/attachments/<<explode_attachments.individual_attachment.id>>\",\"method\":\"get\",\"headers\":{\"Authorization\":\"Bearer <<CREDENTIAL.oauth2020>>\"}}",
"position": {
"x": 1845,
"y": 1410
},
"type": "httpRequest"
},
{
"disabled": false,
"name": "Explode Attachments",
"options": "{\"mode\":\"explode\",\"path\":\"=get_attachments.body.value\",\"to\":\"individual_attachment\"}",
"position": {
"x": 1845,
"y": 1200
},
"type": "eventTransformation"
},
{
"disabled": false,
"name": "trigger if .eml",
"options": "{\"rules\":[{\"type\":\"regex\",\"value\":\"#microsoft.graph.itemAttachment\",\"path\":\"<<explode_attachments.individual_attachment[\\\"@odata.type\\\"]>>\"}]}",
"position": {
"x": 1845,
"y": 1305
},
"type": "trigger"
},
{
"disabled": false,
"name": "Get Attachments",
"options": "{\"url\":\"<https://graph.microsoft.com/v1.0/me/messages/><<explode_individual_emails.individual_email.id>>/attachments\",\"method\":\"get\",\"headers\":{\"Authorization\":\"Bearer <<CREDENTIAL.msgraph>>\"},\"log_error_on_status\":[]}",
"position": {
"x": 1845,
"y": 1095
},
"type": "httpRequest"
}
],
"links": [
{
"sourceIdentifier": 0,
"receiverIdentifier": 5
},
{
"sourceIdentifier": 4,
"receiverIdentifier": 2
},
{
"sourceIdentifier": 3,
"receiverIdentifier": 4
},
{
"sourceIdentifier": 5,
"receiverIdentifier": 3
},
{
"sourceIdentifier": 1,
"receiverIdentifier": 0
}
],
"diagramNotes": []
}
red-hairdresser-67741
06/24/2022, 1:07 PMmodern-farmer-99434
alert-rain-18576
06/25/2022, 1:44 PM