Inbound email action examples
-
- UpdatedAug 1, 2024
- 3 minutes to read
- Xanadu
- Notifications
Various examples of inbound email actions are available to help you build your own inbound email actions. These examples show how to set up inbound email actions to handle email replies, create (log) a problem record, request a change, and update an incident.
Inbound email action example: handling email replies
This example shows you how to set up inbound email actions to handle replies that users send back to the instance.
Before you begin
About this task
The inbound email action parses the email and responds using a script. By default, an email received by the instance creates a new incident, and the body of the email is added to the Additional Comments text box. More refined Inbound Email Actions can create incident tickets with more data, thus saving the incident management team valuable time.
Normally, when a user responds to an email sent by the instance, the inbound email action matches the watermark to an existing incident, and updates the incident rather than creating a new record. However, if the watermark is missing, this inbound email action attempts to match a reply to the original incident.
This inbound email action is replicated in Workflow Studio as the sample flow Inbound Email Flow Example: handling email replies. To view the sample flow, navigate to .
Procedure
Inbound email action example: logging a problem
This example shows you how to set up inbound email actions to a create a problem record.
Before you begin
About this task
Inbound email actions allow users to log or update incidents on an instance via email. The inbound email action parses the email and responds using a script.
This inbound email action is replicated in Workflow Studio as the sample flow Inbound Email Flow Example: logging a problem. To view the sample flow, navigate to .
Procedure
Inbound email action example: requesting a change
This example shows you how to set up inbound email actions to create a change request record.
Before you begin
Role required: admin
About this task
Inbound Email Actions allow users to log or update incidents on an instance via email. The inbound email action parses the email and responds using a script.
Procedure
Values automatically set from incoming email
The default inbound action for the Incident table automatically sets the following field values when it receives an incoming email.
Field value set | Value used from incoming email |
---|---|
current.caller_id |
User ID of the first user whose email address matches the
email.from variable. |
current.opened_by |
User ID of the first user whose email address matches the
email.from variable. |