Product documentation Docs
    • English
    • Deutsch
    • 日本語
    • 한국어
    • Français
  • More Sites
    • Now Community
    • Developer Site
    • Knowledge Base
    • Product Information
    • ServiceNow.com
    • Training
    • Customer Success Center
    • ServiceNow Support Videos
  • Log in

Product documentation

  • Home
How search works:
  • Punctuation and capital letters are ignored
  • Special characters like underscores (_) are removed
  • Known synonyms are applied
  • The most relevant topics (based on weighting and matching to search terms) are listed first in search results
Topics are ranked in search results by how closely they match your search terms
  • A match on the entire phrase you typed
  • A match on part of the phrase you typed
  • A match on ALL of the terms in the phrase you typed
  • A match on ANY of the terms in the phrase you typed

Note: Matches in titles are always highly ranked.

  • Release version
    Table of Contents
    • Now Platform administration
Table of Contents
Choose your release version
    Home Orlando Now Platform Administration Inbound email actions

    Inbound email actions

    • Save as PDF Selected topic Topic & subtopics All topics in contents
    • Unsubscribe Log in to subscribe to topics and get notified when content changes.
    • Share this page

    Inbound email actions

    Define an inbound email action to script how the system responds to an inbound email.

    Note: Inbound email flows take priority over inbound email actions. If you create flows with inbound email triggers, emails are first processed by the inbound email triggers before they are processed by inbound email actions.
    Inbound email actions are similar to business rules: both use conditions and scripts that take action on a target table. An inbound email action checks the email for a watermark that associates it with a task and checks for other conditions. If the conditions are met, the system takes the inbound email action that you configure. The system can take two types of actions:
    • Record action: setting a value for a field in the target table.
    • Email reply: sending an email back to the source that triggered the action.

    By default, if an email has no identifiable watermark, an inbound email action attempts to create an incident from the message. If the email has a watermark of an existing incident, an inbound email action updates the existing incident according to the action's script.

    Watch this six-minute video to learn about the actions that the instance can take in response to messages from users and shows how to create or modify email notifications to users.

    Inbound email receive types

    The system classifies all incoming email into one of three types: forward, reply, or new.
    Table 1. Inbound action classifications
    Order Type Criteria
    1 Forward
    The system classifies an email as a forward only when it meets all these criteria:
    • The subject line contains a recognized forward prefix such as FW:.
    • The email body contains a recognized forward string such as From:.

    The system classifies any email that meets these criteria as a forward, even if the message contains a watermark or record number that otherwise classifies it as a reply.

    2 Reply The system classifies an email as a reply when it fails to match it to the forward receive type and it meets any one of these criteria:
    • The subject line or email body contains a recognized watermark such as Ref:MSG0000008.
    • There is no watermark and the Reply-To header contains a recognized message ID of an email with a target record.
    • There is no watermark and the subject line contains a recognized reply prefix such as RE: and a recognized record number such as INC0005574
    3 New The system classifies an email as new when it fails to match it to the forward and reply receive types.
    Figure 1. Determining the type of incoming email
    Flow diagram that shows how the system determines the type of incoming email ( forward, reply, or new) is determined.

    Attachments

    If an inbound email contains one or more email attachments, the inbound email action adds the attachments to the first record the action produces.

    Character encoding

    • If the email encoding is ASCII-7 or UTF-8, inbound email actions preserve the character encoding in any associated task records they produce.
    • If the email encoding is ISO-8859-1, the inbound email action attempts to convert the email to Windows 1252.
    • Inbound email actions convert any other encodings (for example, Mac OS Roman) to plain text, which may or may not be readable.
    See the System email log and mailboxes for examples of what you might see if a notification or inbound email action is not processed.
    Note: The state of all incoming emails that have been run against inbound email actions, even if there is no matching action, is changed to Processed.

    Domain separation

    The system ignores the domain that the inbound email action record is in when it creates a record based on the inbound email action. Keep inbound actions in the global domain. For example, if your inbound email action creates an incident, the system creates the incident in the same domain as the user in the Caller field. If that user is not in the User [sys_user] table, the incident is in the global domain.

    Related concepts
    • Notification variables
    • Watermarks on notification emails

    Tags:

    Feedback
    On this page

    Previous topic

    Next topic

    • Contact Us
    • Careers
    • Terms of Use
    • Privacy Statement
    • Sitemap
    • © ServiceNow. All rights reserved.

    Release version
    Choose your release version

      Inbound email actions

      • Save as PDF Selected topic Topic & subtopics All topics in contents
      • Unsubscribe Log in to subscribe to topics and get notified when content changes.
      • Share this page

      Inbound email actions

      Define an inbound email action to script how the system responds to an inbound email.

      Note: Inbound email flows take priority over inbound email actions. If you create flows with inbound email triggers, emails are first processed by the inbound email triggers before they are processed by inbound email actions.
      Inbound email actions are similar to business rules: both use conditions and scripts that take action on a target table. An inbound email action checks the email for a watermark that associates it with a task and checks for other conditions. If the conditions are met, the system takes the inbound email action that you configure. The system can take two types of actions:
      • Record action: setting a value for a field in the target table.
      • Email reply: sending an email back to the source that triggered the action.

      By default, if an email has no identifiable watermark, an inbound email action attempts to create an incident from the message. If the email has a watermark of an existing incident, an inbound email action updates the existing incident according to the action's script.

      Watch this six-minute video to learn about the actions that the instance can take in response to messages from users and shows how to create or modify email notifications to users.

      Inbound email receive types

      The system classifies all incoming email into one of three types: forward, reply, or new.
      Table 1. Inbound action classifications
      Order Type Criteria
      1 Forward
      The system classifies an email as a forward only when it meets all these criteria:
      • The subject line contains a recognized forward prefix such as FW:.
      • The email body contains a recognized forward string such as From:.

      The system classifies any email that meets these criteria as a forward, even if the message contains a watermark or record number that otherwise classifies it as a reply.

      2 Reply The system classifies an email as a reply when it fails to match it to the forward receive type and it meets any one of these criteria:
      • The subject line or email body contains a recognized watermark such as Ref:MSG0000008.
      • There is no watermark and the Reply-To header contains a recognized message ID of an email with a target record.
      • There is no watermark and the subject line contains a recognized reply prefix such as RE: and a recognized record number such as INC0005574
      3 New The system classifies an email as new when it fails to match it to the forward and reply receive types.
      Figure 1. Determining the type of incoming email
      Flow diagram that shows how the system determines the type of incoming email ( forward, reply, or new) is determined.

      Attachments

      If an inbound email contains one or more email attachments, the inbound email action adds the attachments to the first record the action produces.

      Character encoding

      • If the email encoding is ASCII-7 or UTF-8, inbound email actions preserve the character encoding in any associated task records they produce.
      • If the email encoding is ISO-8859-1, the inbound email action attempts to convert the email to Windows 1252.
      • Inbound email actions convert any other encodings (for example, Mac OS Roman) to plain text, which may or may not be readable.
      See the System email log and mailboxes for examples of what you might see if a notification or inbound email action is not processed.
      Note: The state of all incoming emails that have been run against inbound email actions, even if there is no matching action, is changed to Processed.

      Domain separation

      The system ignores the domain that the inbound email action record is in when it creates a record based on the inbound email action. Keep inbound actions in the global domain. For example, if your inbound email action creates an incident, the system creates the incident in the same domain as the user in the Caller field. If that user is not in the User [sys_user] table, the incident is in the global domain.

      Related concepts
      • Notification variables
      • Watermarks on notification emails

      Tags:

      Feedback

          Share this page

          Got it! Feel free to add a comment
          To share your product suggestions, visit the Idea Portal.
          Please let us know how to improve this content

          Check any that apply

          To share your product suggestions, visit the Idea Portal.
          Confirm

          We were unable to find "Coaching" in Jakarta. Would you like to search instead?

          No Yes
          • Contact Us
          • Careers
          • Terms of Use
          • Privacy Statement
          • Sitemap
          • © ServiceNow. All rights reserved.

          Subscribe Subscribed Unsubscribe Last updated: Tags: January February March April May June July August September October November December No Results Found Versions Search preferences successfully updated My release version successfully updated My release version successfully deleted An error has occurred. Please try again later. You have been unsubscribed from all topics. You are now subscribed to and will receive notifications if any changes are made to this page. You have been unsubscribed from this content Thank you for your feedback. Form temporarily unavailable. Please try again or contact  docfeedback@servicenow.com  to submit your comments. The topic you requested does not exist in the release. You were redirected to a related topic instead. The available release versions for this topic are listed There is no specific version for this documentation. Explore products Click to go to the page. Release notes and upgrades Click to open the dropdown menu. Delete Remove No selected version Reset This field is required You are already subscribed to this topic Attach screenshot The file you uploaded exceeds the allowed file size of 20MB. Please try again with a smaller file. Please complete the reCAPTCHA step to attach a screenshot
          Log in to personalize your search results and subscribe to topics
          No, thanks Login