Send Email activity

  • Release version: Xanadu
  • Updated August 1, 2024
  • 4 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Send Email activity

    The Send Email activity in ServiceNow Xanadu enables you to create and send emails using previously collected or generated data within a playbook. It requires defining recipients, subject, and body content. The activity presents the pre-defined email content to end users for confirmation before sending. It is accessible as a common activity and can be added to playbooks by users with admin, playbook.admin, or pdauthor roles.

    Show full answer Show less

    Configuration and Inputs

    Configure the activity through its properties panel by setting key inputs:

    • Label: Title displayed on the activity and playbook card.
    • Description: Information about the activity’s purpose or outcome.
    • Run Condition: Conditions controlling when the activity or stage runs, based on prior data.
    • Start Rule: Defines timing for when the stage or activity begins, either at process start, after certain stages/activities, or with an optional delay.
    • To and Cc Recipients: Specify email addresses directly or use data pills to dynamically determine recipients (e.g., customer email from a record).
    • Subject and Body: Define email subject and HTML body content.
    • Wait for User Input: Option to pause the playbook until manual completion or skipping by the user (editable only by playbook.admin).
    • Tagline, Footer, and Record Fields: Additional text elements and data references for the email and activity card.
    • Form View: Select a form layout for sending the email; defaults are used if none specified.

    Advanced inputs allow assigning the task to users or groups, configuring Bcc recipients, linking to target records, and specifying related tables for data context.

    Outputs

    • Automated: Indicates if the email is sent automatically or requires user action.
    • Record: Provides reference to the email task record created by the activity.
    • Email: Reference to the created email notification record.

    Practical Benefits for ServiceNow Customers

    This activity streamlines email communications within automated workflows, allowing dynamic recipient management and content customization based on playbook data. It supports user confirmation to ensure message accuracy before sending and integrates tightly with task assignments and record references. Customers can expect enhanced control over email notifications, improved communication efficiency, and seamless integration into their incident, request, or approval processes.

    Create an email from previously gathered or generated data. Use this activity to send an email. This activity requires the playbook author to define who the email should be sent to, the subject, and the body. This activity surfaces the pre-defined content for the email to the end user so that the end user can confirm before sending the email.

    Roles and availability

    This activity is available as a common activity. Users with the admin, playbook.admin, or pd_author can add this activity to a playbook.

    Inputs

    Open the activity properties panel and configure your activity to add values for the following inputs. If the input value varies, use the pill-picker to show where to get the value. To learn more about the pill-picker, see Dot-walking examples.
    Input Type Description
    Label String Title to display as activity and playbook card.
    Description String Information to display about activity usage or outcome.
    Run condition Condition Builder Conditions that must be met to run an activity or stage. You can use data from prior activities to build conditions.
    Note:
    Show additional options to see this field.
    Start Rule Choice Under Schedule > Start Rule, select a start rule for when your stage should start running:
    • When process starts: Your stage starts running as soon as the playbook starts.
    • After specific stages: Your stage starts running after specified stage(s) have finished running.
    Under Schedule > Start Rule, select a start rule for when your activity should start running:
    • When stage starts: Your activity starts running as soon as its stage starts running. Your stage starts running when your playbook is triggered.
    • After specific activities: Your activity starts running after specified activities have finished running.
    Start with delay True/False Option to wait for a duration of time before running an activity or stage. When enabled, this input displays the Start with delay input properties.
    Note:
    Show additional options to see this field.
    To List of Users Recipient list for the email. There are 2 ways to configure this field:
    • Enter email addresses as strings if you want the emails to go to the same addresses every time.
    • When the email address value varies, use the pill picker to indicate where to find the recipient email address. For example, you would use the pill picker if you wanted to automatically notify credit card applicants of a rejection, because each applicant has a different email.

      You would select the customer record from the trigger (when the application was submitted), because that is where the applicant's email address is found.


      Using the pill picker to reference the email address.
    Cc List of Users Cc recipient list for the email.
    Subject String Subject of the email.
    Body HTML Body of the email.
    Wait for user input Choice Option to pause the playbook until the end user manually completes or skips the activity. Only users with the playbook.admin role can edit this field. By default, the activity waits for user action or data before it completes.
    Tagline String Activity tagline to display to end users.
    Record fields Reference Any additional record fields you want in the email.
    Note:
    This field cannot be edited during a playbook run.
    Footer String Footer content for your email. You can enter a footer as a string, or use the pill picker to reference data (e.g. a timestamp) that you want to display at the bottom of the email.
    Note:
    This field cannot be edited during a playbook run.
    Form View String Form view to use for sending an email. If you don't provide a form view, the system uses the default view. Use the new tab button a button that opens a new tabto open and edit a form view with Form Builder in a new Workflow Studio tab.
    Note:
    Many form views are not supported in Workspace.
    Form fields Reference Any additional fields you want in the playbook activity card.
    Note:
    This field cannot be edited during a playbook run.

    Advanced inputs

    After configuring the required inputs for your activity, you can also choose to configure additional inputs. In the side panel, select Show additional options to display these advanced inputs. For more information, see Activity experience.
    Input Type Description
    Assigned To Reference.User [sys_user] User responsible for completing the task associated with the activity.
    Note:
    Show additional options to see this field.
    Assignment Group Reference.Group [sys_user_group] Group responsible for completing the task associated with the activity.
    Note:
    Show additional options to see this field.
    To Email Address String Comma-separated list of email addresses.
    Cc Email Address String Comma-separated list of copied email addresses.
    Bcc List of Users Bcc blind copy recipient list for the email.
    Bcc Email Address String Comma-separated list of blind copied email addresses.
    Target Record Reference.Task [task] Reference to the record that the system attaches the email to.
    Table Table Name Table containing activity or playbook data.

    Outputs

    These outputs can provide data to other activities in your playbook. You can access this data as activity inputs when you configure your activity:
    Output Type Description
    Automated True/False Whether the flow automatically completes or requires user input. If set to True, the activity card in Playbook Experience displays a Automated Task tagline.
    Record Reference.Task[task] Reference to record created.
    Email Reference.Notification[sysevent_email_action] Reference to the newly created email notification record