Email Templates Import
Email Templates can be imported into R-Service using UTF-8 or UTF-16LE encoded comma-separated values (CSV) or tab-separated values (TSV) files.
Detailed information about the data that can be specified in the columns of an Email Templates import file can be found in the Fields section.
CSV Example
Trigger,Disabled,Subject,Body,Email Design,Created At,Updated At
watchlist/item_updated,0,{{watchlist_item_record_type}} {{watchlist_item_title}},"Dear {{recipient_name}},
The following has been updated by {{updated_by_name}}:
{{watchlist_item_record_type}} {{watchlist_item_title}}
{{note_text}}
{{watchlist_item_link}}
You received this notification because you are watching {{watchlist_title}}.
[Click here]({{remove_from_watchlist_link}}) to remove it from your watchlist.",Default,2018-12-07T14:34:45-06:00,2018-12-07T14:34:45-06:00
mass_update/finished,0,Mass update of {{count}} {{records}} finished,"Dear {{recipient_name}},
The mass update of {{count}} {{records}} has been finished.
{{error_message}}
Summary: {{summary}}
Log file: {{log_file_link}}",Default,2018-12-07T14:34:45-06:00,2018-12-07T14:34:45-06:00
Fields
- trigger
- Required string —
The trigger to generate the email notification. Valid values are:
user/new_user
: New Useruser/password_changed
: Password Changeduser/primary_email_changed
: Primary Email Changeduser/get_access
: Get Accessuser/email_unknown
: Email Unknownuser/email_rejected
: Email Rejecteduser/email_verification
: Email Verificationuser/email_verified
: Email Verifieduser/tfa_enable
: Enable Two-Factor Authenticationuser/tfa_enabled
: Enabled Two-Factor Authenticationuser/tfa_disabled
: Disabled Two-Factor Authenticationuser/tfa_recovery_code_used
: Two-Factor Authentication Recovery Code Usedrequest/new_request_requested_by
: New Requestrequest/new_request_requested_for
: New Request for Someone Elserequest/waiting_for_customer
: Request Set to Waiting for Customerrequest/desired_completion
: Desired Completion Set for Requestrequest/completed
: Request Set to Completedrequest/team_assignment
: Request Assigned to Teamrequest/member_assignment
: Request Assigned to Memberrequest/member_reassignment
: Request Assignment Changedrequest/new_note
: Note Added to Requestrequest/requester_dissatisfied
: Requester Dissatisfiedproblem/manager_changed
: Problem Manager Changedproblem/team_assignment
: Problem Assigned to Teamproblem/member_assignment
: Problem Assigned to Memberproblem/member_reassignment
: Problem Assignment Changedproblem/solved
: Problem Set to Solvedproblem/new_note
: Note Added to Problemrelease/workflow_added
: Workflow Added to Releaserelease/workflow_removed
: Workflow Removed from Releaserelease/progress_halted
: Release Set to Progress Haltedrelease/manager_changed
: Release Manager Changedrelease/new_note
: Note Added to Releaseworkflow/new_workflow
: New Workflowworkflow/progress_halted
: Workflow Set to Progress Haltedworkflow/manager_changed
: Workflow Manager Changedworkflow/new_note
: Note Added to Workflowtask/team_assignment
: Task Assigned to Teamtask/member_assignment
: Task Assigned to Membertask/approver_assignment
: Task Assigned to Approvertask/member_reassignment
: Task Assignment Changedtask/new_note
: Note Added to Taskproject/new_project
: New Projectproject/progress_halted
: Project Set to Progress Haltedproject/manager_changed
: Project Manager Changedproject/new_note
: Note Added to Projectproject_task/assignment
: Project Task Assignmentproject_task/approver_assignment
: Project Task Approver Assignmentproject_task/reassignment
: Project Task Assignment Changedproject_task/new_note
: Note Added to Project Taskproject_task/milestone_reached
: Milestone Reachedproject_task/milestone_missed
: Milestone Missedsla/activated
: SLA Set to Activesla/expired
: SLA Set to Expiredflsa/activated
: First Line Support Agreement Set to Activeflsa/expired
: First Line Support Agreement Set to Expiredcontract/activated
: Contract Set to Activecontract/expired
: Contract Set to Expiredagreement/upcoming_notice
: Upcoming Notice Date for Agreementagreement/upcoming_expiry
: Upcoming Expiry Date for Agreementtimesheet/past_week_incomplete
: Past Week Incompletewatchlist/item_updated
: Watchlist Item Updatedmass_update/finished
: Mass Update Finished
- disabled
- Optional boolean, default:
false
— The Disabled box is checked when the email notifications that are based on the email template may not be generated. - email_design
- Required reference to Email Design — The Email design field is used to select the email design that is to be applied to any email notifications that are generated based on the email template. In Edit mode, this field is available only when two or more email designs are available.
- subject
- Required string (max 255) — The Subject field is used to specify the subject of email notifications that are generated based on the email template. Depending on the type of record for which the email is generated, different fields of this record (or related data) can be included in the Subject field.
- body
- Required text — The Body field is used to specify the text that needs to be presented in the body of email notifications that are generated based on the email template. Depending on the type of record for which the email is generated, different fields of this record (or related data) can be included in the Body field.
- created_at
- Readonly datetime — The date and time at which the email template was created.
- updated_at
- Readonly datetime — The date and time of the last update of the email template. If the email template has no updates it contains the
created_at
value.