L'attività Invia email ti consente di inviare notifiche via email personalizzate dalla tua integrazione.
Puoi inviare un'email a uno o più destinatari con un oggetto e un messaggio personalizzati.
Configura l'attività Invia email
Per configurare l'attività Invia email:
Nella Google Cloud console, vai alla pagina Application Integration.
Nel menu di navigazione, fai clic su Integrations (Integrazioni).
Viene visualizzata la pagina Integrazioni, che elenca tutte le integrazioni disponibili nel progetto Google Cloud.
Seleziona un'integrazione esistente o fai clic su Crea integrazione per crearne una nuova.
Se stai creando una nuova integrazione:
Inserisci un nome e una descrizione nel riquadro Crea integrazione.
Seleziona una regione per l'integrazione.
Seleziona un account di servizio per l'integrazione. Puoi modificare o aggiornare i dettagli dell'account di servizio di un'integrazione in qualsiasi momento dal riquadro infoRiepilogo dell'integrazione nella barra degli strumenti di integrazione.
Fai clic su Crea. L'integrazione appena creata si apre nell'editor di integrazione.
Nella barra di navigazione dell'editor di integrazione, fai clic su Attività per visualizzare l'elenco di attività e connettori disponibili.
Fai clic e posiziona l'elemento dell'attività Invia email nell'editor di integrazione.
Fai clic sull'elemento attività Invia email nel designer per aprire il riquadro di configurazione dell'attività Invia email.
Configura i campi visualizzati utilizzando le proprietà di configurazione per l'attività come descritto nelle tabelle seguenti.
Tutte le modifiche alle proprietà vengono salvate automaticamente.
Proprietà di configurazione
La tabella seguente descrive le proprietà di configurazione dell'attività Invia email.
Proprietà
Tipo di dati
Descrizione
Recipients
Stringa
Indirizzo email dei destinatari. Puoi specificare più indirizzi email separati da una virgola. Ad esempio, test1@gmail.com,test2@gmail.com.
In alternativa, puoi anche creare una variabile di tipo Array di stringhe e aggiungere le email separate da virgole nel valore.
Subject
Stringa
Oggetto dell'email.
Body
Stringa
Corpo dell'email in testo normale.
Puoi impostare le proprietà su uno dei seguenti valori:
Un valore letterale
Una variabile di integrazione
Una combinazione di un letterale e di una variabile di integrazione
Per i campi Oggetto e Testo, puoi inserire combinazioni di letterali e variabili di integrazione per i valori di stringa. Utilizza la notazione del simbolo del dollaro per i nomi delle variabili, ovvero anteponi e segui il nome della variabile con un segno $.
Ad esempio, se vuoi utilizzare una variabile $varSubject$ nell'oggetto dell'email, inserisci un testo simile a Test $varSubject$ , dove Test è un valore letterale e $varSubject$ è la variabile.
Strategia di gestione degli errori
Una strategia di gestione degli errori per un'attività specifica l'azione da intraprendere se l'attività non va a buon fine a causa di un errore temporaneo. Per informazioni su come utilizzare una strategia di gestione degli errori e sui diversi tipi di strategie di gestione degli errori, consulta Strategie di gestione degli errori.
Quote e limiti
Per informazioni su quote e limiti, consulta Quote e limiti.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-03 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)."]]