Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

ARCHIVOS ADJUNTOS ( ERROR DE TIPO DE FORMATO)

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:
  • Suggested answer
    FLMike Profile Picture
    FLMike 23,416 on at
    ARCHIVOS ADJUNTOS ( ERROR DE TIPO DE FORMATO)
    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

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,749

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard

Featured topics