Tugas Kirim Email memungkinkan Anda mengirim notifikasi email kustom dari integrasi.
Anda dapat mengirim email ke satu atau beberapa penerima dengan subjek dan pesan kustom.
Mengonfigurasi tugas Kirim Email
Untuk mengonfigurasi tugas Kirim Email:
Di Google Cloud console, buka halaman Application Integration.
Halaman Integrasi akan muncul yang mencantumkan semua integrasi yang tersedia di project Google Cloud.
Pilih integrasi yang ada atau klik Buat integrasi untuk membuat integrasi baru.
Jika Anda membuat integrasi baru:
Masukkan nama dan deskripsi di panel Buat Integrasi.
Pilih region untuk integrasi.
Pilih akun layanan untuk integrasi. Anda dapat mengubah atau memperbarui detail akun layanan integrasi kapan saja dari panel Ringkasan integrasiinfo di toolbar integrasi.
Klik Buat. Integrasi yang baru dibuat akan terbuka di editor integrasi.
Di menu navigasi editor integrasi, klik Tugas untuk melihat daftar tugas dan konektor yang tersedia.
Klik dan tempatkan elemen tugas Kirim Email di editor integrasi.
Klik elemen tugas Kirim Email di desainer untuk membuka panel konfigurasi tugas
Kirim Email.
Konfigurasikan kolom yang ditampilkan menggunakan Properti konfigurasi untuk tugas
seperti yang dijelaskan dalam tabel di bawah.
Semua perubahan pada properti akan disimpan secara otomatis.
Properti konfigurasi
Tabel berikut menjelaskan properti konfigurasi tugas Kirim Email.
Properti
Data type
Deskripsi
Recipients
String
Alamat email penerima. Anda dapat menentukan beberapa alamat email yang dipisahkan dengan koma. Misalnya, test1@gmail.com,test2@gmail.com.
Atau, Anda juga dapat membuat variabel dari jenis String Array dan menambahkan email yang dipisahkan koma dalam nilai.
Subject
String
Baris subjek email.
Body
String
Isi email dalam teks biasa.
Anda dapat menetapkan properti ke salah satu nilai berikut:
Literal
Variabel integrasi
Kombinasi literal dan variabel integrasi
Untuk kolom Subject dan Body, Anda dapat memasukkan kombinasi literal dan variabel integrasi untuk nilai string. Gunakan notasi tanda dolar untuk nama variabel, yaitu, awali dan ikuti nama variabel dengan tanda $.
Misalnya, jika ingin menggunakan variabel $varSubject$ di Subjek email, Anda akan memasukkan teks yang mirip dengan Test $varSubject$ dengan Test adalah literal dan $varSubject$ adalah variabel.
Strategi penanganan error
Strategi penanganan error untuk tugas menentukan tindakan yang akan diambil jika tugas gagal karena error sementara. Untuk mengetahui informasi tentang cara menggunakan strategi penanganan error, dan untuk mengetahui berbagai jenis strategi penanganan error, lihat Strategi penanganan error.
Kuota dan batas
Untuk mengetahui informasi tentang kuota dan batas, lihat Kuota dan batas.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)."]]