La tarea Enviar correo te permite enviar notificaciones por correo personalizadas desde tu integración.
Puedes enviar un correo a uno o varios destinatarios con un asunto y un mensaje personalizados.
Configurar la tarea Enviar correo
Para configurar la tarea Enviar correo, sigue estos pasos:
En la Google Cloud consola, ve a la página Integración de aplicaciones.
En el menú de navegación, haz clic en Integraciones.
Aparecerá la página Integraciones, en la que se muestran todas las integraciones disponibles en el proyecto de Google Cloud.
Seleccione una integración o haga clic en Crear integración para crear una.
Si vas a crear una integración:
Escribe un nombre y una descripción en el panel Crear integración.
Selecciona una región para la integración.
Selecciona una cuenta de servicio para la integración. Puede cambiar o actualizar los detalles de la cuenta de servicio de una integración en cualquier momento desde el panel infoResumen de la integración de la barra de herramientas de integración.
Haz clic en Crear. La integración que acabas de crear se abre en el editor de integraciones.
En la barra de navegación del editor de integraciones, haz clic en Tareas para ver la lista de tareas y conectores disponibles.
Haz clic en el elemento de tarea Enviar correo y colócalo en el editor de integraciones.
En el diseñador, haz clic en el elemento de tarea Enviar correo electrónico para abrir el panel de configuración de la tarea Enviar correo electrónico.
Configure los campos que se muestran con las propiedades de configuración de la tarea, tal como se detalla en las tablas de abajo.
Todos los cambios que hagas en las propiedades se guardarán automáticamente.
Propiedades de configuración
En la siguiente tabla se describen las propiedades de configuración de la tarea Enviar correo.
Propiedad
Data type (Dato)
Descripción
Recipients
Cadena
Dirección de correo de los destinatarios. Puede especificar varias direcciones de correo electrónico separadas por comas. Por ejemplo, test1@gmail.com,test2@gmail.com.
También puedes crear una variable de tipo Matriz de cadena y añadir correos separados por comas en el valor.
Subject
Cadena
Asunto del correo.
Body
Cadena
Cuerpo del correo en texto sin formato.
Puede asignar a las propiedades cualquiera de los siguientes valores:
Un literal
Una variable de integración
Una combinación de una variable literal y una de integración
En los campos Asunto y Cuerpo, puedes introducir combinaciones de literales y variables de integración para los valores de cadena. Usa la notación con el signo de dólar para los nombres de las variables, es decir, pon el signo $ antes y después del nombre de la variable.
Por ejemplo, si quiere usar una variable $varSubject$ en el asunto del correo, deberá introducir un texto similar a Test $varSubject$ , donde Test es un literal y $varSubject$ es la variable.
Estrategia de gestión de errores
Una estrategia de gestión de errores de una tarea especifica la acción que se debe llevar a cabo si la tarea falla debido a un error temporal. Para obtener información sobre cómo usar una estrategia de gestión de errores y conocer los diferentes tipos de estrategias de gestión de errores, consulta Estrategias de gestión de errores.
Cuotas y límites
Para obtener información sobre las cuotas y los límites, consulta Cuotas y límites.
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-11 (UTC)."],[[["\u003cp\u003eThe Send Email task allows you to send custom email notifications directly from your integration to one or more recipients.\u003c/p\u003e\n"],["\u003cp\u003eYou can configure the Send Email task within the Application Integration editor by specifying recipients, subject, and the message body.\u003c/p\u003e\n"],["\u003cp\u003eEmail properties such as recipients, subject, and body can be set using literals, integration variables, or a combination of both.\u003c/p\u003e\n"],["\u003cp\u003eError handling strategies can be implemented to manage temporary errors that may occur during the execution of the Send Email task.\u003c/p\u003e\n"],["\u003cp\u003eYou can find additional information about supported connectors, tasks, error handling, testing and publishing in the provided links.\u003c/p\u003e\n"]]],[],null,["# Send Email task\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nSend Email task\n===============\n\nThe **Send Email** task lets you send custom email notifications from your integration.\nYou can email one or more recipients with a custom subject and a custom message.\n\nConfigure the Send Email task\n-----------------------------\n\nTo configure the **Send Email** task:\n\n1. In the Google Cloud console, go to the **Application Integration** page.\n\n [Go to Application Integration](https://console.cloud.google.com/integrations)\n2. In the navigation menu, click **Integrations** .\n\n\n The **Integrations** page appears listing all the integrations available in the Google Cloud project.\n3. Select an existing integration or click **Create integration** to create a new one.\n\n\n If you are creating a new integration:\n 1. Enter a name and description in the **Create Integration** pane.\n 2. Select a region for the integration. **Note:** The **Regions** dropdown only lists the regions provisioned in your Google Cloud project. To provision a new region, click **Enable Region** . See [Enable new region](/application-integration/docs/enable-new-region) for more information.\n 3. Select a service account for the integration. You can change or update the service account details of an integration any time from the info **Integration summary** pane in the integration toolbar. **Note:** The option to select a service account is displayed only if you have enabled integration governance for the selected region.\n 4. Click **Create** . The newly created integration opens in the *integration editor*.\n\n\n4. In the *integration editor* navigation bar, click **Tasks** to view the list of available tasks and connectors.\n5. Click and place the **Send Email** task element in the integration editor.\n6. Click the **Send Email** task element on the designer to open the **Send Email** task configuration pane.\n7. Configure the displayed fields using the [Configuration properties](#params) for the task as detailed in the tables below.\n\n\n All changes to the properties are saved automatically.\n\nConfiguration properties\n------------------------\n\n\nThe following table describes the configuration properties of the **Send Email** task.\n\n\nYou can set the properties to any of the following values:\n\n- A literal\n- An integration variable\n- A combination of a literal and an integration variable\n\n\nFor the **Subject** and **Body** fields, you can enter combinations of literals and integration variables for the string values. Use dollar sign notation for variable names, that is, precede and follow the variable name with a `$` sign.\nFor example, if you want to use a variable `$varSubject$` in the email **Subject** , you will enter text similar to `Test $varSubject$ `where `Test` is a literal and `$varSubject$` is the variable.\n\nError handling strategy\n-----------------------\n\n\nAn error handling strategy for a task specifies the action to take if the task fails due to a [temporary error](/application-integration/docs/error-handling). For information about how to use an error handling strategy, and to know about the different types of error handling strategies, see [Error handling strategies](/application-integration/docs/error-handling-strategy).\n\nQuotas and limits\n-----------------\n\nFor information about quotas and limits, see [Quotas and limits](/application-integration/docs/quotas).\n\nWhat's next\n-----------\n\n- Learn about [all tasks and triggers](/application-integration/docs/all-triggers-tasks).\n- Learn how to [test and publish an integration](/application-integration/docs/test-publish-integrations).\n\n- Learn about [error handling](/application-integration/docs/error-handling-strategy).\n- Learn about [integration execution logs](/application-integration/docs/introduction-logs)."]]