web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / ARCHIVOS ADJUNTOS ( ER...
Power Automate
Suggested Answer

ARCHIVOS ADJUNTOS ( ERROR DE TIPO DE FORMATO)

(1) ShareShare
ReportReport
Posted on by 2
Hola, soy nuevo en Power Automate.
Presento problemas un flujo, el flujo se desencadena al recibir un correo este debe reenviar el correo a una dirección específica y a la vez guardar los archivos adjuntos en una ubicación de One Drive.
este es el codigo
 
{
  "type": "Foreach",
  "foreach": "@triggerOutputs()?['body/attachments']",
  "actions": {
    "Crear_archivo": {
      "type": "OpenApiConnection",
      "inputs": {
        "parameters": {
          "folderPath": "/Datos adjuntos",
          "name": "@item()?['name']",
          "body": "@item()?['contentBytes']"
        },
        "host": {
          "apiId": "/providers/Microsoft.PowerApps/apis/shared_onedriveforbusiness",
          "connection": "shared_onedriveforbusiness",
          "operationId": "CreateFile"
        }
      },
      "runtimeConfiguration": {
        "contentTransfer": {
          "transferMode": "Chunked"
        }
      }
    }
  },
  "runAfter": {
    "For_each": [
      "Succeeded"
    ]
  }
}
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,442 Super User 2025 Season 2 on at
    Hi
    You have to please share the error, you cannot just share the flow.
    Also, if you share the flow in the Editor, we can see the error and which action.
    Please share it that way so we can help

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard