Create an Email Action Example with Specified Fields (Managed Package)

For the managed package runtime, in this example, an Integration Procedure accepts email, ccemail, subject, and message input parameters and uses them to compose and send an email.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

You can download a data pack example for Omnistudio for Managed Packages.

To build this Integration Procedure:

  1. From the Integration Procedures tab, click New.
  2. Provide a unique name, type, and subtype for your Integration Procedure, and click Save.
  3. Drag an Email Action component into the Structure panel.
  4. Edit the Email Action:
    1. Deselect Use Template.
    2. Add these properties:

      Property

      Value

      TO EMAIL ADDRESS LIST

      Click Add Recipient and enter %email%.

      CC EMAIL ADDRESS LIST

      Click Add Recipient and enter %ccemail1%.

      Click Add Recipient again and enter %ccemail2%.

      Email Subject

      Enter %subject%.

      Email Body

      Enter %message%.

  5. To enter values for the input parameters, open the Preview tab.
    Under Input Parameters in the Preview tab, toggle between Edit as Params and Edit as JSON to specify the input parameters either in fields or as JSON.
    • To use Edit as Params, click Add New Key/Value Pair five times and add these input parameters in the Key and Value fields:

      Key

      Value

      email

      your_email_address

      ccemail1

      first_ccemail_address

      ccemail2

      second_ccemail_address

      subject

      Test Email

      message

      This email is a test.

    • To use Edit as JSON, add these input parameters as key-value pairs in a JSON object:

      {
        "email": "your_email_address",
        "ccemail1": "first_ccemail_address",
        "ccemail2": "second_ccemail_address",
        "subject": "Test Email",
        "message": "This email is a test."
      }
  6. Click Execute. In a few minutes, the test email is sent from your org to the specified recipients.