Datos multiformato en la solicitud HTTP de Power Automate

Enviar datos de formulario múltiple en Power Automate | Solicitudes HTTP

Tabla de Contenidos

Sending multipart/form-data in an HTTP request is sometimes a common requirement when integrating Power Automate with external systems, but configuring this correctly in Power Automate is not straightforward.

In this guide, we’ll show how to send multi form data in Power Automate through the HTTP action and how to convert a Postman form-data request into a format that works in Power Automate.

Step 1. Make sure your HTTP request works in postman

This is the HTTP request we want to submit, in curl format:

Convierte tus ideas en soluciones digitales

Nuestro equipo te guía paso a paso para crear aplicaciones personalizadas en Power Platform.

				
					curl --location 'https://test.api.com/v1/accounting/create' \
--header 'token: abc' \
--form 'id="123"' \
--form 'name="Power Automate Test"' \
--form 'user="1"' \
--form 'date="2025-12-31"' \
--form 'status="draft"'

				
			

This is how it looks in Postman:

Step 2. Convert request to a Power Automate-friendly format

For each of the fields used in the HTTP request, we need to create a small object that contains the following:

				
					{
    "body": "{value}",
    "headers": {
      "Content-Disposition": "form-data; name={field name}"
    }
  }

				
			

For example, for the “status” field from above, it would result in the following:

				
					{
    "body": "draft",
    "headers": {
      "Content-Disposition": "form-data; name=status"
    }
  }

				
			

Once you have all fields, put them inside an array.

				
					[
{
    "body": "date",
    "headers": {
      "Content-Disposition": "form-data; name=2025-12-31"
    }
  },
{
    "body": "draft",
    "headers": {
      "Content-Disposition": "form-data; name=status"
    }
  }
]

				
			

This is how the end result should look

				
					[
{
    "body": "123",
    "headers": {
      "Content-Disposition": "form-data; name=id"
    }
  },
{
    "body": " Power Automate Test ",
    "headers": {
      "Content-Disposition": "form-data; name=name "
    }
  },
{
    "body": "1",
    "headers": {
      "Content-Disposition": "form-data; name=user"
    }
  },
{
    "body": "date",
    "headers": {
      "Content-Disposition": "form-data; name=2025-12-31"
    }
  },
{
    "body": "draft",
    "headers": {
      "Content-Disposition": "form-data; name=status"
    }
  }
]

				
			

All the array can go in a variable:

Step 3. Send HTTP request

In the body, use the following object:

¿Está listo para descubrir la alegría de la automatización?

Ya sea que tenga un proyecto en mente o simplemente quiera saber cómo podemos ayudar, estamos encantados de tener una conversación.

				
					{
  "$content-type": "multipart/form-data",
  "$multipart": [array from previous step will go here]
}

				
			

How our Power Platform Development services can help

If you’re looking to implement these HTTP request types as part of a broader Power Platform solution our Power Automate development services team can help.

Contáctanos, we’ll be more than happy to have a conversation and see how we can be of help to your team.

Autor
Consultor de Power Platform | Experto en Automatización de Procesos de Negocio
Consultor certificado de Microsoft Power Platform y Arquitecto de Soluciones con más de 4 años de experiencia aprovechando Power Platform, Microsoft 365 y Azure para descubrir continuamente oportunidades de automatización y reimaginar procesos.