create-veeva-rte
v0.3.0
Published
CLI tool to quickly setup Veeva RTEs boilerplate files (email template and fragments) in your current directory.
Downloads
24
Readme
Create Veeva Rep-triggered Email (RTE)
CLI tool to quickly setup Veeva RTEs boilerplate files (email template and fragments) in your current directory.
Quick Start
NPX
Using npx, run the following command below to create an RTE project in current directory:
npx create-veeva-rte
Global
Or install this package globally using:
npm install create-veeva-rte -g
Then run the following command in your terminal to verify:
create-veeva-rte
Commands
Project
Creates a new directory containing multiple email templates and fragments.
Example for creating 1 new email template containing 2 email fragments.
npx create-veeva-rte project
RTE project directory name: example-rte-directory-name
Number of email templates: 1
Email template 1 name: template 1
Number of email fragments: 2
Email fragment 1 name: fragment 1
Email fragment 2 name: fragment 2
The example above would create the following directory structure in your current working directory.
.
`-- example-rte-directory-name/
|-- email fragments/
| |-- fragment 1/
| | `-- index.html
| `-- fragment 2/
| `-- index.html
`-- email templates/
`-- template 1/
`-- index.html
Email Template
TODO - WIP
Email Fragment
TODO - WIP
Additional Resources
- Creating Approved Email Templates
- Creating Approved Email Fragments
- Approved Email Configuration Tokens
Author
Jayvin Duong