UiPath Documentation
activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Actividades de integraciones clásicas

Última actualización 20 de may. de 2026

Enviar mensaje

UiPath.Slack.Activities.Messages.SendMessage

Información general

La actividad Enviar mensaje utiliza la API chat.postMensaje de Slack (entre otras) para enviar un mensaje (Texto) a un canal específico o mensaje directo/de grupo (Conversación).

Una conversación puede ser una de las siguientes:

  1. Un canal
  2. Un mensaje directo para un particular
  3. Un mensaje directo de grupo a varias personas

Después de enviar la respuesta, la actividad devuelve sus propiedades en el objeto Message (Mensaje) que puedes utilizar como variables de propiedad de entrada en actividades posteriores (p. ej. Obtener respuestas, Message.Text en , etc.).

Cómo funciona

Los siguientes pasos son un ejemplo de cómo funciona la actividad desde el momento de diseño (es decir, las dependencias de la actividad y las propiedades de entrada / salida) hasta el tiempo de ejecución.

  1. Completa los pasos de configuración .
  2. Añade la actividad Ámbito de Slack a tu proyecto.
  3. Add the Send Message activity inside the Slack Scope activity.
  4. Introduce valores para las propiedades de entrada .
  5. Crea e introduce una variable Message para tu propiedad Salida .
  6. Ejecuta la actividad.

En el cuerpo de la actividad

  • Conversation Type - The type of conversation you want to get messages from. There are three available options: Channel, Direct Message, Group Message.
  • Channel Name - The name of the channel to get messages from. String or String variable
  • Channel ID - The ID of the channel to get messages from. String or String variable.
  • Text - The body of text that you want to send in your message. Enter a String or String variable. Either the File or Text property is required. You can enter values in both properties.
  • As User - Send this reply as user or bot. Defaults to true (send as user). Enter a Boolean or Boolean variable. Defaults to true if not specified.
  • File - The path to a local file that you want to attach in your reply. Enter a String or String variable. Either the File or Text property is required. You can enter values in both properties.
  • Mensaje : tu mensaje enviado se devuelve como un objeto Message . Introduce una variable Message . Si planeas utilizar la actividad para procesar la salida de la matriz, selecciona UiPath.Slack.Models.Message como TypeArgument.
  • User - The name of the user who's DM you want to get messages from. Enter a String or String variable.
  • Conversation Name - The name of the Group Direct Message you want to get messages from. This field supports only Strings or String variables. Direct messages between one or more users take the form of "mpdm-Person1--Person2--Person3-1".

Propiedades

Común

  • DisplayName - The display name of the activity. This field supports only Strings or String variables.

Otros

  • Privado : si se selecciona, los valores de variables y argumentos ya no se registran en el nivel Detallado.

Salida

  • ResponseStatus - The status of the request (success/failure information). Enter a ResponseStatus variable (UiPath.BAF.Models.ResponseStatus). The ResponseStatus object includes three properties that you can use in other activities.
    • Success - Boolean - Specifies whether the API request was successful.
    • ErrorCode - String - The response error if the API request is unsuccessful (Success=False).
    • Message - String - The error message.
  • Información general
  • Cómo funciona
  • En el cuerpo de la actividad
  • Propiedades
  • Común
  • Otros
  • Salida

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado