UiPath Documentation
marketplace
latest
false
Importante :
Este contenido se ha traducido mediante traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.
UiPath logo, featuring letters U and I in white

Guía del usuario de Marketplace

Última actualización 1 de abr. de 2026

Enviar mensaje

Información general

The Send Message activity calls the Microsoft Graph CreateChatMessage or CreateChatMessage - in a channel API to send a message (Body, BodyType, Importance, Subject) to a specified chat (ChatId) or channel (ChannelId) and team (TeamID).

After sending the message, the activity outputs the id of the sent message (MessageId) as a String that you can use as an input variable in subsequent activities (for example, Get Message Replies, Get Message, and so on).

Cómo funciona

The following steps and message sequence diagram is an example of how the activity works from design time (that is, the activity dependencies and input/output properties) to run time.

  1. Completa los pasos de configuración .
  2. Add the Microsoft Teams Scope activity to your project.
  3. Complete one of the following two options (A or B):

A. Add an activity or run an external process that outputs a Chat.Id value (for example, Get Chats).

B. Add an activity or run an external process that outputs a Team.Id value (for example, Get Teams) AND an activity or external process that outputs a Channel.Id value (for example, Get Channels).

  1. Add the Send Message activity inside the Microsoft Teams Scope activity.
  2. Enter values for the Channel and Message properties.
  3. Create and enter a String variable for your Output property.
  4. Ejecuta la actividad.

Propiedades

Los valores para las siguientes propiedades se especifican al agregar esta actividad a tu proyecto en UiPath Studio.

docs image

Común

NombreParaMostrar

El nombre para mostrar de la actividad.

AtributosDetalles
TipoString
Obligatorio
Valor predeterminadoEnviar mensaje
Valores permitidosIntroduce una variable String o String .
NotasN/D

Canal

ID del equipo

El ID del objeto Team que contiene el canal al que desea enviar un mensaje.

AtributosDetalles
TipoString
Obligatorio
Valor predeterminadoVacío
Valores permitidosIntroduce una variable String o String .
NotasTo get the Team.Id value, use an external process or activity that includes the Team.Id value in its output (for example, Get Teams or external API call)
ID del canal

El ID del objeto Channel al que quieres enviar un mensaje.

AtributosDetalles
TipoString
Obligatorio
Valor predeterminadoVacío
Valores permitidosIntroduce una variable String o String .
NotasTo get the Channel.Id value, use an external process or activity that includes the Channel.Id value in its output (for example, Get Channels or external API call)

Chat

ChatId

El ID del objeto Chat al que desea enviar el mensaje.

AtributosDetalles
TipoString
ObligatorioYes (if TeamId and ChannelId are empty)
Valor predeterminadoVacío
Valores permitidosIntroduce una variable String o String .
NotasTo get the Chat.Id value, use an external process or activity that includes the Chat.Id value in its output (for example, Get Chats or external API call) Either (ChatId) or (TeamId and ChannelId) are required.

Mensaje

Cuerpo

El contenido del mensaje que desea enviar.

AtributosDetalles
TipoString
Obligatorio
Valor predeterminadoVacío
Valores permitidosIntroduce una variable String o String .
NotasEnter your value according to the BodyType value (BodyType.Text or BodyType.Html).
Tipo de cuerpo

The type of content that you want to send in your Body.

Atributos

Detalles

Tipo

BodyType

Obligatorio

No

Valor predeterminado

Vacío

Valores permitidos

Introduzca una variable BodyType o BodyType

Notas

Introduzca uno de los siguientes dos valores aceptados:

  • BodyType.Text
  • BodyType.Html
Importancia

La importancia del mensaje de respuesta.

Atributos

Detalles

Tipo

ChatMessageImportance

Obligatorio

No

Valor predeterminado

Vacío

Valores permitidos

Introduce una variable ChatMessageImportance o ChatMessageImportance .

Notas

Introduzca uno de los siguientes tres valores aceptados:

  • ChatMessageImportance.Normal
  • ChatMessageImportance.High
  • ChatMessageImportance.Urgent
Asunto

El asunto del mensaje de respuesta.

AtributosDetalles
TipoString
ObligatorioNo
Valor predeterminadoVacío
Valores permitidosIntroduzca una variable String o String
NotasN/D

Otros

Privado

Si se selecciona, los valores de variables y argumentos no estarán registrados a un nivel detallado.

AtributosDetalles
TipoCasilla de verificación
ObligatorioNo
Valor predeterminadono seleccionados
Valores permitidosSeleccionado o no seleccionado
NotasN/D

Salida

IdDeMensaje

El ID del mensaje enviado.

AtributosDetalles
TipoString
ObligatorioNo (obligatorio si planea utilizar los datos de salida en actividades posteriores)
Valor predeterminadoVacío
Valores permitidosIntroduzca una variable String .
NotasThe variable you create for this property can be used as an input variable in subsequent activities (for example, Get Message Replies, Get Message, and so on).

Ejemplo

La siguiente imagen muestra un ejemplo de la relación de dependencia de la actividad y los valores de las propiedades de entrada / salida.

Para obtener instrucciones paso a paso y ejemplos, consulta las guías.

docs image

  • Información general
  • Cómo funciona
  • Propiedades
  • Común
  • Canal
  • Chat
  • Mensaje
  • Otros
  • Salida
  • Ejemplo

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado