Import email as a task in Asana via Microsoft PowerAutomate.

I have already created a SharedMailbox in my Exchange Server and can also retrieve it via PowerAutomate. I can also create an Asana task after receiving an email. However, I am not able to display the attachments from the email as attachments in the Asana task.

What do I have to do to make it work?

I use Office365, Asana and HTTP as connectors

Hi,

i have an update.
I able to upload attachment to my Asana task. When i open this task i can see the uploaded attachment but i can not open it. either it says “the data format is not supported” or it loading and loading.

The body request look like this:
{
“$content-type”: “multipart/form-data”,
“$multipart”: [
{
“headers”: {
“Content-Disposition”: “form-data; name="parent"”
},
“body”: “@{variables(‘GID From Task’)}”
},
{
“headers”: {
“Content-Disposition”: “form-data; name="file";filename="@{outputs(‘Anlage_abrufen_(V2)’)?[‘body/name’]}"”,
“Content-Type”: “@{outputs(‘Anlage_abrufen_(V2)’)?[‘body/contentType’]}”
},
“body”: @{outputs(‘Anlage_abrufen_(V2)’)?[‘body/contentBytes’]}
},
{
“headers”: {
“Content-Disposition”: “form-data; name="resource_subtype"”
},
“body”: “asana”
}
]
}